34804 Commits

Author SHA1 Message Date
Nyall Dawson
37e3dd76c4 When taking main widget from QgsPanelWidgetStack, auto accept
all open child panel widgets

Avoids the stack state becoming inconsistent because child
panel widgets from a different main panel are still present

And add unit tests for QgsPanelWidgetStack
2016-10-06 17:36:23 +10:00
Nyall Dawson
fbdc414957 Rename methods in QgsPanelWidgetStack for consistency 2016-10-06 17:36:23 +10:00
Matthias Kuhn
3b0486cc6e Followup 722fdef: fix grass plugin build 2016-10-05 22:15:15 +02:00
Matthias Kuhn
9242d225e5 Remove fields from default value configuration widget 2016-10-05 20:02:51 +02:00
Matthias Kuhn
d0ec367044 Fix crash in QgsEncodingFileDialog 2016-10-05 16:18:29 +02:00
Matthias Kuhn
5179a3a55d [processing] Fix extent selection widget 2016-10-05 15:51:43 +02:00
Matthias Kuhn
722fdefe43 referencedColumns returns QSet<QString> instead of QStringList
The order of the elements is irrelevant and duplicate elements are unwanted. It
is therefore a perfect candidate for a set instead of a list. This prevents
filtering for duplicates manually be replacing some filer codes with (more
performant) builtin methods of QSet.
2016-10-05 14:33:38 +02:00
Matthias Kuhn
3767cd4819 Debloat QgsExpression header
it's used throughout the project and keeping it slick should keep compile time a
little lower.
These methods are also normally used while building the request or preparing, so
inlining them shouldn't make much difference.
2016-10-05 14:33:38 +02:00
Matthias Kuhn
b642c3ff5e Show fields in "default value" expression editor 2016-10-05 13:41:03 +02:00
Sandro Santilli
0348dd5ce7 Force use of estimated metadata upon loading topologies 2016-10-05 12:17:57 +02:00
Nyall Dawson
b95a5e98c8 Fix missing live updates when raster colorize color changes 2016-10-05 14:27:04 +10:00
Nyall Dawson
79fd6fa0ac Fix raster style dock widgets not opened with dock mode flag
Makes the color picker and ramp editors open inline for
the raster properties pages
2016-10-05 14:27:04 +10:00
Nyall Dawson
3e1536f1da Fix crash in raster transparency widget on close
mPixelSelectorTool is owned by canvas, which may be deleted
before the QgsRasterTransparencyWidget on QGIS exit
2016-10-05 14:27:04 +10:00
nirvn
1e0e9c2e95 [pseudocolor renderer] fix invert check box in continous mode
(fixes #15209)
2016-10-05 14:04:52 +10:00
Nyall Dawson
bc32b1fe5a Fix crash when validating geometry (fix #15660)
Also fix python bindings for QgsGeometryValidator
2016-10-05 13:17:55 +10:00
Nyall Dawson
ddbd25d046 Correctly emit panelAccepted when panel is not in dock mode
Fixes #15373 - refine current rule not working when symbol widgets
are not used in the style dock

This fixes a behavioural difference when new panels are opened
in a QgsPanelWidget when in docked/undocked mode. When in
docked mode, the newly opened panel will emit panelAccepted
when it is accepted. But for undocked mode, the parent
panel was emitting the panelAccepted signal and so the
connection to update the renderer was never
triggered. Now both docked/undocked panels will always
emit panelAccepted ONLY from the newly opened panel itself.

This also fixes memory leaks as the clean up code was never
run in undocked mode.

I've updated the docs to clarify this behaviour.
2016-10-05 12:59:59 +10:00
Nyall Dawson
bad137283b Fix last segment length in measure dialog is incorrect after
completing measurement with right mouse click
2016-10-05 10:53:10 +10:00
Nyall Dawson
03bff507d9 Fix measure dialog shows wrong results when changing units
If the measurement was not finished (ie right click occurred)
then the last length would be missing from the table

Fix #15433
2016-10-05 10:53:10 +10:00
Alexander Bruy
cc62c52269 [processing] add icon caching for other providers 2016-10-04 19:53:21 +03:00
Alexander Bruy
d03d2069b9 [processing] correct GRASS 7 detection on Mac (fix #15645)
follow up e1ff6e896a
2016-10-04 17:08:18 +03:00
Nyall Dawson
0b68363789 Merge pull request #3565 from nyalldawson/svg_background
Fix SVG preview blocks QGIS (fix #14255)
2016-10-04 19:22:39 +10:00
Matthias Kuhn
7332dda0d8 Remove visitor pattern from QgsExpression (#3569)
It is not in use anywhere and can easily be reintroduced if there is a use case
where it is an appropriate fit.

Fix https://github.com/qgis/qgis3.0_api/issues/64
2016-10-04 10:46:56 +02:00
Mathieu Pellerin
62c8510089 [qt5] setConfirmOverwrite is gone, use setOption (#3567) 2016-10-04 10:45:10 +02:00
Nyall Dawson
111106c64f Fix cannot modify diagram attribute expression (fix #15514)
Also clean up some code
2016-10-04 16:36:30 +10:00
Nyall Dawson
3abded3186 Keep the user set order for svg paths 2016-10-04 15:45:17 +10:00
Nyall Dawson
b4a70c771e Merge pull request #3559 from nyalldawson/fix_render_flashing
Fix layers with layer wide opacity "flashing" while rendering
2016-10-04 15:40:30 +10:00
Nyall Dawson
a2166bd042 Small optimisations to model/views 2016-10-04 15:34:35 +10:00
Nyall Dawson
a20c3cf68a Guard against circular symbolic links in SVG selector widget 2016-10-04 15:26:56 +10:00
Nyall Dawson
c60c4f7f0c Fix SVG preview blocks QGIS (fix #14255)
Now SVG preview loading occurs in a background thread so that
dialogs can open instantly
2016-10-04 14:55:05 +10:00
Nyall Dawson
377de52b38 Port generate_test_mask_image.py to python3 2016-10-04 09:22:40 +10:00
Nyall Dawson
19f6b62cd8 Fix layers with layer wide opacity "flashing" by rendering
intermediate states without opacity
2016-10-04 09:22:40 +10:00
Alessandro Pasotti
d3f8763bd9 Merge pull request #3564 from elpaso/test-wait-for-network3
Yet another strategy to get a free port from the server
2016-10-03 21:53:45 +02:00
Alessandro Pasotti
9761a86e4f Renamed constants for consistency 2016-10-03 20:47:32 +02:00
Alessandro Pasotti
d950e3b637 Yet another strategy to get a free port from the server 2016-10-03 19:43:25 +02:00
Alessandro Pasotti
368c1cead3 Merge pull request #3563 from elpaso/test-wait-for-network2
Wait for server ready (and times out) before starting the tests
2016-10-03 16:42:07 +02:00
Matthias Kuhn
4fd5c014f2 Synchronize edit button state with read only mode (#3562) 2016-10-03 15:00:23 +02:00
Alessandro Pasotti
28f547ea81 Wait for server ready (and times out) before starting the tests 2016-10-03 14:19:49 +02:00
Hugo Mercier
8c90f7d6ea Merge pull request #3511 from nyalldawson/depend_redraw
If a dependent layer is redrawn, then also redraw child layer
2016-10-03 11:55:07 +02:00
Matthias Kuhn
8e54acf7b7 [travis] fixme 2016-10-03 11:38:34 +02:00
Hugo Mercier
645094cc1f Merge pull request #3558 from nirvn/layers_relation_icon
[gui] improve the layer dependencies icon
2016-10-03 11:29:24 +02:00
Nyall Dawson
456069207e Merge pull request #3554 from nyalldawson/parse_dash
New script to handle multiple render results from a dash results page
2016-10-03 19:13:40 +10:00
Matthias Kuhn
ce37f9c654 Disable flaky PyQgsServerWFST test 2016-10-03 10:45:55 +02:00
Nyall Dawson
8e14cf06d3 Fix leak in edit form config (#3556) 2016-10-03 08:15:23 +02:00
Nyall Dawson
5b3f10a531 Fix identify menu highlight only works with simple geometry types
Fix #15625
2016-10-03 15:15:12 +10:00
Nyall Dawson
7d27b43e79 Fix data defined buttons sometimes incorrectly show error state 2016-10-03 14:37:26 +10:00
Nyall Dawson
d36fb619b5 [labeling] Fix data defined placement with rotated maps
For layers requiring reprojection and with rotated maps any
labels with data defined x/y would not be rendered

Fix #14236
2016-10-03 14:21:34 +10:00
nirvn
1f78393404 [gui] improve the layer dependencies icon 2016-10-03 10:29:41 +07:00
Nyall Dawson
291f7bdaa3 Fix rule based renderer shows 0 count on first click of "show counts" 2016-10-03 13:00:37 +10:00
Nyall Dawson
0a9491a20f Fix oracle build 2016-10-03 12:44:41 +10:00
Nyall Dawson
82eeeac57f Fix invalid debugging noise 2016-10-03 12:15:15 +10:00