25013 Commits

Author SHA1 Message Date
Nyall Dawson
64f0fdf371 Expand composer item group test suite 2014-10-19 14:45:19 +11:00
Nyall Dawson
0f4bd4e0fc [composer] Move ungrouping logic from composer view to composition
As per previous commit, this is useful for plugin authors. It also
fixes a potential bad crash (itemRemoved emitted for group item after
the group item was already deleted) and adds unit tests.
2014-10-19 14:45:19 +11:00
Nyall Dawson
993f0dcd3d [composer] Move code for creating groups to QgsComposition
Previously this code was located in QgsComposerView. Moving it to
QgsComposition simplifies grouping items for plugins. Also start
a new unit test for QgsComposerItemGroup.
2014-10-19 14:45:19 +11:00
Nyall Dawson
71fbe9c9ce [composer] Fixes to composer item sip bindings
- Added some missing /TransferThis/ arguments
- Ensure that correct item type is returned for all item types
2014-10-19 14:45:18 +11:00
Nyall Dawson
c1b63dfcf2 Add missing #infndef to qgscomposeritemgroup.h 2014-10-19 14:45:18 +11:00
Nyall Dawson
dbf70c603a [composer] Fix a memory leak when destroying compositions 2014-10-19 14:45:18 +11:00
Nyall Dawson
9d0b83ab90 [composer] Allow removing svg markers for arrows (fix #11220)
Previous behaviour was that if the start or end marker was cleared
than the old marker was drawn. This made it impossible to remove
an svg marker from the start or end of the line after one had been
assigned.

Also fix a Qt warning caused by trying to draw markers if the marker
size is set to 0.
2014-10-19 12:31:02 +11:00
Nyall Dawson
6c0155a90e [composer] Don't evaluate expression for label display name 2014-10-19 11:31:10 +11:00
Nyall Dawson
0cb985465b [composer] Fix area calculation in expressions with OTF (fix #9791)
Adds an argument to QgsExpression::replaceExpressionText to allow
passing an optional QgsDistanceArea to use during calculations.
Ensure that html and label composer items correctly specify this
argument.
2014-10-19 11:04:57 +11:00
volaya
fad44d0330 [processing] fixed autofill in batch processing interface
Fixes #11435
2014-10-19 00:19:07 +02:00
Nyall Dawson
f4489c27c8 Fix some compiler/doxygen warnings 2014-10-19 08:35:58 +11:00
Paolo Cavallini
2fe69e6eb2 Merge pull request #1635 from gioman/saga_slope
Fixes SAGA slope,aspect,curvature for SAGA 2.1.x
2014-10-18 23:34:22 +02:00
Giovanni Manghi
28f3f4624c fixed SAGA Slope,Aspect,Curvature module for SAGA 2.1.x 2014-10-18 22:31:41 +01:00
Giovanni Manghi
0dca55e564 fixed SAGA Slope,Aspect,Curvature module for SAGA 2.1.x 2014-10-18 22:30:54 +01:00
Paolo
d77e0f0b1f Typo fixed in r.series 2014-10-18 22:28:52 +02:00
borys
7a9d781458 [TRANSUP] [pl] Typo fix 2014-10-18 21:03:06 +02:00
volaya
eb998de282 [processing] removed border in table in batch processing dialog 2014-10-18 18:05:01 +02:00
volaya
5e9dc03c7a [processing] better handling of wrong models 2014-10-18 16:37:05 +02:00
volaya
de91734fc8 [processing] fixed issue when running models in a batch process
Fixes #11438
2014-10-18 16:37:04 +02:00
Alexander Bruy
b1e7ede36b [processing] more robust layer sorting in multiple selection widget (fixes #11429) 2014-10-18 11:19:53 +03:00
Werner Macho
99cec14c5b [TRANSUP] transifex update
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2014-10-17 18:04:14 +02:00
Paolo Cavallini
ab5229c890 Merge pull request #1633 from gioman/saga_split_shapes_new_option
add new parameter to SAGA split shapes tool, fixes #11427
2014-10-17 17:46:17 +02:00
Giovanni Manghi
c575fa51df add new parameter to SAGA split shapes tool 2014-10-17 16:42:23 +01:00
Juergen E. Fischer
bb95a0f43a use layer title instead of name in server getlegendgraphic response (fixes #11406) 2014-10-16 23:11:56 +02:00
Juergen E. Fischer
4bf04e1ce1 combine layer type and edit icon when editing (fixes #11411) 2014-10-16 22:34:47 +02:00
Juergen E. Fischer
086b262e41 avoid creating a histogram without range (fixes #11217) 2014-10-16 12:41:09 +02:00
Juergen E. Fischer
d05b039541 restore active window after requesting credentials (fixes #11355) 2014-10-16 12:19:05 +02:00
Juergen E. Fischer
dfafa5dd47 fix geography detection (fixes #11375) 2014-10-16 01:58:03 +02:00
Juergen E. Fischer
962a7d9f78 avoid creating a histogram without range (fixes #10832) 2014-10-16 00:39:51 +02:00
Juergen E. Fischer
c90d810ce3 allow setting visiblity of selected layers (fixes #10835) 2014-10-15 18:49:35 +02:00
Juergen E. Fischer
d1e23a608a fix where clase when multiple features are filtered by id (fixes #11336, fixes #11408) 2014-10-15 16:57:56 +02:00
Juergen E. Fischer
8429a65a6a fix deprecation warnings 2014-10-15 16:57:55 +02:00
Matthias Kuhn
3d9ba705de [editwidgets] text color for r/o line edits matches disabled color
Line edits are set to readonly to make it possible to copy values from disabled
forms. Unfortunately Qt uses a style that makes them look editable even though
they are not. This patches the text color to have the appearance that hints an
uneditable widget.

Fix #11413
2014-10-15 16:23:20 +02:00
Denis Rouzaud
cd59091b9c use layer's displayExpression in relation reference widget line edit 2014-10-15 14:33:46 +02:00
Denis Rouzaud
69fc9bbb87 use default button action instead of adding a new one (relation reference and editor widgets) 2014-10-15 14:21:42 +02:00
Nyall Dawson
4ea5c80948 [composer] Avoid crash when using redo on multiframe (fix #11351)
Since multiframe changes can remove and create new frame items,
it's not safe to directly manipulate frame items in
QgsComposerItemCommand. Now, commands which apply to a frame always
fetch a reference to the correct frame item directly from the
parent multiframe. Also added unit tests for this crash.
2014-10-15 20:17:10 +11:00
Sandro Santilli
1ff2ad3cc3 [TopoViewer] fix layer visibility after QgsLegendInterface API changes
It was broken with 2.4, whereas QgsLegendInterface::moveLayer started
forcing layer visibility on (undocumented behaviour).

Fixes #11382
2014-10-14 23:43:40 +02:00
Werner Macho
cc3579e2a2 [TRANSUP] transifex update
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2014-10-14 14:25:24 +02:00
Juergen E. Fischer
2cef8d50f2 remove get from QgsProviderRegistry::getProviderCapabilities() (followup 2e943c93) 2014-10-14 13:30:33 +02:00
Jürgen Fischer
e0df5d4dd9 Merge pull request #1621 from manisandro/bad_layer_improvements
Bad layer dialog improvements
2014-10-14 13:25:22 +02:00
Werner Macho
89b0d7ae92 Merge pull request #1484 from serialc/master
CSV acronym added for consistency with other file type names
2014-10-14 13:08:19 +02:00
Nyall Dawson
1cb22c084d [composer] Seperate draw empty rows option from empty table behaviour
Now "draw empty rows" is a seperate checkbox (fix #11392)
2014-10-14 21:25:12 +11:00
Matthias Kuhn
5ec1b75f9a Edit widget properties dialog: Improve window title
Includes the field name and layer name in the window title.
2014-10-14 12:06:32 +02:00
Nyall Dawson
f284f6e115 [composer] Fix incorrect calculation of frame thickness for labels
Previously entire frame width was considered when calculating
the margin for the label item. Only half the frame width should be
used, since half is drawn outside the item rect.
2014-10-14 20:07:35 +11:00
Juergen E. Fischer
b94b44af8f use qIsNaN instead of isnan (fixes windows build) 2014-10-14 10:19:46 +02:00
Matthias Kuhn
65ac4fe109 Field calculator: Move virtual field to the top.
Followup 0c4a501
2014-10-14 09:52:56 +02:00
Matthias Kuhn
0c4a501551 Address some GUI issues on the field calculator
* Info labels for edit mode turn on was not shown
 * Ok button was active when opening the field calculator even with no input (Fix #11403)
2014-10-14 09:08:36 +02:00
Nyall Dawson
9f063df86c [composer] Fix possible crash in scale bar update (refs #11394) 2014-10-13 22:53:57 +11:00
Nyall Dawson
08d80160ea Fix calculation of random colors following 4d72d72 2014-10-13 22:50:53 +11:00
Nathan Woodrow
083ebfe326 Merge pull request #1627 from slarosa/categorized_style_crash
Fix crash when choosing a null field for categorized style
2014-10-13 21:15:31 +10:00