45408 Commits

Author SHA1 Message Date
Nyall Dawson
5a80ec5c79 Fix user input widget sometimes hidden below canvas 2018-01-22 06:57:32 -09:00
Nyall Dawson
cc18918ba2 Fix incorrect cursor used for rotate map tool 2018-01-22 06:57:32 -09:00
Denis Rouzaud
a0d0648da5 fix Chained filters crash QGIS when switching between ui tabs
fix #17736
2018-01-22 06:54:51 -09:00
Denis Rouzaud
123470b26f use QgsMapLayer::isSpatial() 2018-01-22 05:27:17 -09:00
Denis Rouzaud
86024efcb2 do not list non spatial in custom layer order widget
fix #17887
2018-01-22 05:27:17 -09:00
Alexander Bruy
c6870777e7 fix sending plugin votes 2018-01-22 16:20:54 +02:00
David
efe378d646 fixed indentation in python
fixed indentation in python unittest
2018-01-22 04:59:23 -09:00
David
2dba9fc807 take list instead of map for test
in unittest it needs to take a list instaed of the map as a test of valuemap
2018-01-22 04:59:23 -09:00
David
481b624737 store valuemap as QList instead of QMap
because with QMap it loses the order. the two values (key and value) are in an one dimensional QMap stored.
this because QPair is not a QVariant. we desided not to stor it as DataStream, because then less powerfull platforms couldn't use it from the configuration.
2018-01-22 04:59:23 -09:00
David
bbac229c0e store valuemap as QList
instead of QMap because with QMap it loses the order
actually it's currently stored in config['map'] as QDataStream
2018-01-22 04:59:23 -09:00
Denis Rouzaud
9c5797ec38 sip fix include directory 2018-01-22 08:15:32 -04:00
Nyall Dawson
936c30bec6 Fix layout items with non-top left reference move when exporting
Fixes #17910
2018-01-22 18:18:40 +11:00
Nyall Dawson
16ebb263b3 Fix crash when executing background threadable processing algorithms on Windows
Yet again processEvents() comes around to bite us in the butt.
2018-01-22 16:19:17 +11:00
Nyall Dawson
5fcd2dc4d8 [layouts] Fix designer windows is always-on-top on Windows 10
Fixes #17801
2018-01-22 10:20:44 +11:00
Daan Goedkoop
fcbf4cb1f1 Set missing expression context in some filters
In some filters the expression context was not set, so that references to
variables would only work in the preview, but not when actually using them.
2018-01-22 10:02:02 +11:00
Nyall Dawson
9451f2e412 Fix behavior of import/export predefined scales in options
Fixes #17796
2018-01-21 14:09:10 +10:00
Harrissou Sant-anna
7494fae9f5 Add book title capitalization to panels 2018-01-21 09:33:17 +10:00
Harrissou Sant-anna
776fa23a66 Add more book title capitalization 2018-01-21 09:33:17 +10:00
Harrissou Sant-anna
39c6aac426 Add title case to some dialog title 2018-01-21 09:33:17 +10:00
Borys Jurgiel
0114927149 [Plugin manager] SVG voting stars 2018-01-20 12:03:35 +01:00
nirvn
2d6a828db6 [map themes] avoid projection version debug msg spam by default 2018-01-20 17:42:39 +07:00
nirvn
02b24a68f0 [map themes] avoid writing empty style to layer 2018-01-20 17:42:39 +07:00
Nyall Dawson
96d1ea57a8 unique ptr improvements 2018-01-20 13:24:17 +10:00
Nyall Dawson
884ccc8695 Fix documentation 2018-01-20 13:24:17 +10:00
Nyall Dawson
5ee4b565fd Use snap indicator for measure angle tool
Fixes #14954
2018-01-20 13:24:17 +10:00
Nyall Dawson
5d264d94c6 Show a snap indicator for measure tool 2018-01-20 13:24:17 +10:00
Nyall Dawson
045a17f798 Escape cancels move tool 2018-01-20 13:24:17 +10:00
Nyall Dawson
fb0529bb56 Enable snapping for select by radius tool 2018-01-20 13:24:17 +10:00
Nyall Dawson
2b61591e37 Documentation++ 2018-01-20 13:24:17 +10:00
Nyall Dawson
bfd0f21e2e Select by radius spin box needs more decimals to work for geographic CRS 2018-01-20 13:24:17 +10:00
Nyall Dawson
ed8f24ace2 Make select by radius rubber band smoother 2018-01-20 13:24:17 +10:00
Denis Rouzaud
280af20c8d use a dedicated button to show the table 2018-01-19 21:25:12 -04:00
Denis Rouzaud
b6ffac3f2d use widgetAction rather than floating widget 2018-01-19 21:25:12 -04:00
Denis Rouzaud
6885da4043 [snapping widget] add advanced config widget in toolbar fix #16596 2018-01-19 21:25:12 -04:00
Denis Rouzaud
42ca70b948 initilize in header 2018-01-19 20:20:28 -04:00
Denis Rouzaud
510a228e80 switch freehand selection map tool to click-click
to be coherent with other map tools
add-ons: possible map move/zoom while selecting, and operation canceling (right-click or ESC)
2018-01-19 20:20:28 -04:00
Nyall Dawson
fe13c0e81b Fix crash when deleting layout items
Fixes #17876, #17770
2018-01-20 06:11:11 +10:00
Nyall Dawson
05161362d3 Keep label settings when changing between rulebased/simple labeling
Fixes #17734
2018-01-20 06:10:51 +10:00
Nyall Dawson
aa0d377164 Add separate bool for controlling whether vector layer labels
are enabled

