Paddle
173d4b9464
pref: general: connect comboBox_UnitSystem manually. Fix System unit tooltip string
2023-04-01 16:30:51 +02:00
Paddle
a1b70c294c
Pref: Remove Unit tab and move settings back to main page.
2023-04-01 16:30:51 +02:00
Paddle
4686420326
Changed copyright texts of modified pages.
2023-03-28 15:18:28 +02:00
Paddle
d1e97444c9
Preferences: Workbench: Move startup workbench to workbench page
2023-03-28 12:09:03 +02:00
Paddle
46a1fe435c
Preference: Move workbench selector position to the workbench preference page.
2023-03-28 11:59:32 +02:00
wmayer
c3f7d4f377
Gui: fix some lint warnings
2023-03-27 15:49:17 +02:00
wmayer
23f7c163f5
Gui: add method isEnabledDecimalPointConversion() to Translator
...
and use it in DlgGeneralImp::setDecimalPointConversion to fix annoying warning in debug builds
2023-03-27 15:49:17 +02:00
luz paz
26cf9e771f
Add missing brackets + change indentation to spaces
2022-12-12 11:38:06 +01:00
luz paz
f17b73a7bf
Cleanup: move return statement to new line + trailing
...
Follow-up to #6497
2022-12-12 11:38:06 +01:00
wmayer
b2f784f1f5
Gui: fix clazy warnings:
...
* Wclazy-connect-by-name
* Wclazy-connect-3arg-lambda
2022-11-13 16:08:46 +01:00
wmayer
7f104b077b
Gui: fix readability-identifier-length
2022-11-12 23:57:14 +01:00
wmayer
3eaad09ed1
Gui: implement WorkbenchSwitcher class to encapsulate the parameter details
2022-11-11 22:53:02 +01:00
wmayer
e6a8533fa8
Gui: simplify code to handle workbench selector
...
+ replace three boolean parameters with a single string parameter
+ refactor DlgGeneralImp::saveSettings/loadSettings
+ handle visibility of corner widgets
2022-11-11 22:53:02 +01:00
Paddle
c87c4bbd9f
Gui: Add setting enabling workbench selector to be on the menubar. Restart required.
2022-11-07 11:57:53 -05:00
wmayer
e8bbc2da63
Gui: fix some minor warnings reported by GH Actions
2022-11-03 13:58:07 +01:00
0penBrain
f5b91de0e6
Gui: add decimal point converter to Translator
2022-11-03 13:41:06 +01:00
Chris Hennes
532e509dc2
Gui: Add importing CFG to PrefPack dialog
2022-09-15 22:44:18 -05:00
berniev
ae53c9b0a4
Gui: Use auto and range-based for ( #7481 )
...
* On lines where the variable type is obvious from inspection, avoid repeating the type using auto.
* When possible use a ranged for loop instead of begin() and end() iterators
2022-09-14 13:25:13 -05:00
wmayer
71caf67686
Gui: clear combo boxes before re-filling them, fix handling of icon size in preferences pack
2022-08-12 14:08:04 +02:00
Chris Hennes
b3ef69ef69
Gui: Fix pref pack apply crash ( Fixes #6702 )
2022-04-02 13:20:01 -05:00
0penBrain
7a74ae01d3
Gui: Default Translator::SetLocale to OS locale + simplify code
2022-03-29 10:26:49 +02:00
0penBrain
32f6443bd4
Gui: fix (another) algorithmic issue in number format change
...
'localeIndex' shall be updated not only at settings loading but each time
settings are saved, otherwise it can lead to unexpected behavior (number
format not took into account) when changing number format back and forth
and only using 'Apply' button.
2022-03-29 10:26:49 +02:00
0penBrain
c6ea26a70c
Gui: fix algorithmic issue in language change
...
If number format mode is "Selected language", even if this mode isn't modified,
we need to force 'setLocale' to update if "Language" has been changed
2022-03-29 10:26:49 +02:00
wmayer
b50ec016bd
Gui: fixes #6663 : [Bug] Decimal separator not chosen by locale system settings anymore
2022-03-28 15:38:51 +02:00
0penBrain
f043cb5ca5
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
b7a6c51cdb
[Gui] DlgEditor etc.: remove unused includes
2022-03-16 22:57:13 +01:00
wmayer
b78dc894e1
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
fce7e11636
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
71a6ffde35
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
3ecd0cd0f0
Preference Packs: Add revert to backup option
2022-02-20 22:12:09 -06:00
Chris Hennes
b7056b94b9
Gui: Add interface for managing preference packs
2022-02-17 19:51:24 -06:00
marioalexis
21d7fd92c5
Gui: Add option to enable/disable text cursor blinking
2022-01-29 11:05:31 +01:00
marioalexis
0a6a0dd499
Gui: Add functionality to enable/disable block shape cursor in text editor and console
2022-01-26 11:53:29 +01:00
0penBrain
1f6608aff0
[Gui] Decimal separator substitution : add option in Preferences
2021-11-27 04:30:17 +01:00
Chris Hennes
d0b867bdd5
[Gui] PrefPacks - remove "type" parameter
...
In display, show the "tags" instead.
2021-10-11 13:22:28 -05:00
Chris Hennes
abf031d4bf
Improve display of Apply button
2021-09-25 17:17:35 -05:00
Chris Hennes
c2e1f9937d
Redesign pref pack GUI
2021-09-24 16:09:17 -05:00
Chris Hennes
5aaaf17570
Clean up missing directory behavior
2021-08-24 11:49:07 -05:00
Chris Hennes
18d73580ae
Fix Linux compilation bugs
2021-08-23 14:43:30 -05:00
Chris Hennes
76d666779d
Enabled Manage... button to show directory
2021-08-21 14:12:51 -05:00
Chris Hennes
080e2ea198
Add code to ensure unique preference pack names.
2021-08-19 12:29:08 -05:00
Chris Hennes
40171d7858
[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
098d7b9aee
[GUI] Remove code for Qt < 5.9
2021-04-02 10:10:37 +02:00
luz paz
38815b9550
Gui: Fix header uniformity, whitespace, and doxygen fixes
2020-11-26 10:14:56 +01:00
wmayer
3d2694d536
Gui: [skip ci] handle case if an absolute path to a qss file is set
2020-06-18 12:34:43 +02:00
wmayer
e14e5b845e
[skip ci] use QLocale class consistently to make it possible to change it application-wide
2020-03-26 16:37:45 +01:00
wmayer
522eefba4f
Gui: move handing of style sheets to Application::setStyleSheet to avoid code duplication
2020-03-19 15:57:20 +01:00
triplus
873769d021
Use relative path to stylesheet fix #4130
2020-03-19 14:25:03 +01:00
Zheng, Lei
c89a62ba52
Gui: fix tree view mode option in general preference
2020-02-08 13:12:30 +01:00
wmayer
8e8fb953e4
Gui: [skip ci] clear language combo box when loading settings
2020-01-17 22:57:25 +01:00