Denis Rouzaud
0f032e5f2d
run pre-commit on all files
2024-11-29 15:38:02 +01:00
Julien Cabieces
b264c34245
fix(ColorProject): Add new methods in sql_dictionary
2024-10-01 14:03:55 +10:00
Julien Cabieces
6c2c9b7750
feat(Expression): Add project_color_object function
...
Which contrary to project_color doesn't return a string
representation there is no rgb conversion involved
2024-10-01 14:03:55 +10:00
José de Paula R. N. Assis
b815d34d1e
Using QElapsedTimer instead of QTime in DB Manager
2024-03-05 05:31:11 +10:00
José de Paula R. N. Assis
57d60c7161
DB Manager: tweaks for running Qt6
...
Small tweaks to running in Qt 6(removed obsolete method calls
QTime().start() and QTime().elapsed(), and changed an overloaded slot
(QComboBox::activated()) to a non-overloaded one (textActivated()).
2024-03-05 05:31:11 +10:00
Alexander Bruy
b851e7cbe7
fix use of deprecated API in DB Manager ( fix #54916 )
2024-01-25 06:06:16 +10:00
Nyall Dawson
c16a1e2b3d
Update enums
2024-01-19 19:44:48 +10:00
Alexander Bruy
d0c7c6e930
fix formula for exponential interpolation
...
The scale_exp function renamed to scale_polynomial and has an alias
scale_exp to preserve backward compatibility.
A new function using correct formula was added as scale_exponential.
2023-05-31 09:02:01 +10:00
Etienne Trimaille
8f33d5ee70
Upgrade DBManager and Grass plugins to Python 3.X
2023-04-26 08:24:00 +10:00
nicogodet
ea981d89f9
Homogenize toMapLayer function definition
2021-11-08 10:13:28 +11:00
Andrea Giudiceandrea
828638f661
[DB Manager] Fix No Geometry tables
...
Avoid to add a nonexistent 'geometry' field to the fields list of No Geometry tables.
2021-04-23 08:25:14 +02:00
Andrea Giudiceandrea
2538612a21
[DB Manager] Fix recognition of project layers with Z/M…
...
…or CurvePolygon/MultyCurve/... geometry types as spatial layers.
2021-04-23 08:14:57 +02:00
Nyall Dawson
1040fe8705
Don't silently swallow exceptions in python context managers
...
Notably this causes processing modules to silently fail to load
without any warnings if the required dependancies (such as pyscopg2)
are not installed
2021-03-04 07:39:47 +10:00
Denis Rouzaud
eddf6feb45
modernize CMakeLists.txt files
2020-11-12 07:14:46 +10:00
nirvn
291ba7f2dc
{Qgis,QGis} -> QGIS
2020-06-06 17:45:43 +07:00
Nyall Dawson
b6a7a10703
Fix some more python formatting issues, remove more flake exceptions
2020-05-11 11:41:50 +10:00
Bas Couwenberg
2628c480c5
Don't include revision in sources.
...
Prevent changes to files that weren't changed between releases.
This eases review of the changes between releases significantly.
2019-05-17 16:47:47 +02:00
Nyall Dawson
ac651ee0d9
Followup 8d51a693, fix broken plugins
2019-03-27 07:20:43 +10:00
Denis Rouzaud
8d51a693a1
missing changes of QgsMapLayer::Type => QgsMapLayerType
2019-03-26 14:09:19 -05:00
Ailurupoda
db06040b60
Change != True to not + getComment and commentTable on main file if not needed only
2019-02-08 10:45:49 +01:00
Ailurupoda
9741515fae
Replace db.connector/self + is None
2019-02-08 08:30:48 +01:00
Ailurupoda
8ed7971626
Another fix try
2019-02-07 17:29:25 +01:00
Ailurupoda
f27ecab62f
Fix travis
2019-02-07 16:44:28 +01:00
Ailurupoda
63c010dbb5
Fix create and delete comment from tableProperties
2019-02-07 09:56:48 +01:00
Ailurupoda
f3dfd97d90
New fix, still some need to be done
2019-02-06 17:37:48 +01:00
Ailurupoda
dff185355d
Fix bug comment on postgres and others management
2019-02-06 10:53:56 +01:00
Alessandro Pasotti
cd6ce76480
Quick and dirty patch to DB-Manager after PR 8831
...
The "comments" PR 8831 added support for postgres only
(and broke all the others backends).
I'd be in favor of a revert of the whole original PR but
this patch restores functionality and could be an acceptable
temporary fix until the comments PR is reworked in a more
maintainable and elegant way.
Fixes #21151 btw
2019-02-04 18:26:24 +01:00
Ailurupoda
00852f1642
Update oracle, vlayer, spatialite connector.py
2019-01-23 11:20:24 +01:00
Nyall Dawson
149726cfa5
[dbmanager] Fix exception when browsing project layers
2018-11-10 12:30:52 +10:00
Nyall Dawson
f3e9aaf79a
Fix some inefficient python dictionary iteration
2018-10-31 08:42:51 +10:00
Alessandro Pasotti
15f4138a47
[db-manager] Store exception text in the task and pass it over to the caller
...
Fix #2019 - DBManager fails to display error messages with virtual layers
2018-10-23 14:59:10 +02:00
nirvn
570f3c86c3
[dbmanager] rename QGIS layers to Project layers for the virtual layer connection
2018-06-30 15:43:31 +07:00
nirvn
86547eb5fc
[dbmanager] add connection icon
...
this harmonizes display with that of the browser panel
2018-06-30 15:43:31 +07:00
nirvn
46246f622d
[needs-docs][dbmanager] harmonize icons
2018-06-29 11:56:37 +07:00
Nyall Dawson
d0c14ef0c7
[dbmanager] Fix bad import in vlayers plugin
2018-05-16 14:08:43 +10:00
Harrissou Sant-anna
394aaba060
Trying to make Providers labels translatable
...
in DB Manager tree
2018-05-01 16:07:41 +02:00
Blottiere Paul
ad91694b76
Remove unnecessary cancel subtask
2018-03-02 09:43:26 +00:00
Blottiere Paul
887a226115
Use python super() calls
2018-03-02 09:43:26 +00:00
Blottiere Paul
ad630094c1
More cleaning
2018-03-02 09:43:26 +00:00
Blottiere Paul
a948f1b84d
Some clean
2018-03-02 09:43:26 +00:00
Blottiere Paul
957e92c847
Add async model for virtual layers
2018-03-02 09:43:26 +00:00
Salvatore Larosa
68b7bf6aa8
[dbmanager] porting of dae921c to 3: fixes #16476
2018-02-03 10:53:55 +01:00
JD LOMENEDE
13cb8e4e0b
remove fromOldWkbType (api_break)
2017-11-24 00:21:33 +01:00
Nyall Dawson
75885d70d5
Rename various WKT/WKB/GeoJSON/GML methods for consistency
...
and consistent capitalisation
2017-11-15 20:51:05 +10:00
Mario Baranzini
78af413dcc
Remove python future compatibility layer
2017-08-07 10:27:15 +02:00
Juergen E. Fischer
c77172ed3d
fix more flake8 warnings
2017-03-05 10:21:24 +01:00
Hugo Mercier
f56e6b9d3e
[dbmanager] Fix encoding issues with virtual layers
2017-02-27 10:32:28 +01:00
Denis Rouzaud
6c74e4ea5d
spelling fixes
2017-01-12 22:01:50 +01:00
Martin Dobias
d56a97d4fe
Merge QgsMapLayerRegistry into QgsProject
...
All methods/signals of QgsMapLayerRegistry moved verbatim to QgsProject.
2016-12-10 15:18:12 +08:00
Hugo Mercier
b7fa5400b6
[db manager] Fix virtual layer uid handling
2016-11-22 16:09:53 +01:00