16023 Commits

Author SHA1 Message Date
Nyall Dawson
5f68abfa48 Create a sorting proxy model for bookmarks 2019-09-04 14:19:47 +10:00
Nyall Dawson
c46721559b Add some custom roles to model 2019-09-04 14:19:47 +10:00
Nyall Dawson
1afa6a8ec5 New class QgsBookmarkManagerModel
Move bookmark model logic to core, add tests
2019-09-04 14:19:47 +10:00
Nyall Dawson
aa3a83c7bd Add unit test for importing/exporting bookmarks 2019-09-04 14:19:47 +10:00
Nyall Dawson
9d49389271 Improve performance of bookmark storage/loading 2019-09-04 14:19:47 +10:00
Nyall Dawson
e3bba1817c Use a xml file for application bookmark storage instead of qsettings 2019-09-04 14:19:47 +10:00
Nyall Dawson
8b4d317142 Port import/export functionality to QgsBookmarkManager, remove SQLITE
based model
2019-09-04 14:19:47 +10:00
Nyall Dawson
d0d6ae4b96 Add method to move bookmarks between managers 2019-09-04 14:19:47 +10:00
Nyall Dawson
45a5daa7bf Transition old application bookmarks to new store 2019-09-04 14:19:47 +10:00
Nyall Dawson
5db08f0c75 Attach a global bookmark manager to QgsApplication 2019-09-04 14:19:47 +10:00
Nyall Dawson
58efa2ed6a Add API for updating bookmarks 2019-09-04 14:19:47 +10:00
Nyall Dawson
5aa07abfb4 Add some missing equality operators 2019-09-04 14:19:47 +10:00
Nyall Dawson
d8300987e8 [FEATURE][API] New class QgsBookmarkManager
Attached to QgsProject, this provides a stable, supported method
of managing project bookmarks (vs the old undocumented, not stable
approach of directly manipulating project keys)
2019-09-04 14:19:47 +10:00
Luigi Pirelli
25ffc9f1c7 Hey! the var is dynamic! 2019-09-04 01:51:53 +10:00
Luigi Pirelli
7eaccc9049 changed to row_number to be consistent with other expression variables 2019-09-04 01:51:53 +10:00
Luigi Pirelli
a4b9ef73fd Added batch_number variable in algorithm scope to allow use it in the expression editor in Processing batch context 2019-09-04 01:51:53 +10:00
Denis Rouzaud
db7f8c385a rename listToValues to classesToBreaks 2019-09-03 13:51:15 +02:00
Denis Rouzaud
ec37076532 add __repr__ for QgsClassificationRange 2019-09-03 13:34:28 +02:00
Denis Rouzaud
397f0f69f7 fix API docs 2019-09-03 10:59:37 +02:00
Denis Rouzaud
66ef2fa4c2 classification method registry orders methods by name 2019-09-03 10:08:16 +02:00
Denis Rouzaud
24c16fcbdc implement virtual icon() for classification methods 2019-09-03 10:05:46 +02:00
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