13657 Commits

Author SHA1 Message Date
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
Nyall Dawson
84d4853115 Use model for symbol list view in symbol panel
Fixes hi-dpi issues
2018-09-14 09:19:32 +10:00
Martin Dobias
2085dfa6ae [FEATURE] 3D identify tool working on 3D entities
Until now the tool only considered terrain. This commit adds support
for 3D renderers created from vector layers, so it is possible to
correctly identify polygons and linestrings in 3D.
2018-09-13 13:36:24 +02:00
Blottiere Paul
f99b2db674
Merge pull request #7860 from pblottiere/filter_2
Expression from WFS 2.0 filters
2018-09-13 11:19:17 +02: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
Nyall Dawson
6935027ead [processing] Fix API break in widget wrapper
Fixes #19820
2018-09-13 05:40:39 +10: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
Geoff Kimbell
cb0b335a95 [FEATURE][processing] Add custom OPTIONS to contour algorithm (#7834) 2018-09-12 04:36:06 +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
d65bd5f08e [processing] Fix another exception in modeler 2018-09-11 15:40:27 +10:00
Nyall Dawson
97f43d4bb2 [processing] Fix warning on close 2018-09-11 15:40:27 +10:00
Nyall Dawson
90dbf72e98 [processing] Fix exception when showing advanced parameters for alg in modeler 2018-09-11 15:40:27 +10:00
Nyall Dawson
c8abd40250 [processing] Fix gdal algorithm use of old wrapper API 2018-09-11 15:40:27 +10:00
nirvn
68b7e799f0 [processing] add msg bar links to files when saving/exporting models 2018-09-11 10:30:07 +07:00
Nyall Dawson
ac3b37ffe0 [processing] Fix wrapper value retrieval for some ported wrappers
Fixes #19813
2018-09-11 10:26:36 +10:00
Jaka Kranjc
d54bd1a203 [processing] Fix DeleteColumn output hint
the dropped fields are discarded, the modeller get the rest, as expected
2018-09-11 09:35:45 +10: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
41184bf961
Merge pull request #7835 from m-kuhn/expressionCodeCompletion
Code completion for expression builder [FEATURE]
2018-09-10 13:42:41 +02: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
Nyall Dawson
8ecb943a43 Fix some tiny browser icons on hidpi screens 2018-09-10 19:36:03 +10:00
Matthias Kuhn
273e99877b
Merge pull request #7805 from m-kuhn/vectordataproviderfeaturepool
Refactor QgsFeaturePool
2018-09-10 07:53:55 +02:00
Harrissou Sant-anna
2d1dbe7f74 Add precision to args=-1 usage 2018-09-10 15:25:42 +10:00
Harrissou Sant-anna
b2e4041757 Add handlesnull parameter to custom function template help 2018-09-10 15:25:42 +10: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
f979c8e80a Make some protected members private 2018-09-08 20:57:28 +10:00
Matthias Kuhn
203660a3c8 Update some bits 2018-09-08 12:29:23 +02:00
Matthias Kuhn
cebaa81996 Code completion for expression builder [FEATURE] 2018-09-08 11:50:03 +02:00
Nyall Dawson
13ab5e51ac Fix build warning 2018-09-08 18:10:31 +10:00
Nyall Dawson
1c5250b147 [processing] Fix some exceptions in batch dialog after refactoring
Fixes #19779, #19786
2018-09-08 17:51:42 +10:00
Matthias Kuhn
32ee71634f
Merge pull request #7711 from m-kuhn/mapToolSnapToGrid
Snap to grid for maptools [FEATURE]
2018-09-08 08:20:49 +02:00
John Kastner
0cc9501df7 Remove try-except block in voronoi.py fixes #19798
This block was swallowing all exceptions within the voronoi method.
Removing the block causes exceptions throw in the method to propagate up
the stack and eventually become visible in log files.
2018-09-08 14:38:25 +10:00
Loïc Bartoletti
808963bfae Fix error with standardPixmap. signature requires QStyleOption 2018-09-08 07:42:01 +10:00
Luigi Pirelli
8fa5b04c03 typo 2018-09-08 07:41:11 +10:00
Luigi Pirelli
7944f6704b added test for RangePanel widget 2018-09-08 07:41:11 +10:00
Luigi Pirelli
bc8a4605d4 Fix Range wrapper to allow Range parameters to be added in modeler. Not yet fully integrated as input paramter 2018-09-08 07:41:11 +10:00