82 Commits

Author SHA1 Message Date
Salvatore Larosa
20ce2343cb [pyqgis-console] fix import statement 2016-03-31 22:53:10 +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
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
Chris Mayo
6b42bad753 [pyqgis-console] Don't import pyqtconfig
pyqtconfig may not have been installed by PyQt4, leading to an error.

Was used to test for qt_version >= 0x40700 but CMakeLists.txt now checks
for QT_MIN_VERSION 4.8.0
2015-12-30 20:32:07 +00:00
Salvatore Larosa
c866dcce8f [pyqgis-console] fixes #13693: fix default value in settings for the last used directory when opening a script file 2015-10-28 14:52:29 +01:00
Nyall Dawson
9287ee7d40 [console] Move run button earlier in console editor toolbar
Otherwise on small screens the run button is hidden away in the
overflow menu, which isn't ideal given its importance
2015-10-11 16:36:10 +11: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
Nathan Woodrow
a05a970dff Add open in external editor to console 2015-08-17 23:25:26 +10:00
Nathan Woodrow
9acc475197 Move python console toolbar to top. More uniform with rest of UI 2015-08-08 23:09:20 +10:00
Nyall Dawson
310419566b Switch to 16x16 pixel icons for python console for consistency with other dock toolbars 2015-05-31 09:43:31 +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
Salvatore Larosa
5a01b98e3c [pyqgis-console] restore previously loaded scripts only when editor is instanced 2014-10-08 15:34:35 +02:00
Nathan Woodrow
4d30e05447 [Python Console] Don't set custom background for editor toolbar 2014-10-02 23:06:02 +10:00
Nathan Woodrow
d42c24f28c Restore tabs on Python console load 2014-08-13 22:43:58 +10:00
Juergen E. Fischer
3f6233079b python console: workaround for PyQt 4.11 problem 2014-06-17 13:10:58 +02:00
Salvatore Larosa
1bf41063ca [pyqgis-console] fixes save as action in editor 2014-01-08 18:33:19 +01:00
Salvatore Larosa
049edb2b10 [pyqgis-console] added more settings for fonts color 2013-09-19 13:17:13 +02:00
Salvatore Larosa
2d728d7f4c [pyqgis-console] reject changes in settings if they are not applied 2013-09-17 00:12:22 +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
Alexander Bruy
ec82b52d88 update console for sextante renaming 2013-08-20 12:04:46 +03:00
Salvatore Larosa
2b2e452ba9 [pyqgis-console] fixes translation strings: avoids UnicodeEncode error 2013-08-10 15:04:58 +02:00
Nathan Woodrow
272400e30d Use positional for str.format(). Fix #8277 2013-07-12 22:03:48 +10: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
085f636962 [pyqgis-console] set default value for splitters state 2013-05-29 23:51:26 +02:00
Salvatore Larosa
bc726dcbb5 more update to console for sipapiv2 2013-05-29 17:30:12 +02:00
Matthias Kuhn
a0b451593f Set default values for python console settings 2013-05-29 15:02:28 +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
Salvatore Larosa
022ca43995 [pyqgis-console] fix for save as in tabbar context menu 2013-05-22 17:59:13 +02:00
Salvatore Larosa
2a9e0aee91 [pyqgis-console] enables to select multiple files to load in the file editor 2013-05-22 17:59:13 +02:00
Juergen E. Fischer
65d3535fc5 - Quantum GIS => QGIS update
- integrate PythonConsole help into main translation
- allow referencing QGIS images in context help(viewer)
2013-05-20 16:48:51 +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
Salvatore Larosa
0175a8053d [pyqgis-console] uses QFileInfo instead of os.path to check if file exists
- minor fixes and cleanup
2013-05-16 01:11:09 +02:00
Radim Blazek
8f363b570e python console setPlaceholderText qt < 4.7 fix 2013-05-15 16:43:12 +02:00
Salvatore Larosa
256684134c [pyqgis-console] allow to disable the object inspector from settings (default it is disabled)
- fixes some translation string
2013-05-15 15:25:50 +02:00
Salvatore Larosa
41932dfcca [pyqgis-console] again more fixes and cleanup (for the editor) 2013-05-13 21:03:57 +02:00
Salvatore Larosa
0a5e09a69c [pyqgis-console] minor fixes: followup a60e74a 2013-05-12 10:09:09 +02:00
Salvatore Larosa
a60e74a01e [pyqgis-console] a simple syntax checker for the editor
- some fixes and code cleanup
2013-05-11 23:45:37 +02:00
Juergen E. Fischer
42929762a6 localize support links 2013-05-10 09:15:13 +02:00
Salvatore Larosa
9e5b889ac3 [pyqgis-console] add scroll area for settigs dialog
- does also the last tab closable
- fixes some translate string and warns the user
  if the file has been deleted
- minor fixes
2013-05-07 16:21:54 +02:00
Salvatore Larosa
eb47ff5d8a [pyqgis-console] fix typo and indentation update 2013-05-05 20:47:59 +02:00
Salvatore Larosa
507756a7f7 [pyqgis-console] add a context menu for tabs 2013-05-05 20:40:24 +02:00
Salvatore Larosa
d3f9dd5dc4 [pyqgis-console] fixes translation strings 2013-05-04 23:44:18 +02:00
Salvatore Larosa
fb91f76c19 [pyqgis-console] minor fixes and cleanup 2013-05-04 23:27:21 +02:00