15751 Commits

Author SHA1 Message Date
Denis Rouzaud
5fd76ffb9a [FEATURE] add logarithmic scale method for graduated renderer
So easy with new API :)
2019-09-03 08:08:38 +02:00
Nyall Dawson
1aeb4d5d79 Try to fix dox warning 2019-09-03 10:35:21 +10:00
Nyall Dawson
4d67f803b4 Fix leak 2019-09-03 10:35:21 +10:00
Nyall Dawson
6de34d472e Add missing SIP_DEPRECATED 2019-09-03 10:35:21 +10:00
Nyall Dawson
bf61a94b4a Don't pass doubles by reference, pass lists by reference 2019-09-03 10:35:21 +10:00
Denis Rouzaud
b3d52df67b
Merge pull request #31500 from 3nids/refactor_classification
Refactor graduated symbol renderer
2019-09-02 14:57:18 +02:00
Denis Rouzaud
9a089132a3 remove Q_DECL_DEPRECATED as Doxygen throws a warning 2019-09-02 12:59:58 +02:00
Denis Rouzaud
b2dd626959 use flags to defined classification method properties 2019-09-02 12:57:34 +02:00
Denis Rouzaud
734e99e1e0 add classification methods to API docs 2019-09-02 10:16:21 +02:00
Denis Rouzaud
68a9ea5d70 move src/core/symbology/classification to src/core/classification 2019-09-02 09:46:40 +02:00
Denis Rouzaud
d58be2814d missing SIP_FACTORY, addMethod returns bool, and minor fixes 2019-09-02 09:40:34 +02:00
Nyall Dawson
65a3f81486 Add some missing Python repr overloads 2019-09-02 16:40:46 +10:00
Alex
8fb43bd20e [API] Cache feature ids for each symbol in the QgsVectorLayer (#31061) 2019-09-01 06:31:40 +10:00
Denis Rouzaud
c20e3a1475 make variables private, correclty initalize label format 2019-08-31 10:53:03 +02:00
Denis Rouzaud
d10f8ce2a0 a bit more API doc 2019-08-31 10:31:50 +02:00
Etienne Trimaille
e7c058ed82 make the crash ID clickable on github 2019-08-31 07:30:44 +10:00
Denis Rouzaud
ac1ce4f4ed better naming of methods and API documentation 2019-08-30 15:35:53 +02:00
Denis Rouzaud
b580242aef fix deprecated methods and remove leftovers 2019-08-30 13:12:43 +02:00
Denis Rouzaud
41495058d1 run sipify 2019-08-30 12:45:37 +02:00
signedav
0c906bf9d9
Merge pull request #31349 from signedav/stored-expressions
Stored filter expressions
2019-08-29 20:28:50 +02:00
Nyall Dawson
0e3a4478d9 Add missing transfer annotation (#31482) 2019-08-29 20:12:23 +02:00
Sandro Santilli
d921c20f58 Add support for "bbox" URI parameter in PostgreSQL provider
.. and use it from TopoViewer DBManager plugin

Closes #18107
2019-08-29 17:47:25 +02:00
Sandro Santilli
8cc683061c Update TopoViewer layer style templates
From 1.9 version to 2.18 version

Closes #31471
2019-08-29 16:36:55 +02:00
Denis Rouzaud
2a9f215f98
fix missing SIP_OUT (#31470) 2019-08-29 10:38:03 +02:00
Denis Rouzaud
ee6f8c580c const correctness, fix deprecated methods,
qVariantListIsNull returns true for an empty list
2019-08-29 10:31:55 +02:00
David Signer
75fa58e83e docs and style and set parent of mStoredExpressionManager to the layer 2019-08-29 09:08:53 +02:00
David Signer
e89ebf1b69 proper use of category tags - use of all tag as default in filtering 2019-08-29 08:26:28 +02:00
David Signer
272d022dbc sip include 2019-08-29 08:26:28 +02:00
David Signer
8c9f643e0b - removed the modes from QgsStoredExpressionManager and do the categorization over category tags
- use QStrings instead of QUuids in QgsStoredExpression
- docs, style and beautifications
2019-08-29 08:26:28 +02:00
David Signer
a75fbc2f65 no constructor in QgsStoredExpression because it leaded to issues with compiling sip
dialoges for stored filter expressions contains labels and expression line edit
2019-08-29 08:24:15 +02:00
David Signer
ae17985581 make proper constructor 2019-08-29 08:24:15 +02:00
David Signer
1c44192929 functionality to save and update stored expressions 2019-08-29 08:24:15 +02:00
David Signer
ffa41cb814 descriptive name for mStoredFilterExpressions to make a difference to future QgsStoredExpression objects 2019-08-29 08:24:15 +02:00
David Signer
32ebab2c9c on textchange update the actions 2019-08-29 08:24:15 +02:00
David Signer
e44b34cfc1 use of struct instead of QPair and use Uuid instead of name as identification 2019-08-29 08:24:15 +02:00
David Signer
d11f4e6b76 remove expression functionality identified by name 2019-08-29 08:24:15 +02:00
David Signer
e44d54842a stored expressions comments 2019-08-29 08:24:15 +02:00
David Signer
aec08c7dcc read write storedexpressions 2019-08-29 08:24:15 +02:00
David Signer
5c38b4bdc8 stored expression base class with read write methods 2019-08-29 08:24:15 +02:00
Denis Rouzaud
93a82f883a use composite keys in relation reference widget wrapper 2019-08-29 08:17:00 +02:00
Denis Rouzaud
c8f16fc955 use composite keys in relation reference widget 2019-08-29 08:17:00 +02:00
Nyall Dawson
ddbb1b175f [FEATURE] Allow array values as a valid result for data defined offset
or size properties

Previously only string values of the format 'x,y' would be permitted. But
I've seen MANY bug reports and questions about this, so also allow
arrays of doubles as a valid result. E.g. "array(3,5)". In any case, it's
just nicer.

Fixes #31444
2019-08-29 13:18:58 +10:00
Denis Rouzaud
44acec6b8a
move QgsRenderRange and QgsRendererRangeLabelFormat to their own file (#31464) 2019-08-28 14:22:07 +02:00
Nyall Dawson
e0411e608d Refactor out scalebar code for calculating pretty interval sizes
into reusable function
2019-08-28 14:12:28 +10:00
Nyall Dawson
b90529b4c2 UI and API setup for dynamically calculated grid intervals 2019-08-28 14:12:28 +10:00
Nyall Dawson
e6a93e25c6 Add missing data defined properties 2019-08-28 14:12:28 +10:00
Nyall Dawson
0900831c8a Use map expression context as basis for map grid expression context
Allows use of map related variables like @map_scale, @map_extent_width,
etc in layout map grid data defined expressions
2019-08-28 14:12:28 +10:00
Nyall Dawson
658cb0c740 [FEATURE][layouts] Data defined control over grid properties
Adds data defined control over layout map grid:
- enabled state
- interval X/Y
- offset X/Y
- frame size and margin
- annotation distance from frame
- cross size
- frame line thickness

Fixes #30246, fixes #27737
2019-08-28 14:12:28 +10:00
Harrissou Sant-anna
63f5fa9c86 Fix code sample rendering in pyqgis doc 2019-08-28 12:07:27 +10:00
Harrissou Sant-anna
58cc42a747 [needs-docs]Set the service area algorithms speed to 50km/h
using the same value as the "Shortest Path" algorithms
2019-08-28 03:53:54 +10:00