36639 Commits

Author SHA1 Message Date
Juergen E. Fischer
f389069b4e update i18n scripts 2017-01-25 01:32:39 +01:00
Juergen E. Fischer
7642ce9d77 debian packaging: include server modules 2017-01-25 01:32:39 +01:00
Juergen E. Fischer
099e7a77f2 [processing] find grass >=7.0 2017-01-25 01:32:39 +01:00
Juergen E. Fischer
d8ed8f4355 fix processing MessageBarProgress initialization 2017-01-25 01:32:39 +01:00
Nyall Dawson
be7d17eb95 Considerably lighten the burden on the overworked translation team 2017-01-25 10:00:06 +10:00
Nyall Dawson
deef5c95f2 Rename a ui file which I can never find 2017-01-25 09:59:34 +10:00
Nyall Dawson
2a9ddb78c0 Fix bad labeling strings 2017-01-25 09:42:01 +10:00
Denis Rouzaud
b3e8d82190 remove QT_VERSION test in custom widgets 2017-01-24 11:41:21 +01:00
Denis Rouzaud
f7dbc054db more python 2 removal 2017-01-24 08:30:36 +01:00
Nyall Dawson
ef3b665dd1 Remove some leftover Python 2 code 2017-01-24 08:30:36 +01:00
Nyall Dawson
5e17403f1a Merge pull request #4043 from nyalldawson/layer_composer_bridge
Bridge map canvas layers to composer map layers
2017-01-24 14:57:38 +10:00
Nyall Dawson
a188d14f48 Remove map settings parameter from QgsComposition
Breaks the hard link between canvas and compositions!

Fix #11077
2017-01-24 14:32:08 +10:00
Nyall Dawson
5e1339e863 Merge pull request #4038 from nyalldawson/shift_zoom
[FEATURE] Holding shift while using map zoom tools inverts the zoom
2017-01-24 14:00:03 +10:00
Nyall Dawson
b41f3a7860 [composer] Don't use canvas map settings to determine canvas layers
Instead make the layer tree canvas bridge advise on layer set
changes, and tie this into composer. So now composer acts
as a go-between to sync the composer map item's layer set to
the layer tree/canvas layers.

It's not an ideal solution, but avoids the hard link between
compositions and the map canvas.
2017-01-24 12:24:33 +10:00
Nyall Dawson
98169386d1 Add missing docs 2017-01-24 12:17:08 +10:00
Nyall Dawson
00b02715ea Remove calls to method added in Qt 5.6 2017-01-24 11:31:00 +10:00
Juergen E. Fischer
6a56cb0dd0 updates and fixes for windows qt5/py3 build 2017-01-24 01:25:59 +01:00
Nyall Dawson
ea116fd893 Merge pull request #2857 from nyalldawson/properties2
Properties framework
2017-01-24 05:01:31 +10:00
Alexander Bruy
57535763d7 use new QgsHelp where possible instead of builtin context help 2017-01-23 10:54:45 +02:00
Nyall Dawson
6c55e68845 [composer] Fix page border is too wide under qt5 2017-01-23 18:19:10 +10:00
Nyall Dawson
71abd4cf8f [composer] Holding shift while drawing polyline/polygon constrains
line angles
2017-01-23 18:19:10 +10:00
Nyall Dawson
ea2ff06c79 [needs-docs] Use alt modifier to reverse zoom behaviour
Previously shift-modifier was used to change zoom in to out, and
zoom out to in. This commit changes it to the more common alt
modifier.
2017-01-23 17:09:23 +10:00
Nyall Dawson
7a0fa23490 [FEATURE] Holding shift while using map zoom tools inverts the zoom
Eg hold shift and click with zoom in tool = zoom out
2017-01-23 15:37:34 +10:00
Nyall Dawson
012515c3e6 [labeling] When changing font families, reset to correct regular/book
style if current style is not available

