Salvatore Larosa
bc71fae005
[pyqgis-console] fix byte conversion
2020-09-21 17:19:57 +02:00
nirvn
2f36e18d11
[python console] Add help links to the PyQGIS API and Cookbook pages
2020-06-03 11:45:13 +07:00
Nyall Dawson
cce5c4e802
[console] Correctly save settings when exiting app
...
The closeEvent approach which was previously used is not reliable
on application exit, so manually force a settings save in this case too.
Avoids loss of command history when closing QGIS
Also remove the manual "Save" history action, as it's redundant
2018-12-06 05:42:47 +10:00
nirvn
6b3ebfc019
harmonize open script icons
2018-05-20 15:50:31 +07:00
nirvn
b0e93a175c
[python console] update toolbar icon and action position
...
(harmonize position with the processing script editor)
2018-05-20 15:50:31 +07:00
Felis Pimeja
198bf77208
Vectorize console icons ( #6515 )
2018-03-09 09:53:53 +07: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
Nyall Dawson
77e54d3502
[console] Make console action checkable, and bring behaviour into
...
line with style dock/processing toolbox
Where the action is checked only if the dock is open and user visible,
and checking the action brings hidden tabs to the foreground instead
of closing them.
2018-01-30 14:33:06 +11:00
Nyall Dawson
0f79bfba1c
Use svg version of python console icon, courtesy of @pkinglinz ( #6016 )
2018-01-09 10:33:08 +07:00
Salvatore Larosa
77f5959a7a
[pyqgis-console][ui] move find text tools to toolbar widget
2017-11-28 23:40:29 +01:00
Gary Sherman
43a9bc1481
Make case consistent for description of Run Script tool in Python console
2017-09-27 07:52:52 -08:00
Alexander Bruy
4115d06fba
remove context help popup on console opening
2017-09-12 15:47:25 +03:00
Alexander Bruy
999d93ad6e
[console] return home directory as string instead of QDir instance ( fix #17106 )
2017-09-12 15:47:25 +03:00
Harrissou Sant-anna
6e3aba342c
Fix Python console web link
2017-08-22 07:51:23 +02:00
Jorge Gustavo Rocha
c9de9b22f9
Fix links to current documentation
2017-08-09 22:18:00 +02:00
Jorge Gustavo Rocha
3a103b7c62
Refactoring of all help calls, deprecating QgsContextHelp and the former helviewer
2017-08-09 09:27:29 +02:00
Nyall Dawson
2d88a4d73a
Fix failing tests
2017-08-07 05:40:13 +10:00
Nyall Dawson
cad54f2cea
Fix incorrect icon sizes in Python console
...
Console was not respecting application icon size setting
2017-08-07 05:24:12 +10:00
Nyall Dawson
05a039b173
[needs-docs] Remove python console "import class" action
...
Since these classes are always imported by default, there's no
need for a toolbar action to manually import them
2017-08-06 23:52:52 +10:00
Juergen E. Fischer
ecc5bb508e
pep8/pyflakes3 cleanups
2017-03-04 02:38:15 +01:00
Juergen E. Fischer
a10c890383
More QgsSettings updates:
...
* revives WMS
* QgsSettings::clear() added
* section added to QgsSettings::contains()
* type parameter added to sip binding of QgsSettings.value()
* TODO: customization & evis
2017-03-04 02:37:59 +01:00
Juergen E. Fischer
31df84aa6b
run 2to3 on source
2016-09-21 23:30:04 +02:00
Juergen E. Fischer
6b8130d54d
remove pngs which are available as svg
...
(cherry picked from commit 1cbb842feb393b7bab2b31b2e970c48816c58d3c)
2016-09-11 22:33:41 +02:00
Nyall Dawson
eba6101357
Fix broken python save/open dialogs under PyQt5
...
Will break stuff under PyQt4... oh well, better stuff working on Qt5
then Qt4
2016-09-05 11:41:49 +10:00
Denis Rouzaud
8071acd064
move PyQt compat folder to python/qgis
2016-04-29 14:10:26 +02:00
Matthias Kuhn
166466159f
QShortcut is in widgets, not gui
2016-04-15 11:25:27 +02:00
Matthias Kuhn
8047a569e3
Fix console import menu and add tests
2016-04-15 11:05:29 +02:00
Nyall Dawson
99210ecfd7
[FEATURE][console] Improvements to find functionality
...
- add key shortcut to open find widget, set focus to find text input
automatically (uses default shortcut for DE, eg usually Ctrl+F)
- add key shortcuts for find next/previous (using default DE
shortcut, eg Ctrl+G/Shift+Ctrl+G)
- automatically find first match when typing in find box
- set initial find string to selection when opening find
- pressing Escape closes the find bar
2016-04-15 07:51:58 +10:00
Matthias Kuhn
fe314754c6
Fix console errors
2016-04-14 12:15:12 +02:00
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