25024 Commits

Author SHA1 Message Date
Nyall Dawson
5d10f3c4c4 [composer] Don't rasterise svg arrow heads 2014-10-19 18:37:46 +11:00
Nyall Dawson
d74f4062f0 Fix warning 2014-10-19 18:37:46 +11:00
Nyall Dawson
fadf182e1d [composer] Fix placement of coordinates in map corners (fix #8827) 2014-10-19 18:34:26 +11:00
Chris Crook
422ea56f5b Merge pull request #1630 from ccrook/GraduatedRendererUnitTests2
Graduated renderer unit tests2
2014-10-19 19:37:38 +13:00
Nyall Dawson
7798bd8abb [composer] Fix crash caused by 7773d4e
Don't set the parent object of a composition to a composer view, as
we manage deletion of compositions manually and don't always want
the composition deleted when a view a deleted.
2014-10-19 17:11:36 +11:00
Nyall Dawson
8732cbf097 Fix Qt warning caused by destructor of QgsNetworkContentFetcher 2014-10-19 16:03:35 +11:00
Nyall Dawson
0c4e8e6436 Minor code cleanups for composer attribute table widget 2014-10-19 16:03:34 +11:00
Nyall Dawson
7773d4e0a8 [composer] Ensure that composers are deleted before compositions
Fixes some rare crashes when loading projects.
2014-10-19 16:03:34 +11:00
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
Chris Crook
359a3d8084 Fix render state not restored from QDomElement 2014-10-16 19:54:20 +13:00
Chris Crook
481067f8e2 Further unit tests 2014-10-16 19:54:04 +13:00
Chris Crook
43aaaf6bf8 Adding python unit tests for graduated renderer - part 1 2014-10-16 19:47:55 +13: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