19827 Commits

Author SHA1 Message Date
Vincent Cloarec
494735a482
create new mesh layer (#43873)
[mesh] [feature] adds a option to create blank/scratch mesh frame (vertices/faces)
2021-07-13 07:37:46 +02:00
Nyall Dawson
59f7b4cc07 Remove duplicate code 2021-07-13 06:39:11 +10:00
Nyall Dawson
61c842165d Commit missed file 2021-07-13 06:39:11 +10:00
Nyall Dawson
220bcb0114 Rework QgsMapLayerFactory.createLayer API so that we can specify additional options 2021-07-13 06:39:11 +10:00
Nyall Dawson
5cb167b013 Fix warning 2021-07-13 06:39:11 +10:00
Nyall Dawson
d44412ddb8 Can't monkey patch from core into gui classes 2021-07-13 06:39:11 +10:00
Nyall Dawson
d0beaae3a4 Move QgsSublayersDialog::PromptMode enum to Qgis and rename 2021-07-13 06:39:11 +10:00
Nyall Dawson
d44f31000d Start depreating 2021-07-13 06:39:11 +10:00
Nyall Dawson
9796aa3b88 Create new QgsProviderSublayersDialog class
Based on QgsProviderSublayerDetails, this new dialog nicely handles
mixed layer type files (e.g. mixed vector/raster/mesh layer formats).

It also:

- Resolves geometry types in a background thread, to avoid lengthy
application hangs whenever a full table scan is required to determine
available geometry types
- Shows a handy search filter box for filtering sublayers to matching
strings
- Shows icons representing sublayer types
- Has an interactive label showing the file path which can be clicked
to open a file explorer focused on the file
2021-07-13 06:39:11 +10:00
Nyall Dawson
3ff67896a5 Consider sublayers with unknown counts as incomplete details 2021-07-13 06:39:11 +10:00
Nyall Dawson
e685ad00b3 Add methods to return QgsProviderSublayerDetails corresponding
to QModelIndex
2021-07-13 06:39:11 +10:00
Nyall Dawson
c04140443b Equality operator for QgsProviderSublayerModel.NonLayerItem 2021-07-13 06:39:11 +10:00
Alessandro Pasotti
91370a9082
Merge pull request #44051 from elpaso/connections-api-results-widget
Connections api results widget
2021-07-10 15:30:37 +02:00
Sandro Mani
3abd80cffa Update qgspathresolver.sip.in 2021-07-10 06:35:19 +10:00
Matthias Kuhn
f0838764b8
Merge pull request #43854 from gacarrillor/addtopologicalpoints_results
Fix return value of addTopologicalPoints(QgsGeometry)
2021-07-08 17:34:25 +02:00
mhugent
011478ea06
Merge pull request #43838 from mhugent/annotation_inline_html
Feature: Annotation item inline html
2021-07-08 09:56:04 +02:00
Mathieu Pellerin
8a4683f737
[feature][exiftools] Implement tags reading, allow for individual tag value read (#44076) 2021-07-08 14:13:25 +07:00
Alessandro Pasotti
aaff7cebf3
Merge pull request #43520 from Gustry/version
[CLI] Add --version and -v to know QGIS version
2021-07-07 15:25:40 +02:00
Alessandro Pasotti
878b2436a5 Address PR comments - part 2 2021-07-07 12:43:14 +02:00
Sandro Mani
d3d75a1d8d
Merge pull request #43871 from kadas-albireo/extent_for_scale
Add QgsMapSettings::computeExtentForScale and QgsMapSettings::computeScaleForExtent
2021-07-07 11:01:30 +02:00
nirvn
09760f07f0 Preserve python compatibility 2021-07-07 13:46:11 +07:00
nirvn
4b52b7be7f Move QgsExifTools utility class to core 2021-07-07 13:46:11 +07:00
Alessandro Pasotti
78a42cf7e8 Address PR comments 2021-07-06 21:02:25 +02:00
Alessandro Pasotti
7460e4f777 Doxy 2021-07-06 21:00:55 +02:00
Alessandro Pasotti
24a9c1a17a FetchMore API Override 2021-07-06 21:00:55 +02:00
Alessandro Pasotti
06495f05f5 Final touches 2021-07-06 21:00:54 +02:00
Alessandro Pasotti
d819069598 Revert to conn pool 2021-07-06 21:00:54 +02:00
Alessandro Pasotti
eea1eb48fa Fetch more in the model 2021-07-06 21:00:54 +02:00
Alessandro Pasotti
2c9662bcf1 Truncating localized delegate + optimization 2021-07-06 21:00:54 +02:00
Alessandro Pasotti
628e95ff98 Forward databaseConnection to parent item for layer items
... and preset SQL in query dialog
2021-07-06 21:00:54 +02:00
Alessandro Pasotti
f1a5014121 Catch SQL filter dialog connection errors (never seen in the wild) 2021-07-06 21:00:54 +02:00
Alessandro Pasotti
233a8097ba Add rowCount to connections API
+ fix memory leak in API fetcher
+ add progress bar to result widget
2021-07-06 21:00:54 +02:00
Alessandro Pasotti
357fa9c4d8 Add progress bar and minor UX changes 2021-07-06 21:00:54 +02:00
Alessandro Pasotti
9384c78939 Add base tests for create SQL layer 2021-07-06 21:00:54 +02:00
Alessandro Pasotti
927669df2b Move target to 3.22 2021-07-06 20:59:58 +02:00
Alessandro Pasotti
aa6c1bd5ed Add flag for select at id in the result dlg 2021-07-06 20:58:36 +02:00
Alessandro Pasotti
dfc5648204 Remove method and fix widget hiding 2021-07-06 20:58:36 +02:00
Alessandro Pasotti
27eb5743ad Provider QSCI APIs for sqlite and PG 2021-07-06 20:58:36 +02:00
Alessandro Pasotti
34c5cdcf2d Handle fid and geom cols in GPKG exec sql 2021-07-06 20:58:35 +02:00
Alessandro Pasotti
cf260226a3 Create SQL layer and widget config based on enum 2021-07-06 20:56:07 +02:00
Alessandro Pasotti
af44d35d74 Doxy 2021-07-06 20:53:59 +02:00
Alessandro Pasotti
9adbdfa8bf Fix crash QsciAPIs is destroyed while worker running 2021-07-06 20:53:59 +02:00
Alessandro Pasotti
4201942bdd Rebase 2021-07-06 20:53:59 +02:00
Alessandro Pasotti
1a94b07454 Better error handling/reporting 2021-07-06 20:53:59 +02:00
Alessandro Pasotti
9fc81ffb0f Move to thread the first phase of the query (before the iterator) 2021-07-06 20:53:59 +02:00
Alessandro Pasotti
b988ca87e2 SQL results widget: add query layers support (initial) 2021-07-06 20:53:59 +02:00
Alessandro Pasotti
cc709a0d02 Query result widget files and tests 2021-07-06 20:52:19 +02:00
Alessandro Pasotti
079264ebc4 Message bar and other improvements: working! 2021-07-06 20:52:19 +02:00
Alessandro Pasotti
d914a50b63 QgsQueryResultWidget 2021-07-06 20:52:19 +02:00
Nyall Dawson
81ecf97d0f Fix PyQGIS docs formatting of QgsAbstractDatabaseProviderConnection class 2021-07-06 18:13:58 +10:00