17 Commits

Author SHA1 Message Date
Nyall Dawson
b369f1e1b0 Port dbmanager away from compiled resources
These are not recommended, and removed in PyQt6
2024-02-28 11:23:47 +10:00
Julien Cabieces
9d12ae8e6d [PyQt6] Add scope for enums and get rid of PyQt5.XXX import
this has been done automatically with the following comand line

./scripts/3to4/3to4.py --only-qgis3-compatible-changes ./python/plugins/
./scripts/3to4/3to4.py --only-qgis3-compatible-changes ./tests/src/python/
2024-01-10 21:15:27 +10:00
Etienne Trimaille
8f33d5ee70 Upgrade DBManager and Grass plugins to Python 3.X 2023-04-26 08:24:00 +10:00
Harrissou Sant-anna
d6b5b070d8 Remove unicode string notifier from python files 2022-12-11 08:58:21 +01:00
Evan Derickson
4b50c1a7a7 For loops to list comprehension 2021-01-23 16:06:29 -08:00
Nyall Dawson
b6a7a10703 Fix some more python formatting issues, remove more flake exceptions 2020-05-11 11:41:50 +10:00
aroche
6bfd0fd79e fix exception when selecting string function
just a typo causing an exception when selecting a string function in query builder dialog
2016-11-15 12:13:31 +01:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
arnaud.morvan@camptocamp.com
8e5b28f3bb [db_manager] Fix #14796 - Quote values depending on data type in query builder 2016-05-29 23:59:03 +02:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
Juergen E. Fischer
c55f8b73f0 db_manager: cleanups 2016-03-21 17:00:24 +01:00
Juergen E. Fischer
8bda5c00a5 db_manager: migrate to new style signals 2016-03-15 23:46:54 +01:00
Juergen E. Fischer
c6d921729e python fixes:
* issues identified by pyflakes (star and unused imports)
* pyqtwrapper: add QtSvg
* some exceptions e.message => unicode(e)
* some translations tr("..." % foo) => tr("...") % foo
* TODO:
  python/console/console_sci.py:547 QsciScintillaCompat?
  python/plugins/db_manager/dlg_query_builder.py:304 pop_up_error?
2016-03-15 17:25:23 +01:00
Juergen E. Fischer
fb3fcfa3a0 Python3/Qt5/2to3 updates:
* pyqtwrappers update (add QtNetwork, QtXml, QtSql, QtTest, uic)
* 2to3 updates
* move QPyNullVariant/NULL to PyQt.QtCore
* add global unicode/basestring/long for Python3
* expand QtGui, QtCore module and star exports
* Qscintilla2
* replace Set import with set builtin
2016-03-14 20:38:20 +01:00
Juergen E. Fischer
4d2c10800d typo fixes 2016-01-21 22:22:39 +01:00
Juergen E. Fischer
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +02:00
Hugo Mercier
4876e7a2be [DBManager] Integrate QSpatialite's query builder 2015-05-04 17:19:09 +02:00