Commit Graph

51 Commits

Author SHA1 Message Date
0penBrain
e3bc06a341 Gui: add preference to use selected language number formatting, fixes #6330
If not enabled (default), will defaults to C/POSIX formatting
2022-03-17 16:46:01 +01:00
Uwe
eb0e8e215a [Gui] DlgEditor etc.: remove unused includes 2022-03-16 22:57:13 +01:00
wmayer
2dc78804b6 Core: Fix several coverity issues:
* CID 350582: Big parameter passed by value
* CID 350639: Big parameter passed by value
* CID 305234: Uncaught exception
* CID 316529: Uncaught exception
* CID 350597: Uncaught exception
* CID 350623: Uncaught exception
* CID 332690: Uncaught exception
* CID 332700: Unchecked return value
* CID 350576: Uninitialized scalar field
* CID 350587: Uninitialized scalar variable
* CID 192606: Uninitialized scalar field
* CID 332699: Uninitialized pointer field
* CID 350561: Dereference null return value
* CID 350610: Dereference null return value
* CID 350567: Dereference after null check
2022-03-13 13:53:32 +01:00
wmayer
cf49fc7c6d Gui: Attach PythonConsole to parameter group and handle changes in its OnChange() method
This avoids code duplications and makes sure the group name is used only once.
The parameters are saved to the group 'PythonConsole' instead of 'General'.
2022-02-21 19:26:44 +01:00
wmayer
973eb27d7e Gui: move Python console specific settings to its own tab because General is quite overloaded 2022-02-21 17:49:27 +01:00
Chris Hennes
a7e356c865 Preference Packs: Add revert to backup option 2022-02-20 22:12:09 -06:00
Chris Hennes
7a566ea4d8 Gui: Add interface for managing preference packs 2022-02-17 19:51:24 -06:00
marioalexis
19668d2924 Gui: Add option to enable/disable text cursor blinking 2022-01-29 11:05:31 +01:00
marioalexis
ec167207bf Gui: Add functionality to enable/disable block shape cursor in text editor and console 2022-01-26 11:53:29 +01:00
0penBrain
dc4a8e5beb [Gui] Decimal separator substitution : add option in Preferences 2021-11-27 04:30:17 +01:00
Chris Hennes
1076ba0df5 [Gui] PrefPacks - remove "type" parameter
In display, show the "tags" instead.
2021-10-11 13:22:28 -05:00
Chris Hennes
c8a019c312 Improve display of Apply button 2021-09-25 17:17:35 -05:00
Chris Hennes
4427de68c2 Redesign pref pack GUI 2021-09-24 16:09:17 -05:00
Chris Hennes
01ba4030ff Clean up missing directory behavior 2021-08-24 11:49:07 -05:00
Chris Hennes
85b32bb3c8 Fix Linux compilation bugs 2021-08-23 14:43:30 -05:00
Chris Hennes
ada7327dee Enabled Manage... button to show directory 2021-08-21 14:12:51 -05:00
Chris Hennes
554ea62cd1 Add code to ensure unique preference pack names. 2021-08-19 12:29:08 -05:00
Chris Hennes
858e88afe1 [GUI] Add PreferencePack support
Preference Packs are collections of preferences that can be applied en
mass to the user's current setup. Any preference that can be stored in
user.cfg can be stored in a preference pack, and they are designed to be
easy to distribute.

Support is also added for saving a subset of current preferences into a
new preference pack in order to facilitate easy creation of new
"themes", etc.
2021-05-13 09:08:33 -05:00
Chris Hennes
50c7ee36bf [GUI] Remove code for Qt < 5.9 2021-04-02 10:10:37 +02:00
luz paz
298c677873 Gui: Fix header uniformity, whitespace, and doxygen fixes 2020-11-26 10:14:56 +01:00
wmayer
e1cfaf1298 Gui: [skip ci] handle case if an absolute path to a qss file is set 2020-06-18 12:34:43 +02:00
wmayer
ec8b1bc072 [skip ci] use QLocale class consistently to make it possible to change it application-wide 2020-03-26 16:37:45 +01:00
wmayer
d496e714c9 Gui: move handing of style sheets to Application::setStyleSheet to avoid code duplication 2020-03-19 15:57:20 +01:00
triplus
af5e7abe46 Use relative path to stylesheet fix #4130 2020-03-19 14:25:03 +01:00
Zheng, Lei
a8e048ec1f Gui: fix tree view mode option in general preference 2020-02-08 13:12:30 +01:00
wmayer
298b1d49ac Gui: [skip ci] clear language combo box when loading settings 2020-01-17 22:57:25 +01:00
Markus Lampert
c6c761b812 Added <last> as an option to the workbench selection. 2019-11-01 17:42:14 -03:00
Zheng, Lei
c18bf11821 Gui: refactor tree view
* Major refactor of tree view to support external linking.

* Item update and selection change are now mostly handled by timer for
  performance improvement.

* Major change to drag and drop for better support of switching between
  copy, move and replace action, and auto adjustment of placement and
  relative link.

* Add second column for user changable object description.

* Unified tree view options and action into command group
  Std_TreeViewActions.

* Modified object search function to find external objects using
  Expression syntax.
2019-08-17 15:08:33 +02:00
wmayer
c3fb5edc41 allow to define custom background images 2019-03-06 11:09:14 +01:00
wmayer
55160676d3 fixes 0003880: list of languages is not sorted in the preferences settings 2019-03-05 17:50:15 +01:00
wmayer
f29df543c2 remove unused controls from General preference page 2019-03-04 15:18:05 +01:00
wmayer
3297399542 fix possible crash when saving preferences 2018-04-17 19:44:26 +02:00
wmayer
1ec3e5da82 workaround for broken tree indicators with Qt 5.6 under Windows 2017-05-21 10:02:26 +02:00
Kurt Kremitzki
b68fa265c6 Fix preferences Python console bug 2017-03-23 20:19:35 -05:00
Kurt Kremitzki
f2467d7044 Add persistence to Python console word wrap 2017-02-07 10:58:38 -02:00
Alexander Gryson
1b44eff87c Show current icon size if not in list 2017-01-30 18:19:13 +01:00
Alexander Gryson
ce416f2a18 Show icon units 2017-01-30 18:19:12 +01:00
Alexander Gryson
616f45f151 Remove reliance on PM_ToolBarIconSize 2017-01-30 18:19:12 +01:00
Mateusz Skowroński
7d0e892d36 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
Mateusz Skowroński
cd2db00f22 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
d5c074f80d QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
wmayer
af793f16b0 + event to restore/clear action style scheme 2015-07-09 23:08:10 +02:00
wmayer
7b37841fdc + reset built-in scheme when setting global style sheet 2015-07-07 12:35:48 +02:00
wmayer
72abf54d12 + setup qss search paths 2015-06-19 23:27:39 +02:00
wmayer
3291233012 + Support .qss file extension for style sheets 2014-06-02 12:26:25 +02:00
wmayer
373bbcfa93 + Use of style sheets 2013-10-14 16:03:50 +02:00
wmayer
9aa2a3f865 + Use of style sheets 2013-10-14 12:57:00 +02:00
wmayer
da1a42e2ee locale stuff 2012-04-30 18:30:29 +02:00
wmayer
95cf62b990 locale stuff 2012-04-30 18:02:22 +02:00
wmayer
5586348ade locale stuff 2012-04-30 17:15:43 +02:00