Nyall Dawson
e42abf7dc5
Update python files
2024-01-22 05:46:15 +10:00
Nyall Dawson
c16a1e2b3d
Update enums
2024-01-19 19:44:48 +10:00
Nyall Dawson
4fc5138a28
Upgrade some enum members which are invisible to python introspection
2024-01-19 19:44:48 +10:00
Nyall Dawson
29a87bf0fc
Fix enums in console
2024-01-19 19:44:48 +10:00
Yoann Quenach de Quivillic
d798fd0732
Use embedded messageBar in showMessage
2023-04-18 14:55:32 +10:00
Nyall Dawson
6612506d7b
Remove outdated code
2023-03-30 12:40:06 +10:00
Nyall Dawson
1822998bda
[feature][console] Allow Python console to be toggled between a dock
...
widget and a full main window dialog
Adds the same toggle button as we use for 3d map canvases and attribute
tables to make it super-easy to switch the Python console to a full
main window.
2023-03-30 12:40:06 +10:00
Yoann Quenach de Quivillic
00d279e999
Fix merge error
2023-03-17 10:52:08 +10:00
Yoann Quenach de Quivillic
364bb96850
Change wording format->reformat
2023-03-17 10:52:08 +10:00
Yoann Quenach de Quivillic
ef6de1ff2c
Add format code action in Python Console Editor
2023-03-17 10:52:08 +10:00
Yoann Quenach de Quivillic
fc3847def7
Fix bug introduced by #51913 - Proxy EditorTab attributes to Editor
2023-03-03 12:17:01 +10:00
Yoann Quenach de Quivillic
9c56921cca
Clean up code and fix shortcuts
2023-02-21 14:27:36 +10:00
Yoann Quenach de Quivillic
1c79b4927d
[feature][console] Add toggle comment action in the python console ( #50341 )
...
Adds a toggle comment action in the Python Console and script editors
2023-01-07 09:27:08 +10:00
Nyall Dawson
3786cd178d
Move python console history handling to base QgsCodeEditor class
...
So that other non-python-console code editors can utilise this too
2022-10-24 16:46:11 +10:00
nicogodet
b8b2ceed95
Remove asterisk from file name when using Save As...
2022-04-11 08:22:20 +02:00
Nyall Dawson
174d5ee9e0
Ensure python script files saved in the Python console editor use
...
.py file extension
2021-07-01 15:40:20 +10:00
Salvatore Larosa
deacc51e1e
[pyqgis-console] use play icon to run single command
2020-10-20 08:25:16 +10:00
Salvatore Larosa
cce7aa7315
[pyqgis-console] restore marker icon for syntax check
2020-10-12 09:49:45 +10:00
Nyall Dawson
31dba5453b
Fix test
2020-10-06 17:04:49 +10:00
Nyall Dawson
9093bdfd1e
Don't silently close QGIS with unsaved changes in the console script
...
editors
Instead prompt the user what to do with these changes
Fixes #38529
2020-10-06 17:04:49 +10:00
Nyall Dawson
527e8850ef
Add universal last-resort signal QgsGui::optionsChanged()
...
This signal is emitted whenever the application options have been changed.
This signal is a "blanket" signal, and will be emitted whenever the options dialog
has been accepted regardless of whether or not individual settings are changed.
It is designed as a "last resort" fallback only, allowing widgets to respond
to possible settings changes.
2020-10-05 13:24:46 +10:00
Salvatore Larosa
4fea3ed822
[pyqgis-console] move console options to main app options
2020-10-03 09:11:32 +10:00
Salvatore Larosa
e17913c6ea
[pyqgis-console] add search icon to filterlineedit
2020-09-27 11:14:38 +02:00
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