17 Commits

Author SHA1 Message Date
Denis Rouzaud
0f032e5f2d run pre-commit on all files 2024-11-29 15:38:02 +01:00
Matthias Kuhn
fd663cc021 [plugins] Remove dependency on pyuic
Eases plugin development and deployment
2024-06-22 14:34:06 +02:00
Nyall Dawson
eece497f3e Remove redundant coding lines 2024-05-10 13:56:49 +10:00
Nyall Dawson
29a87bf0fc Fix enums in console 2024-01-19 19:44:48 +10:00
Alexander Bruy
7823025b8d [python console] remove 'u' prefixes from strings (fix #18171) 2018-02-23 10:39:08 +02:00
Juergen E. Fischer
6dfedc38e9 translation string fixes and cleanups 2018-02-15 22:31:15 +01:00
Salvatore Larosa
52efa5c36e [pyqgis-console] fix missing import for pap file compiler 2017-11-28 21:05:11 +01:00
Juergen E. Fischer
6ed389c8e8 fix translation string again and improve translation scripts (followup 79a095cb) 2017-08-05 23:01:42 +02:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
Matthias Kuhn
e133b42896 Enable console with Python3 / PyQt5 2016-03-29 08:20:43 +02:00
Juergen E. Fischer
885d0ec993 python console: switch to pyqt wrappers and new style signals, flake8 fixes, show exceptions in console also with pyqt5 2016-03-21 17:00:25 +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
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +02:00
Salvatore Larosa
f6a1b7e202 [pyqgis-console] fix missing import in compile apis script 2015-02-17 23:43:02 +01:00
Juergen E. Fischer
956c155e8f fix python pep8 warnings and fix some revealed errors
pep8 --ignore=E111,E128,E201,E202,E203,E211,E221,E222,E225,E226,E227,E231,E241,E261,E265,E272,E302,E303,E501,E701 \
     --exclude="ui_*.py,debian/*,python/ext-libs/*" \
     .
2015-02-01 20:46:47 +01:00
Salvatore Larosa
2b2e452ba9 [pyqgis-console] fixes translation strings: avoids UnicodeEncode error 2013-08-10 15:04:58 +02:00
Salvatore Larosa
3b4dfd724d [FEATURE] [pyqgis-console] Module to generate prepared APIs for calltips and auto-completion 2013-06-11 14:16:58 +02:00