Previously the font would be reset to the first style alphabetically,
usually 'Bold'. Now it correctly resets to the standard font style.
2017-01-23 15:26:48 +10:00
Nyall Dawson
c1658fb41b Flip some connects to new style 2017-01-23 14:37:37 +10:00
Nyall Dawson
a0166d94c7 [needs-docs] Remove duplicate Add Layer option from browser context menu
Instead of two actions: Add Layer & Add Selected Layers, just have
a single Add Selected Layers action which works on either multiple
selections or single selections
2017-01-23 14:33:15 +10:00
Nyall Dawson
69d10fae0f Update API break dox 2017-01-23 12:45:22 +10:00
Nyall Dawson
39b89d1bac SIP sync 2017-01-23 12:45:22 +10:00
Nyall Dawson
e06192ec3f Use consistent names for data defined property collections 2017-01-23 12:45:22 +10:00
Nyall Dawson
fa26b45736 Crazy fix to avoid shared data getting corrupted in sip bindings
Without this (should be unnecessary) virtual destructor the
shared data member for QgsProperty gets filled with garbage if
a QgsProperty is created from python code.

I can't explain it...!
2017-01-23 12:45:22 +10:00
Nyall Dawson
c3617dec22 Spelling fixes 2017-01-23 12:45:22 +10:00
Nyall Dawson
2966a16530 Cleanups, fix tests 2017-01-23 12:45:22 +10:00
Nyall Dawson
9522f318ca Remove caching from QgsPropertyCollectionStack (too fragile) 2017-01-23 12:45:22 +10:00
Nyall Dawson
f0f01709bc Fix failing test 2017-01-23 12:45:22 +10:00
Nyall Dawson
2c241755f8 Fix layer expression scope sometimes not appended to render
context expression scopes
2017-01-23 12:45:22 +10:00
Nyall Dawson
17d4d3a8a4 Fix some failing tests 2017-01-23 12:45:22 +10:00
Nyall Dawson
f1b2940623 Fix tests 2017-01-23 12:45:22 +10:00
Nyall Dawson
b833c247dc Add missing sip bindings 2017-01-23 12:45:22 +10:00
Nyall Dawson
963ce09d51 Identation update 2017-01-23 12:45:22 +10:00
Nyall Dawson
b586330b50 Add missing docs 2017-01-23 12:45:22 +10:00
Nyall Dawson
0d9b223856 Fix unused variable warning 2017-01-23 12:45:22 +10:00
Nyall Dawson
f3ac8bc2eb Rename method which causes spell check issues 2017-01-23 12:45:22 +10:00
Nyall Dawson
5f04a2af2c Fix doxygen warnings 2017-01-23 12:45:22 +10:00
Nyall Dawson
d5664ed635 Clean up GUI for properties 2017-01-23 12:45:21 +10:00
Nyall Dawson
ffaa40edc4 Refactor properties
Remove QgsAbstractProperty and subclasses, and instead use a single
QgsProperty class which covers the use of QgsAbstractProperty
and its subclasses. This simplifies the API and avoids pointer
handling. QgsProperty is implicitly shared for memory efficiency
and inexpensive copies.
2017-01-23 12:45:21 +10:00
Nyall Dawson
90e80c1353 Stronger definitions of properties in collections
Instead of defining the suitable field types and values for
properties when registering them to a data defined button,
now properties are fully defined when the valid
property keys are defined.
2017-01-23 12:45:21 +10:00
Nyall Dawson
6c53ba25e3 [FEATURE][composer] Data defined scalebar colors and line width 2017-01-23 12:45:21 +10:00
Nyall Dawson
ec9ba9c2a2 [FEATURE][composer] Data defined legend titles and column count
(fix #11913)
2017-01-23 12:45:21 +10:00
Nyall Dawson
a67c84b9a9 Avoid slowdown when changing composer data defined properties 2017-01-23 12:45:21 +10:00
Nyall Dawson
934c7c9173 [FEATURE][composer] Data defined svg colors and outline width for
composer picture items

Especially useful when the picture is showing a north arrow!
2017-01-23 12:45:21 +10:00