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
Nyall Dawson
129ab50607
Add QgsProviderSublayerProxyModel for filtering/sorting
...
QgsProviderSublayerModel instances
2021-07-06 17:57:21 +10:00
Nyall Dawson
73f45ee467
Allow non sublayer items to be added to QgsProviderSublayerModel
...
E.g. embedded project items
2021-07-06 17:57:21 +10:00
Nyall Dawson
288321505a
Start on sublayer model
2021-07-06 17:57:21 +10:00
mhugent
ec374d5ad2
Merge pull request #43927 from mhugent/raster_legend_placeholder_icon
...
Feature: possibility to use placeholder icon in legend for raster layer. funded by [Canton of Glarus] [https://www.gl.ch/verwaltung/bau-und-umwelt/hochbau/raumentwicklung-und-geoinformation/geoportal-kanton-glarus.html/808 ]
2021-07-03 15:12:18 +02:00
Nyall Dawson
39fbd77df7
Add API to export layers to QLR with easy control over whether
...
absolute or relative paths are used
2021-07-03 06:39:36 +10:00
Nyall Dawson
ee141a1a8e
Add enum Qgis::FilePathType and add proper stable api for setting
...
whether QgsProject uses absolute or relative paths for file storage
2021-07-03 06:39:36 +10:00
Marco Hugentobler
f287872798
Use application image cache
2021-07-02 13:21:49 +02:00
Marco Hugentobler
b7b9470a68
Possibility to select an image as legend placeholder
2021-07-02 13:20:10 +02:00
Marco Hugentobler
991f935944
Feature: possibility to use placeholder icon in legend for raster layer
2021-07-02 13:20:10 +02:00
Nyall Dawson
c8156b0106
Add c++20 todo for replacing equality operators with default implementations
2021-07-02 12:19:58 +10:00
Nyall Dawson
65bccd2c61
Add equality operator for QgsProviderSublayerDetails
2021-07-02 12:19:58 +10:00
Nyall Dawson
ced5910bc8
Fix race
2021-07-02 09:49:33 +10:00
Nyall Dawson
7dec3050f6
Fix dox
2021-07-02 09:49:33 +10:00
Nyall Dawson
1355b39be0
Add QgsProviderUtils with a method for determining whether a list
...
of sublayer details is incomplete and requires a more in-depth scan
2021-07-02 09:49:33 +10:00
Nyall Dawson
bed72156f7
Dox
2021-07-02 09:49:33 +10:00
Nyall Dawson
7c6afc0761
Create QgsProviderSublayerTask for retrieving sublayer details in a thread
...
This can sometimes take a looooong time, so it's worth doing in the
background
2021-07-02 09:49:33 +10:00
Nyall Dawson
a51a9c4854
Add QgsIconUtils::iconForLayerType
2021-07-01 17:37:52 +10:00
Vincent Cloarec
db21851bbb
[mesh] mesh frame editing part-2 - start, commit, roll back and cancel ( #43982 )
...
[mesh] allows the user of mesh layers to start editing, save, roll back or cancel editing, in the same way as vector layers (editing part-2)
2021-07-01 08:18:18 +02:00
Nyall Dawson
174d5ee9e0
Ensure python script files saved in the Python console editor use
...
.py file extension
2021-07-01 15:40:20 +10:00
Alessandro Pasotti
8835b2d05e
Merge pull request #43617 from troopa81/fix_htmlwidget_geom
...
Set up cache geometry if HTML widget needs it
2021-06-30 10:49:37 +02:00
Nyall Dawson
d6709e0145
Fix docs, better check
2021-06-29 07:33:35 +10:00
Nyall Dawson
0565c3ffb8
Retain more renderer properties when switching between vector
...
renderer types
2021-06-29 07:33:35 +10:00
Nyall Dawson
849819cd0d
[api] Allow reference scale for vector layer renderer to be set
...
Gives a means of setting the reference scale for a vector layer
renderer, so that symbol sizes in the rendered layer will be
scaled accordingly depending on the actual scale of the
rendered map.
2021-06-29 07:33:35 +10:00
Nyall Dawson
c8da0c43f9
Safer approach to saving common QgsFeatureRenderer properties
2021-06-29 07:33:35 +10:00
Nyall Dawson
54610b293c
[api] Allow a symbology reference scale to be set on a QgsRenderContext
...
This should match the desired scale denominator for the rendered map,
eg 1000.0 for a 1:1000 map render. Set (by default) to -1 to disable
symbology scaling by reference scale.
The symbology reference scale is an optional property which specifies
the reference scale at which symbology in paper units (such as
millimeters or points) is fixed to. For instance, if \a scale is set
to 1000 then a 2mm thick line will be rendered at exactly 2mm thick
when a map is rendered at 1:1000, or 1mm thick when rendered at
1:2000, or 4mm thick at 1:500.
2021-06-29 07:33:35 +10:00
nirvn
19eaec7436
[processing] Clear python command in history dialog when selecting a non-algorithm item (i.e. folder)
2021-06-28 00:15:40 -07:00
nirvn
a777ba8a26
[ui][processing] Fix broken enter key showing help instead of running algorithm in history dialog
2021-06-28 00:15:40 -07:00