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
379306ba97
Fix crash on exit
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
3c9af9ecf0
Nicer model updates
2019-09-04 14:19:47 +10:00
Nyall Dawson
0155363dba
Update bookmark model to use QgsBookmarkManager
2019-09-04 14:19:47 +10:00
Nyall Dawson
ee414f5750
Add unit test for upgrading older project bookmarks
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
22d2f9b517
Start on unit tests
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
2001e0fcf5
Merge pull request #31533 from 3nids/classification_logarithmic
...
[FEATURE] add logarithmic scale method for graduated renderer
2019-09-03 15:00:54 +02:00
Denis Rouzaud
3687afafa0
fix test and indentation
2019-09-03 14:57:45 +02:00
Denis Rouzaud
3931db6f51
add test for QgsClassificationLogarithmic
2019-09-03 14:04:58 +02:00
Denis Rouzaud
db7f8c385a
rename listToValues to classesToBreaks
2019-09-03 13:51:15 +02:00
Denis Rouzaud
3e2ade9308
fix wrong index
2019-09-03 13:42:48 +02:00
Denis Rouzaud
f7cb63f347
leave comment for deprecated QAbstractItemModel::reset()
2019-09-03 13:35:09 +02:00
Denis Rouzaud
ec37076532
add __repr__ for QgsClassificationRange
2019-09-03 13:34:28 +02:00
Juergen E. Fischer
00712a7e97
fix warnings (or vs || and and vs &&)
2019-09-03 13:30:53 +02:00
Denis Rouzaud
397f0f69f7
fix API docs
2019-09-03 10:59:37 +02:00
Denis Rouzaud
4c81e9b5a8
simplify QString code
2019-09-03 10:52:37 +02:00
Denis Rouzaud
66ef2fa4c2
classification method registry orders methods by name
2019-09-03 10:08:16 +02:00
Denis Rouzaud
da1a394f82
fix images path
2019-09-03 10:06:57 +02:00
Denis Rouzaud
158aba0bd7
helper to return icon from method ID in classification method registry
...
this avoids creating a clone of the method
2019-09-03 10:06:44 +02:00
Denis Rouzaud
24c16fcbdc
implement virtual icon() for classification methods
2019-09-03 10:05:46 +02:00
Denis Rouzaud
e21ff39ea5
fix standard deviation label ( #31540 )
...
* fix standard deviation label
* Update qgsclassificationstandarddeviation.cpp
* Update qgsclassificationstandarddeviation.cpp
2019-09-03 09:48:47 +02:00
Denis Rouzaud
9ac860a677
add SVG images for classification methods
...
credits to @nirvn
2019-09-03 09:46:08 +02:00
nirvn
0963133fdf
[ui] Add a locator bookmark filter item icon
2019-09-03 14:25:03 +07: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
0d1a18bfee
Fix custom groups not correctly respected in geopdf export when multiple
...
layers have the same group name
2019-09-03 13:31:36 +10:00
Nyall Dawson
242b09e293
Nicer edits in the GeoPDF layer tree model
2019-09-03 13:31:36 +10:00
Nyall Dawson
1be0b162b6
Fix map themes "stick" even when "export map themes" box is unchecked
2019-09-03 13:31:36 +10:00
Nyall Dawson
1a682efa18
Correctly show raster transparency settings for invalid layer sources
2019-09-03 11:14:55 +10:00
Nyall Dawson
2b3614444a
Fix some missing signals from QgsRasterBandComboBox when not set
...
to a valid layer
2019-09-03 11:14:55 +10:00
Nyall Dawson
1aeb4d5d79
Try to fix dox warning
2019-09-03 10:35:21 +10:00
Nyall Dawson
701472eb9a
Cleanup loops
2019-09-03 10:35:21 +10:00
Nyall Dawson
68ea07f853
Translate strings
2019-09-03 10:35:21 +10:00
Nyall Dawson
f5921854d1
Fix a bunch of QString allocation warnings
2019-09-03 10:35:21 +10:00
Nyall Dawson
ac3047f552
Fix a bunch of deprecation warnings
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