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
Nyall Dawson
d6346c882b
Use clearer cut/copy/paste icons in python console
2016-02-26 11:46:52 +11:00
Nyall Dawson
72df8901f5
Clean up python console toolbars/menus:
...
- Consistent capitalization
- Add missing ellipsis
- Rename "settings" to "options" for consistency with main window
- Remove some excessive use of separators
2016-02-24 14:06:40 +11:00
Nathan Woodrow
1b435ed965
[Py Console] Remove message on file change
2015-11-03 10:30:37 +10:00
Juergen E. Fischer
b39055b39c
indentation update (now including autopep8)
2015-08-22 14:29:41 +02:00
Nyall Dawson
46da64a88e
[console] Better handling of default paths for open/save dialogs
2015-08-18 15:12:22 +10:00
Nyall Dawson
15e452e918
[console] Allow running unsaved script files
...
Previously a (non-default) option existed for auto-saving scripts
on run, which would overwrite the existing script file if set, or
save the script to a temporary file before running.
Now, the auto-save option only applies to scripts which have
already been saved an have a filename.
By default the console now can run scripts without filenames,
or scripts with changes by transparently saving them out to a
temporary file.
2015-08-18 15:12:14 +10: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
Juergen E. Fischer
d4f64d9bde
indentation update and typo fixes
2014-11-13 23:13:13 +01:00
Salvatore Larosa
a0f8060f98
[pyqgis-console] small fix
2014-10-24 09:18:56 +02:00
Nathan Woodrow
d42c24f28c
Restore tabs on Python console load
2014-08-13 22:43:58 +10:00
Salvatore Larosa
f21562c86f
[pyqgis-console] fixes #9097 (thanks to Minoru Akagi)
2013-12-02 08:05:06 +01:00
Salvatore Larosa
5f916b4009
[pyqgis-console] fixes some translation string
2013-11-02 18:40:26 +01:00
Salvatore Larosa
049edb2b10
[pyqgis-console] added more settings for fonts color
2013-09-19 13:17:13 +02:00
Salvatore Larosa
dc1824f560
[pyqgis-console] added some typing setting:
...
- auto insertion "import" string
- auto insertion "):" for classes and methods
2013-09-15 23:31:46 +02:00
Salvatore Larosa
d8b8089e38
[pyqgis-console] allows to set font color in python lexer
2013-09-14 13:49:01 +02:00
Salvatore Larosa
28dbe74ba5
[pyqgis-console] fix undo/redo actions when autocompletion bracket is enabled
2013-09-09 01:18:09 +02:00
Salvatore Larosa
aebf27eb0e
[pyqgis-console] fix autocompletion in editor after 6e19748
2013-09-08 23:56:26 +02:00
Salvatore Larosa
c2310fdbdb
[pyqgis-console] small fix for autocompletion bracket, also sets to False the default setting
2013-08-27 13:21:53 +02:00
Salvatore Larosa
2b2e452ba9
[pyqgis-console] fixes translation strings: avoids UnicodeEncode error
2013-08-10 15:04:58 +02:00
Salvatore Larosa
577a72baf5
[pyqgis-console] more encoding fix.
2013-08-10 01:27:11 +02:00
Salvatore Larosa
d821bcc31b
[pyqgis-console] encoding to utf-8 when open or save a script file: again fixes for non-ascii chars
2013-08-07 16:38:40 +02:00
Salvatore Larosa
3644402bc7
[pyqgis-console][ fix #8392 ] automatically removes the redundant char when autoclosing brackets option is enabled
2013-08-02 15:42:55 +02:00
Juergen E. Fischer
5d3223127d
sync qgsrasterblock sip (followup eaa27aa4f)
2013-07-22 17:20:56 +02:00
Nathan Woodrow
d0d2511d13
Auto save Python script file
2013-07-22 08:49:08 +10:00
Nathan Woodrow
1b63204921
Don't show messagebar for syntax check. No need
2013-07-14 09:36:05 +10:00
Nathan Woodrow
e394cfb4fd
Use exec file for python console
2013-07-14 09:36:04 +10:00
Nathan Woodrow
272400e30d
Use positional for str.format(). Fix #8277
2013-07-12 22:03:48 +10:00
Salvatore Larosa
57cb57537e
Merge pull request #619 from slarosa/generate_pap
...
[FEATURE] Module to generate prepared APIs file for call tips and auto-completion in Python Console
2013-06-11 17:24:02 -07:00
Salvatore Larosa
1bfa97091c
[pyqgis-console] improving to auto closing bracket
2013-06-11 20:01:59 +02:00
Salvatore Larosa
a415950d63
[pyqgis-console] another updating to new SIP API
2013-06-11 18:20:26 +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
Salvatore Larosa
780772f37c
[pyqgis-console] fixes for the new SIP APIs
2013-06-08 23:34:50 +02:00
Nathan Woodrow
e6f98362dc
Merge master
2013-06-08 15:59:04 +10:00
Salvatore Larosa
8201335835
[pyqgis-console] update help
...
- shows help at the first launch of the console
2013-06-03 18:51:34 +02:00
Salvatore Larosa
24bffbf262
[pyqgis-console] shows info messages also for temporary scripts
2013-05-31 23:46:53 +02:00
Salvatore Larosa
b1843de774
[pyqgis-console] again more upadte for sip api v2
2013-05-29 23:23:17 +02:00
Salvatore Larosa
bc726dcbb5
more update to console for sipapiv2
2013-05-29 17:30:12 +02:00
Nathan Woodrow
17d424340e
Start sipapi update
2013-05-29 22:08:16 +10:00
Salvatore Larosa
35489cc174
[pyqgis-console] changes and cleans up some icon
2013-05-25 00:30:23 +02:00
Alexander Bruy
bac09e99c0
use checkable groupbox instead of separate checkboxes in console
...
settings
2013-05-23 13:33:50 +04:00
Salvatore Larosa
022ca43995
[pyqgis-console] fix for save as in tabbar context menu
2013-05-22 17:59:13 +02:00
Juergen E. Fischer
bb04e70d4c
yet another german translation update
2013-05-22 02:45:25 +02:00
Salvatore Larosa
9242170d8d
[pyqgis-console] small fixes
2013-05-22 01:52:24 +02:00
Salvatore Larosa
3f58142a4a
[pyqgis-console] increases height of the row in QListView and QTreeWidget for Windows OS
...
- small fixes for the run script command
2013-05-22 00:20:07 +02:00
Salvatore Larosa
51d73a94e5
[pyqgis-console] fix translation string
2013-05-20 11:02:09 +02:00
Salvatore Larosa
942d6bfa5d
[pyqgis-console] allow to disable automatic parentheses insertion from settings:
...
- fix: add Shift+Insert to paste action
- fix: set default Monospaced font at the first start
- allow to save state for console splitter
- fix for mousePressEvent into console
2013-05-20 01:58:41 +02:00
Salvatore Larosa
acacf84845
[pyqgis-console] adds more options to find text in the editor
2013-05-19 00:43:57 +02:00