Denis Rouzaud
0f032e5f2d
run pre-commit on all files
2024-11-29 15:38:02 +01:00
Yoann Quenach de Quivillic
ea75091351
Switch to QWebEngineView if available
2024-11-14 09:54:48 +10:00
Yoann Quenach de Quivillic
b2f3876e38
Apply suggestions from review
2024-11-14 09:54:48 +10:00
Yoann Quenach de Quivillic
08ae213fc0
Add settings
2024-11-14 09:54:48 +10:00
Matthias Kuhn
52f98f8c83
Merge pull request #57834 from m-kuhn/no_pyuic
...
[plugins] Remove dependency on pyuic
2024-06-30 08:44:08 +02:00
Nyall Dawson
5c3d9d21f3
Move Github token setting to new "IDE" options page
...
This setting doesn't apply to only the Python Console, so it
belongs in a different settings page
2024-06-24 18:40:00 +10:00
Matthias Kuhn
fd663cc021
[plugins] Remove dependency on pyuic
...
Eases plugin development and deployment
2024-06-22 14:34:06 +02:00
Nyall Dawson
970196c84a
Expose setting for external Python editor
...
Adds user visible option to set the external Python code editor,
from the Settings - Options - IDE - Python tab.
2024-06-22 06:41:05 +10:00
Nyall Dawson
eece497f3e
Remove redundant coding lines
2024-05-10 13:56:49 +10:00
Denis Rouzaud
4e10546b4b
follow-up refctoring settings for code editor
2023-03-21 09:44:19 +10:00
Nyall Dawson
56ce8ca673
Add reset buttons to numeric controls
2023-03-20 16:06:24 +10:00
Nyall Dawson
a6b4742e97
Use settings registry for new settings
2023-03-20 16:06:24 +10:00
Yoann Quenach de Quivillic
4c74bd99c8
Populate combo box in code rather than in ui
2023-03-17 10:52:08 +10:00
Yoann Quenach de Quivillic
0f84e095b7
Add isort (sort imports)
2023-03-17 10:52:08 +10:00
Yoann Quenach de Quivillic
63a48983d9
Add black formatter
2023-03-17 10:52:08 +10:00
Yoann Quenach de Quivillic
3c97906bbf
Add formatting options
2023-03-17 10:52:08 +10:00
Yoann Quenach de Quivillic
e6f2fc1288
Add autoSurround setting
2023-01-11 07:33:27 +10:00
Yoann Quenach de Quivillic
451317b783
Set autoCloseBracket default value to True
2023-01-11 07:33:27 +10:00
Yoann Quenach de Quivillic
e992797f8b
Restore autoCloseBracket settings and factorize autoInsertImport
2023-01-11 07:33:27 +10:00
Yoann Quenach de Quivillic
f98266b768
Get rid of the old autoCloseBracket setting
2023-01-11 07:33:27 +10:00
Nyall Dawson
550a1d3a52
Factories can specify a path to add their pages to the options tree
2021-07-29 15:48:53 +10:00
Nyall Dawson
e7a34f33cb
Console options widget is not a dialog
2020-10-06 03:57:50 +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
Nyall Dawson
47236421af
[needs-docs] Move Python Console settings for font colors and family
...
to new "Code Editor" tab in options dialog
These settings apply to more than just the Python console editors -
rather they apply to all code editors across QGIS (including expression
editors)
2020-10-05 13:24:46 +10:00
Nyall Dawson
ad946d45c8
Ensure colors in Python console match colors for Python editors
...
used elsewhere in the application
2020-10-04 05:02:57 +10:00
Salvatore Larosa
7c476d176a
[pyqgis-console] fix instance attibute name
2020-10-03 08:46:35 +02:00
Salvatore Larosa
f32725658f
[pyqgis-console] fix missing import, amd minor fixws to UI
2020-10-03 09:11:32 +10:00
Salvatore Larosa
4fea3ed822
[pyqgis-console] move console options to main app options
2020-10-03 09:11:32 +10:00
Salvatore Larosa
4347e81202
[pyqgis-console] adress some comment: add button to link at generate token page
2020-09-27 04:55:13 +10:00
Salvatore Larosa
c92e873815
[pyqgis-console] using gist to share snippets instead of codepad
2020-09-27 04:55:13 +10:00
Richard Duivenvoorde
982e4f1262
Rename BaseClass to QgsPythonConsoleBase
2020-09-03 16:03:25 +02:00
Richard Duivenvoorde
09fc2e6aa9
Merged console and editor settings stuff
...
So the Editor and Console etc share one set of settings:
- Merged Editor and Console settings-tabs in one Settings tab in the settings dialog
- Removed the Editor ui from the settings dialog
- Changed all names of settings in Editor so it uses the normal/console settings
2020-08-27 22:53:21 +02:00
Richard Duivenvoorde
a48e85a512
Move color info to base class and use those
2020-08-27 19:03:03 +02:00
Richard Duivenvoorde
6162f48d30
Get rid of all the ColorEditor stuff
2020-07-08 20:26:43 +02:00
nirvn
9cf6bbf424
Improve default color scheme for python console & script editor
2018-05-22 17:56:25 +07:00
nirvn
45b045d212
Fix missing color settings for python console / script editor
2018-05-22 13:31:29 +07:00
Mathieu Pellerin
a7397b1726
[python console] improve settings UI ( #7041 )
...
- improve UI spacing
- harmonize reset icon
2018-05-21 16:48:43 +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
a77950cbf6
SIP, indentation and documentation updates
2017-09-05 09:53:48 +10:00
Tim Sutton
0d092f9212
Python console ( #4550 )
...
* Use tabbed view for python console settings. Allow fonts larger that 15pt in console and python editor.
* Make the python console settings list look more like the C++ implemented settings dialogs.
* Use scroll areas in python console settings to prevent widget squashing
* Fix python console settings icons
* updating python console settings to be part of main QGIS settings
* Revert "updating python console settings to be part of main QGIS settings"
This reverts commit a811d7d7b184fece419f6610321a98f1acc9238f.
2017-08-05 23:45:11 +02:00
Matthias Kuhn
0e09fdacde
Use monospace fonts for console on all platforms
2017-04-12 22:21:59 +02: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
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
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
b39055b39c
indentation update (now including autopep8)
2015-08-22 14:29:41 +02:00