14 Commits

Author SHA1 Message Date
Alexander Bruy
35e387c44c add more QNetwork classes to 2to3 script 2016-12-06 18:56:23 +02:00
drnextgis
c9058eddf7 Add QIntValidator and qVersion to fix_pyqt 2016-12-01 17:14:35 +01:00
drnextgis
b59fc04b0b Fix mapping for 2to3 fix_pyqt 2016-12-01 14:42:31 +01:00
drnextgis
e9b835a376 Add QEventLoop to fix_pyqt 2016-12-01 15:07:14 +07:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
Juergen E. Fischer
8af5edce12 pyqtwrapper: update some remaining scripts 2016-03-25 10:42:17 +01:00
Juergen E. Fischer
45c9ea2355 2to3:
* drop libpasteurize.fixes.fix_division
* replace lib2to3.fixes.fix_import with libfuturize.fixes.fix_absolute_import (with PyQt exclude plus AlgorithmsTestBase)
* drop lib2to3.fixes.fix_print (replaced with libfuturize.fixes.fix_print_with_import)
2016-03-23 01:14:33 +01:00
Juergen E. Fischer
d25c253d87 2to3:
* add fixes
* pyqt fixer: include some QtSql symbols and remove imports
  which only symbol was removed (eg. SIGNAL)
2016-03-21 16:59:30 +01:00
Juergen E. Fischer
4151a3b693 2to3: remove empty imports 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
7128a353a2 add 2to3 script to migrate (some) PyQt signal/slots to new style 2016-02-10 01:32:13 +01:00
Juergen E. Fischer
65afdcf2aa indentation fix 2016-02-09 10:03:21 +01:00
Juergen E. Fischer
d57b2fa384 add 2to3 script to migrate PyQt4 to PyQt wrappers 2016-02-09 02:50:18 +01:00