36587 Commits

Author SHA1 Message Date
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
Denis Rouzaud
4175c1e9d2 run spell check on edited files only 2017-01-20 17:54:01 +01:00
Matthias Kuhn
5c5bcf7f85 Remove FileName and Photo widget in favor of Attachment 2017-01-20 16:35:11 +01:00
Matthias Kuhn
fee2e896e7 [needs-docs] Rename "External Resource" widget to "Attachment" 2017-01-20 16:35:11 +01:00
Matthias Kuhn
abac18cc7b Migrate Photo and FileName widgets to ExternalResource 2017-01-20 16:35:11 +01:00
Denis Rouzaud
4c642ac664 fix typo 2017-01-20 15:17:58 +01:00
Denis Rouzaud
7681e4e67a replace digitising by digitizing 2017-01-20 15:06:10 +01:00
Denis Rouzaud
4c3968b9aa more spelling fixes 2017-01-20 15:06:09 +01:00
Denis Rouzaud
e69263ba2c [spellcheck] improved script 2017-01-20 15:06:09 +01:00
Stéphane Brunner
454383518a don't apply the spell check on all the file if no changes (#4031)
Before that:

$time git commit --amend 2> log
real    7m19.811s
user    49m14.012s
sys     0m16.668s

$ls -lh log
-rw-rw-r-- 1 sbrunner sbrunner 1,8M janv. 20 14:05 log
2017-01-20 14:52:12 +01:00
Matthias Kuhn
f389cea13e Fix loading of editor widgets 2017-01-20 14:35:03 +01:00
rldhont
5a2bd5dc82 Merge pull request #4029 from dmarteau/cleanup_getenv
Move request logging to request object
2017-01-20 13:59:46 +01:00
Matthias Kuhn
85146ca4be Add description for starting python tests in gdb 2017-01-20 12:23:23 +01:00
David Marteau
8e025ae75e Move request logging to request object 2017-01-20 11:32:24 +01:00
Matthias Kuhn
45f4a3e8b7 Automatically set focus on the line edit for attribute table filters
Because the obvious action after selecting a search field is to start
typing and not to click on the line edit with the mouse.
2017-01-20 10:41:42 +01:00
Nyall Dawson
dd614451c9 Reenable full task manager tests following b45469f 2017-01-20 08:26:56 +10:00