4254 Commits

Author SHA1 Message Date
Nyall Dawson
4f204c2dff Better approach to filtering lists by tags which works across different
styles

Fixes #48659
2022-05-24 13:26:03 +10:00
Jacky Volpes
c31364f15a Enable category selection when saving style to database 2022-05-24 13:07:16 +10:00
Even Rouault
8dd00024f8 QgsDataSourceUri::parameterKeys(): rework 2022-05-24 08:30:40 +10:00
Even Rouault
d81b66d611 QgsVectorLayer(): make it clear that WFS URI parameter keys ar case sensitive (refs #46485) 2022-05-24 08:30:40 +10:00
Even Rouault
9969d6d2f5 QgsDataSourceUri: add a parameterKeys() method 2022-05-24 08:30:40 +10:00
Nyall Dawson
6ed55658af [processing] Fix crash after running model from history dialog
Ensure we don't store any map layer pointer values for long-term
use, and instead transform them to appropriate string values instead

Fixes #40258
2022-05-23 18:29:39 +10:00
Nyall Dawson
11d52c2cdb Add an optional "Silent" flag for QgsTask, which hides the operating
system level success/fail notifications for that task
2022-05-22 16:00:17 +10:00
Alessandro Pasotti
a3b554aa6e
Merge pull request #48497 from elpaso/server-temporal
Server WMS temporal properties support
2022-05-19 08:33:02 +02:00
Alessandro Pasotti
4a4e9f27d9 Pass context by const ref 2022-05-18 16:56:40 +02:00
Alessandro Pasotti
74d1a357b9
Merge pull request #48445 from elpaso/python-form-action
Expose form to d&d attribute form action buttons
2022-05-18 08:54:59 +02:00
Nyall Dawson
c6beb62216 Add project style database, which contains styles specific to each
individual project.

Project style database is embedded in the .qgz archive file
2022-05-17 16:36:00 +10:00
Nyall Dawson
c6ba421644 Cleanup some more of the default style/project instance initialisation spaghetti
And avoid some more QgsProject::instance() in core
2022-05-17 16:36:00 +10:00
Nyall Dawson
aa658465f8 Cleanup handling of default label format for project, and avoid a QgsProject::instance() use in core 2022-05-17 16:36:00 +10:00
Nyall Dawson
1251b115f4 Better way to mark styles as read only 2022-05-17 16:36:00 +10:00
Nyall Dawson
190bdfbaa2 Don't offer to save new symbols in read only style databases 2022-05-17 16:36:00 +10:00
Nyall Dawson
9fe94822b5 Add path role to model 2022-05-17 16:36:00 +10:00
Nyall Dawson
8462884554 Add model for project style databases 2022-05-17 16:36:00 +10:00
Nyall Dawson
42a758ec6a Allow lazy setting of style manager QgsStyle 2022-05-17 16:36:00 +10:00
Nyall Dawson
1af62e5bc8 Dox 2022-05-17 16:36:00 +10:00
Nyall Dawson
0d3ae97df0 Move QgsProject enums to Qgis, and add new read flag to skip style loading
Ensure that there's no speed regression when loading projects for
server and other special cases
2022-05-17 16:36:00 +10:00
Nyall Dawson
66aaf36059 [feature] Show entities from all project style databases in symbol and label
selectors
2022-05-17 16:36:00 +10:00
Nyall Dawson
e4d2adda27 Add entity name to style model roles 2022-05-17 16:36:00 +10:00
Nyall Dawson
ab9c27a1b6 Allow retrieving matching project style by path 2022-05-17 16:36:00 +10:00
Nyall Dawson
6529309f48 Fix header data for combined model 2022-05-17 16:36:00 +10:00
Nyall Dawson
f5f552aa61 Add a way for QgsSingleItemModel to have multiple column items 2022-05-17 16:36:00 +10:00
Nyall Dawson
1f63112e6d Allow project style paths to be xml exports of databases 2022-05-17 16:36:00 +10:00
Nyall Dawson
6c3eb1df64 Add combined style model to project 2022-05-17 16:36:00 +10:00
Nyall Dawson
406b714e50 Add method to remove style from combined model 2022-05-17 16:36:00 +10:00
Nyall Dawson
3c0f5e0fd5 add combined model 2022-05-17 16:36:00 +10:00
Nyall Dawson
9124d1acb6 Load project associated style databases 2022-05-17 16:36:00 +10:00
Nyall Dawson
b420204916 Allow parent object for QgsStyle 2022-05-17 16:36:00 +10:00
Nyall Dawson
ca458a4e7d Add methods to set style database paths to QgsProjectStyleSettings 2022-05-17 16:36:00 +10:00
Nyall Dawson
3fe263893a Expose style name and filename to models 2022-05-17 16:36:00 +10:00
Nyall Dawson
7e4a68ab00 Fix filename handling for QgsStyle 2022-05-17 16:36:00 +10:00
Nyall Dawson
bff6676877 Documentation, const 2022-05-17 16:36:00 +10:00
Nyall Dawson
173693116e Deprecate QgsStyle::save, which is a no-op call as all the functionality
is ifdefed out and does nothing
2022-05-17 16:36:00 +10:00
Nyall Dawson
79f748c65d Convenience python getter for QgsRendererRange bounds 2022-05-17 09:55:40 +10:00
Nyall Dawson
6f76f98f09 Add __repr__ for QgsRendererRange/QgsRendererCategory 2022-05-17 09:55:40 +10:00
Nyall Dawson
12c01e2072 Move QgsGraduatedSymbolRenderer::GraduatedSize enum to qgis 2022-05-17 09:55:40 +10:00
Nyall Dawson
065465e472 Improve some documentation 2022-05-17 09:55:40 +10:00
uclaros
79738c8e78 classify pointclouds by attribute 2022-05-13 19:17:13 +02:00
Martin Dobias
571820327d
Merge pull request #48321 from NEDJIMAbelgacem/point-cloud-stats-calculator
Statistics calculator for point cloud
2022-05-12 23:21:06 +02:00
Nyall Dawson
86f7d4e89e [api] Add QgsCombinedStyleModel class, for combining entities from several
QgsStyle models into a single combined view
2022-05-12 19:58:04 +10:00
Nyall Dawson
6c73cfcd45 Add name to QgsStyle 2022-05-12 19:58:04 +10:00
Nyall Dawson
a11b4ebf83 Add QgsSingleItemModel, a QAbstractItemModel subclass for a single
item
2022-05-12 19:58:04 +10:00
Julien Cabieces
a25e6e5e0e Add a method to initialize 2nd pass jobs with 1s pass generated ones 2022-05-12 11:45:39 +10:00
Julien Cabieces
558463688d QPainterPath is implicitly shared, no need to return reference 2022-05-12 11:45:39 +10:00
Julien Cabieces
a57281c836 Vectorization of selective masking 2022-05-12 11:45:39 +10:00
NEDJIMAbelgacem
720008a3de fix test 2022-05-10 19:19:24 +01:00
NEDJIMAbelgacem
e5bce023a5 Merge branch 'master' into point-cloud-stats-calculator 2022-05-10 19:18:58 +01:00