541 Commits

Author SHA1 Message Date
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
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
Éric Lemoine
b16aa15f06 Improve qgsmessagelog doc strings 2018-09-13 09:32:10 +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
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
Éric Lemoine
504657ed51 Add docs for more QgsMessageLogConsole methods 2018-09-11 21:57:42 +02:00
Éric Lemoine
212a74cea1 Fix the QgsMessageLogConsole docs
The QgsMessageLogConsole now writes log messages to stderr as opposed
to stdout.
2018-09-11 21:57:42 +02:00
Éric Lemoine
e33954c1c3 [FEATURE][needs-doc] Support QGIS Server logs to stderr
This commit makes it possible to configure QGIS Server to make it
write its logs to stderr.

This is done by setting the QGIS_SERVER_LOG_FILE env var to the
special value "stderr".
2018-09-11 21:57:42 +02: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
signedav
d80ad3d34f form_mode for qmlwidgetwrapper expression 2018-09-10 18:08:26 +02: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
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
signedav
76df5b022d docs and replacement of qmlexpression 2018-09-05 15:59:01 +02:00
signedav
e8e32fab64 Configuration and display
works in basic - no attributs. no handy configurator.
2018-09-05 11:01:32 +02:00
Matthias Kuhn
f41aaa79cb Yay, more QML! 2018-09-05 11:01:32 +02:00
Matthias Kuhn
5acd33b32d Work in progress 2018-09-05 11:01:32 +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
1bfc2785c9 Remove unrequired qgsfeature.h includes 2018-09-04 14:55:21 +02:00