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
Nyall Dawson
d6c7569dda
[FEATURE][composer] Data definable item frame and background colors
2017-01-23 12:45:21 +10:00
Nyall Dawson
ad2324021d
Port symbology and composer to properties framework
2017-01-23 12:45:21 +10:00
Nyall Dawson
43bbf68943
Port labeling to properties framework
2017-01-23 12:45:21 +10:00
Nyall Dawson
1e0c62bc3a
Nicer initialization of diagram property map
2017-01-23 12:45:21 +10:00
Nyall Dawson
746034bfac
[labeling] Remove support for upgrading 1.x projects with
...
data defined label settings
Clean up code related to data defined properties map
2017-01-23 12:45:21 +10:00
Nyall Dawson
93db66ed1f
Allow properties/collections to be prepared in advance
2017-01-23 12:45:21 +10:00
Nyall Dawson
ef3f61fc17
Fix sip subclassing for properties
2017-01-23 12:45:21 +10:00
Nyall Dawson
53ba1a1f10
Add a common interface for QgsPropertyCollection/QgsPropertyCollectionStack
2017-01-23 12:45:21 +10:00
Nyall Dawson
eade998a0e
Start on GUI for properties
2017-01-23 12:45:21 +10:00
Nyall Dawson
4018863d37
Remove deprecated diagram field properties
2017-01-23 12:45:21 +10:00
Nyall Dawson
336b603b3a
Add support for more data definable properties to diagrams:
...
- Distance
- Priority
- ZIndex
- IsObstacle
- Show
- AlwaysShow
- Diagram Start Angle
2017-01-23 12:45:21 +10:00
Nyall Dawson
07315bfedd
Add tests for data defined diagram properties
2017-01-23 12:45:21 +10:00
Nyall Dawson
a4ef9ad89c
Allow setting diagram properties collection
2017-01-23 12:45:21 +10:00
Nyall Dawson
83139cc40e
Remove currently unused diagram properties, add data defined
...
x/y position using properties system
2017-01-23 12:45:21 +10:00
Nyall Dawson
c23de083ce
Setting a property to null in collections removes property
2017-01-23 12:45:21 +10:00
Nyall Dawson
5e9f6ac5cc
Support @value in diagram property expressions
2017-01-23 12:45:21 +10:00
Nyall Dawson
43a328687d
Port diagrams to use properties
2017-01-23 12:45:21 +10:00
Nyall Dawson
f1c1589550
Initial implementation of property system
2017-01-23 12:45:21 +10:00
Nyall Dawson
9124100fb6
Python formatting updates
2017-01-23 12:25:19 +10:00
Nyall Dawson
65c2e5ad97
Add autopep8 to Travis environment to check Python formatting
2017-01-23 12:25:19 +10:00
Matthias Kuhn
2ffc041fa9
Disable "merge lines" option with "line direction symbol"
...
This sometimes produces inversed lines and therefore unreliable results.
2017-01-22 15:15:04 +01:00
Nyall Dawson
4a800a13c2
Fix tests
2017-01-22 21:29:23 +10:00
Nyall Dawson
46f2ea13ee
[FEATURE] Add inches as a measurement choice for symbology/labeling
...
"Make imperial great again!"
2017-01-22 21:29:23 +10:00
Nyall Dawson
b7d89a73af
Consolidate all render context unit conversion to single methods
...
within QgsRenderContext
Fix invalid conversions, update unit tests
2017-01-22 21:29:23 +10:00
Nyall Dawson
dd187a3fcb
Fix invalid conversion from points to mm
2017-01-22 17:19:12 +10:00
Harrissou Sant-anna
57aee18c67
Fix tab focus order in dialogs ( #4013 )
2017-01-22 11:31:43 +07:00
Nyall Dawson
66f5d065cc
[FEATURE] Expose points as valid choice for all symbol/label units
2017-01-22 11:19:33 +10:00
Juergen E. Fischer
7fe54055cd
add link to 2.18 api documentation
2017-01-21 17:01:17 +01:00
Juergen E. Fischer
fe450c595d
truncate only last extension in welcome screen
2017-01-21 12:53:33 +01:00
Juergen E. Fischer
05440885f5
api_break fixes
2017-01-21 12:25:28 +01:00
Nathan Woodrow
6d53f83d62
Add keyboard shortcut to actions in the UI
...
Also bolds action tooltip text to make it clearer.
Shortcuts live inside ({shortcut-here}) in the tooltip
2017-01-21 21:22:16 +10:00
rldhont
ad963e69c3
Merge pull request #3996 from jgrocha/literal
...
SLD parsing: handling ogc:Literal within CssParameter
2017-01-21 10:55:34 +01:00
Nathan Woodrow
2bedaf869c
Don't show prompt on empty group
2017-01-21 17:26:53 +10:00
Nathan Woodrow
72551fbe84
[Expressions] Move field values widget
2017-01-21 16:06:31 +10:00
Nyall Dawson
374b75696d
Avoid "Failed to load file "/style.qss"" startup error
2017-01-21 15:28:14 +10:00
Nyall Dawson
56fd6e0904
Revert "Reenable full task manager tests following b45469f"
...
This reverts commit dd614451c9586ea598f93aab56a97a00f409a6cf.
2017-01-21 15:01:02 +10:00
Denis Rouzaud
dc4aa669f1
spelling fix imrovement and symboll
2017-01-20 22:16:10 +01:00