71757 Commits

Author SHA1 Message Date
Nyall Dawson
69debff405 Add convenience method to directly convert QgsProviderSublayerDetails
object to a QgsMapLayer
2021-06-23 19:35:11 +10:00
Nyall Dawson
00db2820cd Add generic method to QgsMapLayerFactory to create map layers of
any type
2021-06-23 19:35:11 +10:00
Nyall Dawson
07f5812383 Add uri to QgsProviderSublayerDetails 2021-06-23 19:35:11 +10:00
Denis Rouzaud
55e20eb800
avoid code duplication of fromEncodedComponent_helper(QGIS)/qt_urlRecodeByteArray(Qt) (#43842) 2021-06-23 09:11:03 +00:00
Nyall Dawson
f50dd99ed7 Dox++ 2021-06-23 17:30:47 +10:00
Nyall Dawson
5875b3d865 Fix incorrect use of QgsRasterPipie::setOn when changing raster pipe resampling stage 2021-06-23 17:30:47 +10:00
Nyall Dawson
f62ddb37a2 Promote QgsRasterPipe enums to enum classes in Qgis namespace
and add forward declares where possible
2021-06-23 17:30:47 +10:00
Nyall Dawson
e2b7f0712e Improve QgsRasterPipe docs 2021-06-23 17:30:47 +10:00
Nyall Dawson
9fd1ddf379 Ensure project is dirtied when layer notes are modified 2021-06-23 16:37:01 +10:00
Nyall Dawson
d29c6ad2c6 When refining a rule based renderer rule by categories, copy the
category label as each rule label instead of the raw expression
2021-06-23 15:16:03 +10:00
Nyall Dawson
cc33a73391 [layouts] Restore forced rasterization of whole layout map item
when a layer has opacity set for Qt < 5.15

Workarounds bugs in the PDF export for these earlier versions

Fixes #42698
2021-06-23 14:37:18 +10:00
Sandro Santilli
2da0ddf36a PostgreSQL provider: use bounding box column to compute extent
Speeds up extent computation when custom indexed bbox column is
given. References #43835
2021-06-22 17:59:14 +02:00
Denis Rouzaud
520732a88b
allow to build qgis_app statically (#43846) 2021-06-22 17:40:54 +02:00
Denis Rouzaud
ea8d0d6e81
Merge pull request #43840 from qgis/fix-warning
fix warning
2021-06-22 14:26:09 +02:00
Matthias Kuhn
c2a1d87563
Merge pull request #43815 from domi4484/mssqlUniqueConstraint
[mssql] use unique constraint info from db to set field ConstraintUnique
2021-06-22 07:51:40 +02:00
Denis Rouzaud
17b421aecc
fix SVG selector widget not reacting to changes (#43805)
* fix SVG selector widget not reacting to changes

fixes #43802

* also set picture mode
2021-06-22 06:09:32 +02:00
Nyall Dawson
18b6021802 Update src/app/qgisapp.cpp 2021-06-22 09:42:52 +10:00
MorriganR
c1f58132c9 independent interface customization for Vertex Tool Current and All Layers 2021-06-22 09:42:52 +10:00
Nyall Dawson
2430173427 Fix since 2021-06-22 08:43:39 +10:00
Nyall Dawson
89d58dc718 Fix wording 2021-06-22 08:43:39 +10:00
Nyall Dawson
c7926181ad Layout fixes 2021-06-22 08:43:39 +10:00
Nyall Dawson
469f967941 Add framework for querying for dataset sublayers via
QgsProviderRegistry/QgsProviderMetadata
2021-06-22 08:43:39 +10:00
Nyall Dawson
2328f4fad8 Fix sipify handling of long long return types 2021-06-22 08:43:39 +10:00
Nyall Dawson
e59f343110 Introduce QgsProviderSubLayerDetails 2021-06-22 08:43:39 +10:00
speillet
537bdfd5cd remove QgsSpatialiteConnection::deleteConnection 2021-06-22 08:39:39 +10:00
speillet
46dad154ef change after review 2021-06-22 08:39:39 +10:00
speillet
4ca6872425 use authcfgid 2021-06-22 08:39:39 +10:00
speillet
07c90b726b add configuration to metadataprovider 2021-06-22 08:39:39 +10:00
speillet
a864034854 update provider metadata after adding new connection in browser 2021-06-22 08:39:39 +10:00
Sandro Mani
94f25993c1 Fix loading Qt translations on MinGW 2021-06-22 08:33:04 +10:00
Sandro Mani
d5c38907fc Also load qtbase translations (QDialogButtonBox buttons etc) 2021-06-22 08:33:04 +10:00
Sandro Mani
a29ce541a4 Add QgsApplication::translation as counterpart to QgsApplication::setTranslation 2021-06-22 08:33:04 +10:00
Sandro Mani
a8c1be697d Allow specifying default WMS image format in settings 2021-06-22 08:32:19 +10:00
Alessandro Pasotti
bbf5d11a86 Fix test 2021-06-22 08:29:22 +10:00
Alessandro Pasotti
4ff0064211 Remove duplicated code for localized numbers
Followup #43681
2021-06-22 08:29:22 +10:00
Marco Hugentobler
479173dff7 Use one project in test and call QgsProject::clear() 2021-06-22 08:25:56 +10:00
Marco Hugentobler
f3c217cbe0 Add entry to qgis_global_settings.ini 2021-06-22 08:25:56 +10:00
Marco Hugentobler
41a0790886 Title case 2021-06-22 08:25:56 +10:00
Marco Hugentobler
fe00f74b86 Use QgsSettings and add unit test 2021-06-22 08:25:56 +10:00
Marco Hugentobler
a544ba3038 [feature]: Possibility to set if newly created project should default to relative or absolute paths 2021-06-22 08:25:56 +10:00
nicogodet
6fbb4e8c88 Allow 2 decimals for raster contour intervals 2021-06-22 08:06:27 +10:00
Juergen E. Fischer
69530a56a6 followup ad618e77182 2021-06-21 22:59:29 +02:00
Nyall Dawson
3428c49f1c Fix build 2021-06-22 05:53:29 +10:00
Nyall Dawson
8b26ad81fb Fix build 2021-06-22 05:53:29 +10:00
Nyall Dawson
dd317900c4 Move some more useful methods to QgsOgrProviderUtils 2021-06-22 05:53:29 +10:00
Nyall Dawson
b422306afb Split qgsogrprovider.cpp/.h up to seperate into qgsogrproviderutils
and qgsorgprovidermetadata

These files were becoming mammoth, with functions from different
classes all mashed together in the .cpp file, making it hard
to navigate the various classes.
2021-06-22 05:53:29 +10:00
Matthias Kuhn
e4ba6b1f6a
Merge pull request #43816 from gacarrillor/update_tag
Add 'update' tag to find GeometryByExpression alg easier
2021-06-21 21:01:03 +02:00
Germán Carrillo
350ed39af9 Add 'update' tag to find GeometryByExpression alg easier 2021-06-21 10:45:02 -05:00
Denis Rouzaud
5e62599c30
[cmake] drop FORCE_STATIC_PROVIDERS in favor of FORCE_STATIC_LIBS (#43814)
one cannot be used without the other since there is a cycle dependency between qgis_core and proiver_postgres/wms (cycle dep is only possible if the 2 libs are static
2021-06-21 15:09:09 +00:00
Damiano Lombardi
ad17471db1 [mssql] use unique constraint info from db to set field ConstraintUnique 2021-06-21 16:36:50 +02:00