4996 Commits

Author SHA1 Message Date
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
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
Martin Dobias
1839daaa18
Merge pull request #7777 from PeterPetrik/mesh_vector_on_grid
[mesh] [feature] allow render vectors/arrows on the user-defined grid
2018-09-06 15:32:54 +02:00
Matthias Kuhn
09cb22f9a0 Doxymentation 2018-09-06 12:37:10 +02:00
Matthias Kuhn
ba5cfc356d Add RAII class QgsReadWriteLocker 2018-09-06 07:46:23 +02:00
Denis Rouzaud
8fdcbdd36c
distinct files for QgsMapLayerStyle and QgsMapLayerStyleManager (#7806) 2018-09-05 22:28:38 +02:00
Peter Petrik
c89b7722a3 fix review items from Nyall 2018-09-05 09:00:30 +02:00
Matthias Kuhn
17279a42e2 Only include qgsvectorlayer.h where required 2018-09-05 08:54:11 +02:00
Matthias Kuhn
ded7978fab
Merge pull request #7790 from m-kuhn/featureid
Move QgsFeatureId to own header
2018-09-04 21:31:00 +02:00
Matthias Kuhn
507649ddbd Readd qgsfeature.h to CMakeLists.txt 2018-09-04 16:19:26 +02:00
Matthias Kuhn
db45686804 Adjust core_auto.sip 2018-09-04 15:55:29 +02:00
Matthias Kuhn
1bfc2785c9 Remove unrequired qgsfeature.h includes 2018-09-04 14:55:21 +02:00
Nyall Dawson
a717b85e2e [FEATURE][processing] New modeler parameter widget
A new widget which handles parameter values for child algorithms
within a model. Instead of the previous approach of requiring
individual widget wrappers to handle creation of a suitable
model widget, we do all this automatically for them.

This widget uses a stacked widget with a toolbutton to select
the parameter's source, instead of the previous combo box approach
(which didn't scale well for large models). I.e. users select
first whether the value is taken from a static value, a
model input, or an output from a different child algorithm. The
widget then changes appearance and behavior based on this
choice.

Additionally, a new option is present for all parameters
of using a "precalculated expression". This expression is
evaluated once before the child algorithm is executed
and used during the execution of that algorithm.
2018-09-04 19:06:07 +10:00
Alessandro Pasotti
aae41c068f Fix documentation for editFormConfig
It returns a copy: you need to change
it and use setEditFormConfig to make
modifications.
2018-09-04 07:57:57 +02:00
nirvn
48b18d4c6c [processing] add parameterAsInts function 2018-09-04 10:07:07 +07:00
nirvn
13ecaa4190 [needs-docs][processing] Add a multiple selection mode to the band parameter 2018-09-04 10:07:07 +07:00
Peter Petrik
6ee9a47463 [mesh] [feature] allow render vectors/arrows on the user-defined grid 2018-09-03 16:31:35 +02:00
Peter Petrik
f0ede773c2 [mesh] [feature] allow to choose different vector and scalar dataset 2018-09-03 19:41:07 +10:00
Denis Rouzaud
3f85938479
Merge pull request #7752 from 3nids/project_layers
Legend tree in 'Identify Layers'
2018-09-03 11:10:41 +03:00
Matthias Kuhn
74fb0fabc6 Move QgsFeatureId to own header 2018-09-03 07:54:37 +02:00
Nyall Dawson
3572ea80bd Make QgsXmlUtils handle storing/retrieving QgsProperty values 2018-09-03 05:47:12 +10:00
Alessandro Pasotti
bb01ef3456 Add qgsPermissiveToLongLong 2018-09-01 18:01:23 +02:00
Denis Rouzaud
6b66b2048a switch to legend tree for Identify Layers tab in project properties
also add a 'searchable' option for vector layers (they won't be searched in the locator)
2018-08-31 14:14:14 +03:00
Nyall Dawson
c3fd631776 Fix dox 2018-08-31 13:50:13 +10:00
Nyall Dawson
5e1d1a4c8c Deprecate vector layer setter/getter within QgsSymbol
It's not used, and potentially very dangerous
2018-08-31 13:50:13 +10:00
Nyall Dawson
e63fedfa36 Improve/extend QgsSymbol docs 2018-08-31 13:50:13 +10:00
Peter Petrik
d7afb710d7 [mesh] [feature] add opacity slider to mesh contours settings 2018-08-28 09:17:31 +02:00
Mathieu Pellerin
f1fdbbbbf0 Fix references to contributors.json (#7722) 2018-08-27 23:12:40 +03:00
Nyall Dawson
c8191ffd50 Allow unformatted preview text for expression results 2018-08-27 14:43:02 +10:00
Matthias Kuhn
2a31d38613 Add copy constructor dox 2018-08-24 18:01:47 +02:00
Matthias Kuhn
86e1382fb0 Make QgsRelation implicitly shared 2018-08-24 13:24:13 +02:00
Matthias Kuhn
a5a6f0058a
Merge pull request #7672 from m-kuhn/geomCheckerAutoFixes
Add automatical fixes for geometries
2018-08-24 12:32:44 +02:00
Matthias Kuhn
9dc387fb87 Doxygen since 2018-08-24 11:33:59 +02:00
Matthias Kuhn
2c0de10b57 Fix code style 2018-08-24 07:56:58 +02:00
Chris Mayo
2a72eda514 Improve documentation of QgsRasterLayer constructor
- baseName is just passed on to the parent constructor to be the display
   name, use a literal string in the example to avoid misunderstanding.

 - Remove stray bullet.
2018-08-24 06:16:57 +10:00
Matthias Kuhn
063ccf4283 Move geometry fixes to separate class 2018-08-23 18:38:09 +02:00
Matthias Kuhn
f69e58f261 Revert to specific setters and getters 2018-08-23 14:24:42 +02:00
Mathieu Pellerin
6196fd3753
[vector writer] Return actual layer name used
This is needed as some OGR drivers will modify the provided layer name
(e.g. the KML driver replaces dashes with underscores).
2018-08-23 15:02:28 +07:00
Nyall Dawson
51a63b98fb Allow QgsMapLayerProxyModel to be filtered by string 2018-08-23 06:39:12 +10:00