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
Salvatore Larosa
9838ea3dbd
switch all png icons to svg ones for plus and minus signs:
...
followup 33b49ff and a7191ab
2015-06-22 16:22:56 +02: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
ec0f0bea28
indentation update and a few fixed typos
2013-10-24 15:26:39 +02: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
Salvatore Larosa
d8b8089e38
[pyqgis-console] allows to set font color in python lexer
2013-09-14 13:49:01 +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
c735d1a068
[pyqgis-console][ fixes #8230 ] adds a missing default value in settings
2013-07-08 15:46:40 +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
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
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
Alexander Bruy
bac09e99c0
use checkable groupbox instead of separate checkboxes in console
...
settings
2013-05-23 13:33:50 +04: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
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
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
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