Alessandro Pasotti
f35e37613b
Expose processFeature to public API
2018-09-14 18:23:03 +10:00
Nyall Dawson
681d44f11f
Messy mockup of feature
2018-09-14 18:23:03 +10:00
Nyall Dawson
8f90791bef
Mark some API as non-stable, hide from Python bindings
2018-09-14 16:36:11 +10:00
pierreloicq
e73f74063e
sip, doc, bad keywords
2018-09-14 16:36:11 +10:00
pierreloicq
cb382ededd
sipification problem and unit test attempt
2018-09-14 16:36:11 +10:00
pierreloicq
6443df6558
Nyall's comments
2018-09-14 16:36:11 +10:00
pierreloicq
40ae95315f
sipification
2018-09-14 16:36:11 +10:00
pierreloicq
6fb41785c9
delete .sip
2018-09-14 16:36:11 +10:00
pierreloicq
4aabb09f28
generation of sip files in auto_generated/
2018-09-14 16:36:11 +10:00
pierreloicq
0053630f8e
improved problem (b)
...
removed the .sip
corrected (f)
removed direct comparison of doubles to try to pass the tests
one step back to know if it cause the check failure
the step forward, improved, should pass the test
comments of m-kuhn taken into account
The last 7 commits to rebase easily on master
2018-09-14 16:36:11 +10:00
pierreloicq
fe049d372c
classify symmetric squashed (17 commits) to rebase easily on master; 13 may 2018
2018-09-14 16:36:11 +10:00
Denis Rouzaud
05f35f2e19
[sipify] fix annotations in multiline virtual methods
2018-09-14 16:35:30 +10:00
Denis Rouzaud
4cdf0a2851
fixes: HIG guidelines, sipify, initialize, doxygen warnings
...
fix doxygen warning + docs
sipify
fix doxygen warning
initialize
2018-09-14 16:35:30 +10:00
Denis Rouzaud
97376b8217
single dialog to load style (QML, SLD, DB)
2018-09-14 16:35:30 +10:00
Denis Rouzaud
0cfa77db7f
fix documentation
2018-09-14 16:35:30 +10:00
Denis Rouzaud
5e6c382328
single dialog to save all types (QML, SLD, DataBase)
2018-09-14 16:35:30 +10:00
Denis Rouzaud
cb9774022f
create dialog for saving different styles
2018-09-14 16:35:30 +10:00
Denis Rouzaud
0df5b9e593
better API doc, own category for 3D, fix leak
2018-09-14 16:35:30 +10:00
Denis Rouzaud
e91a42def6
categories in paste style
2018-09-14 16:35:30 +10:00
Denis Rouzaud
2cabd48db1
fix sip include
2018-09-14 16:35:30 +10:00
Denis Rouzaud
26ad2cbf98
add icons and export only selected category
2018-09-14 16:35:30 +10:00
Denis Rouzaud
15e0d873d9
select categories in copy style in legend menu entry
...
not working yet, just set the menu entries
QgsMapLayerStyle::StyleCategory has moved to QgsMapLayer to avoid making QgsMapLayerStyle a QObject and they are mostly used in QgsMapLayer
2018-09-14 16:35:30 +10:00
Denis Rouzaud
4487241336
implement filtering of categories in reading/writing
2018-09-14 16:35:30 +10:00
Denis Rouzaud
51e9be0575
add API to select section of layer style when reading/writing
2018-09-14 16:35:30 +10:00
nirvn
7f9edcafa0
Addition of a QgsHstoreUtils parse function
2018-09-14 11:21:40 +07:00
Nyall Dawson
26885e52b5
Cache icons in style model for efficiency
2018-09-14 09:19:32 +10:00
Nyall Dawson
940624705b
Add explicit API call for style model icon sizes
2018-09-14 09:19:32 +10:00
Blottiere Paul
a99b520114
Add documentation
2018-09-13 08:04:34 +01:00
Blottiere Paul
38fc046636
Update sip binding
2018-09-13 08:04:34 +01:00
Denis Rouzaud
3b1b41f391
add qgsEnumMap to list all entries (int, string) of enums
2018-09-12 11:38:54 -04:00
Nyall Dawson
95d65ae861
Add python safe addSmartgroup method, unit tests for smart groups
2018-09-12 16:22:44 +10:00
Nyall Dawson
c41af120a0
Remove addSmartGroup from Python bindings -- it causes a crash in sip
...
and CANNOT be made functional
2018-09-12 16:22:44 +10:00
Nyall Dawson
c5ab5891e0
Add a QAbstractItemModel for showing the entities within a QgsStyle object
...
- also adds QgsStyleProxyModel which handles filtering of entities
- lots of unit tests
- new signals in QgsStyle for when symbols/tags/etc change (with tests)
2018-09-12 16:22:44 +10:00
Martin Dobias
602b3e9dff
Add QgsMapLayer::flagsChanged() signal
2018-09-11 15:48:46 +02:00
Matthias Kuhn
fae9256a41
Merge pull request #7844 from m-kuhn/conversionFactor
...
QgsCoordinateTransform::scaleFactor()
2018-09-11 08:16:24 +02:00
Nyall Dawson
f598e2d527
Typo
2018-09-11 06:01:06 +10:00
Nyall Dawson
97a964af4a
Add method QgsCategorizedSymbolRenderer::matchToSymbols which
...
matches existing categories to symbol names from a QgsStyle
object and copies matching symbols to these categories
2018-09-11 06:01:06 +10:00
Denis Rouzaud
4b7da692d6
run sipify all
2018-09-10 11:41:57 -04:00
Matthias Kuhn
cf82c13324
Rename conversionFactor to scaleFactor
2018-09-10 13:36:33 +02:00
Matthias Kuhn
89526a02e0
Add QgsCoordinateTransform::conversionFactor
...
directly copied from QgsMapSettings
2018-09-10 12:58:54 +02:00
Matthias Kuhn
273e99877b
Merge pull request #7805 from m-kuhn/vectordataproviderfeaturepool
...
Refactor QgsFeaturePool
2018-09-10 07:53:55 +02:00
Denis Rouzaud
89830f614e
create QgsMapLayer::LayerFlags for Searchable, Identifiable and Removable ( #7815 )
...
* create QgsMapLayer::LayerFlags for Searchable, Identifiable and Removable
this brings back the information previously saved in the project node back to the layer node
this will allow to embed this information in layer styles
* skip unexisting flag node to avoid setting wrong value for flag
* mark QgsProject::(set)requiredLayers as deprecated
* better API docs
* use new API in current code
* more docs and more old API fixes
* fix bad conversion
* more old API fix
* add missing SIP_OUT
* s/testFlags/testFlag
* fix var name
* adapt project test to test flags
* remove debug calls
* fixeS
2018-09-08 07:54:21 -04:00
Nyall Dawson
13ab5e51ac
Fix build warning
2018-09-08 18:10:31 +10:00
Denis Rouzaud
6e7ff283ed
add missing SIP_OUT ( #7831 )
2018-09-07 12:29:09 -04:00
Matthias Kuhn
7f63d41b44
Merge pull request #7822 from m-kuhn/constCorrectQgsGeometryError
...
Const correctness for QgsGeometry::Error
2018-09-07 15:00:40 +02:00
Matthias Kuhn
84cdff12bb
Fix docs
2018-09-07 14:50:19 +02:00
Matthias Kuhn
e637fd5e66
Add doxymentation
2018-09-07 13:19:52 +02:00
Matthias Kuhn
8ba442f14a
Const correctness for QgsGeometry::Error
2018-09-07 10:58:13 +02:00
Etienne Trimaille
c65fe0e07c
do not display metadata related to spatial extent if the layer is not spatial
2018-09-07 09:38:25 +10:00
Juergen E. Fischer
a823046b5f
followup spelling fixes
2018-09-07 00:33:13 +02:00