Instead of clearing the labeling configuration in order to
disable labels, we need a way to disable them without
losing the configuration. Labels are oftern temporarily
switched on/off as an analysis tool, and we don't want the
settings to be lost as a result

Refs #17656
2018-01-20 06:10:51 +10:00
Denis Rouzaud
232d721304 move libdxfrw to external lib directory 2018-01-19 11:56:26 -04:00
Martin Dobias
3abf27f5ac [cad] Fix precision issues with angle constraint (fixes #17685) 2018-01-19 16:14:06 +01:00
Nyall Dawson
dd739ac035 [needs-docs] Allow adding and remove nodes from node tool selection
Holding shift while clicking and dragging adds nodes to selection,
holding ctrl removes nodes from selection.

Additionally, this commit:
- fixes the current 'select node but don't start moving' shortcut,
but changes it from ctrl-click on a node to shift-click on a node
(since it's 'adding' to the selection)
- makes ctrl-click on a single node remove just that node from
the selection

Fixes #17259
2018-01-19 21:10:51 +10:00
Alexander Bruy
67ae36c430
Merge pull request #6097 from alexbruy/rule-editor-ui
make rule editor dialog resizeable (fix #17709)
2018-01-19 08:33:21 +02:00
Nyall Dawson
c6608c086c Fix memory leak 2018-01-19 11:35:41 +10:00
Denis Rouzaud
d424222493 fix prepare-commit for sipify 2018-01-18 20:24:29 -04:00
Mathieu Pellerin
5dc91b4b1f
[ui] prevent infinite canvas redraw due to (#6098)
progress bar changing status bar height when
shown/hidden.

Yes, it's as bad as it sounds.
2018-01-19 06:27:23 +07:00
Nyall Dawson
bc1bfd3406 Fully refresh map items when clicking 'update preview' button 2018-01-19 09:25:30 +10:00
Nyall Dawson
0e08e329f4 [layout] Cache map item theme preset lookups
Since theme style override lookups are expensive, cache them
to avoid unnecessary duplicate calls

Fixes #17027
2018-01-19 09:25:30 +10:00
Nyall Dawson
f5876eab98 [layouts] Don't needlessly calculate layer sets for maps linked
to a map theme

This is very expensive to do, so avoid calculating it as much
as possible

Refs #17027
2018-01-19 09:25:30 +10:00
Denis Rouzaud
a09cb6f364 fix typo and missing disconnect 2018-01-18 10:09:52 -04:00