Chris Hennes
469fe54ec7
Merge pull request #9117 from Ondsel-Development/wb_pref_fixes
...
Wb pref fixes
2023-04-04 14:05:47 -05:00
wmayer
1f3e35e95c
Gui: allow to change background color and gradient from Python
2023-04-04 18:44:27 +02:00
wmayer
eb3fd5fe47
Gui: add enum types to handle background gradients
...
This fixes some API flaws where booleans were used to distinguish between three different types
2023-04-04 18:44:27 +02:00
wmayer
21b2f97ab0
Gui: extend class View3DSettings so that it can be used for AbstractSplitView
...
AbstractSplitView then no longer needs to be derived from ParameterGrp::ObserverType and reimplement onChange() and thus removes a lot of code duplication
2023-04-04 18:44:27 +02:00
wmayer
6ac0de86d2
Gui: by default radial gradient is off
2023-04-04 14:51:41 +02:00
Chris Hennes
62bc5c7411
Merge pull request #9172 from Ondsel-Development/color_pref_ui
...
Pref: Colors: Reorganize the ui.
2023-04-03 13:39:53 -05:00
Paddle
e86f73b04a
pref: color: change according to adrianinsaval mockup
2023-04-03 18:56:35 +02:00
wmayer
191289a595
Sketcher: fix some lint warnings
2023-04-03 17:36:06 +02:00
wmayer
c628c000f5
Sketcher: ignore toolbars if toggle action is invisible or style is FORCE_HIDE
...
This fully fixes #9135
2023-04-03 17:36:06 +02:00
Paddle
1ef367fb7a
Pref: Color: change icon to button_switch
2023-04-03 15:49:19 +02:00
Paddle
9f6c65603d
Pref: Color: move middle checkbox and just disable mid color instead of hidding
2023-04-03 15:05:54 +02:00
Paddle
56d25172e0
Pref: Colors: Reorganize the ui.
2023-04-03 13:47:26 +02:00
Chris Hennes
b66478aca3
Merge pull request #9143 from Ondsel-Development/unit_prefs
...
Pref: Remove Unit tab and move settings back to main page.
2023-04-02 16:58:05 -05:00
Chris Hennes
881e131e17
Merge pull request #9149 from xtemp09/gui-fix
...
[GUI] Radial gradient implementation
2023-04-02 11:26:38 -05:00
luzpaz
f5e58adad2
Fix trailing whitespace
2023-04-02 12:18:13 +02:00
xtemp09
81cfe34085
[GUI] Radial gradient implementation
...
This commit implements radial gradient as background and adds the option
to settings. It also renames "Color gradient" as "Linear gradient",
keeping Linear gradient default. Internally, it remains unchanged for
compatibility.
Radio gradient is more suitable for CAD, since it gives a more balanced
color distribution across the screen, improving visibility of model and
sketches with a halo-like effect.
2023-04-02 16:33:01 +07:00
Paddle
0a5e85d6c7
pref: general: connect comboBox_UnitSystem manually. Fix System unit tooltip string
2023-04-01 16:30:51 +02:00
Paddle
805745599c
Pref: Remove Unit tab and move settings back to main page.
2023-04-01 16:30:51 +02:00
wmayer
fa3ee34280
Gui: use an annotation node so that line is always rendered on top of the scene
2023-04-01 14:53:05 +02:00
wmayer
43ee59c82f
Gui: interactive image scaling:
...
* add option to allow points outside of image
* after starting the interactive scaling allow to cancel it immediately
2023-03-31 19:40:50 +02:00
wmayer
607e53453d
Gui: implement interactive image scaling
2023-03-31 19:40:50 +02:00
wmayer
8283532911
Gui: fix regression when loading an image file
2023-03-31 19:40:50 +02:00
0penBrain
fe39798766
Use qOverload macro instead of QOverload
2023-03-31 17:17:34 +02:00
Paddle
184147d513
DlgPreferencesImp::accept : move restartIfRequired in the if.
2023-03-31 14:34:40 +02:00
Paddle
4407387ab4
Pref: wb: change to disabled + ordered lists.
2023-03-31 14:12:27 +02:00
Paddle
4487154c57
Pref: wb: change parameter group to prevent issues between 0.21 and older versions.
2023-03-31 14:12:27 +02:00
Paddle
835b96b724
Pref: make restartIfRequired() private
2023-03-31 14:12:27 +02:00
Paddle
996f4da123
Pref: wb: remove the list of disabled wb.
...
TODO: Addon Manager should add workbenches to the list of enabled wb on installation. And remove them from the list on uninstall.
TODO: Addon Manager 'disable mode' should be removed.
2023-03-31 14:12:27 +02:00
Paddle
9c02b2bc05
Pref: wb: disable test workbench by default. It still appears and can be activated in the pref page.
2023-03-31 14:12:27 +02:00
Paddle
e19e02ce5c
Pref: wb: disable none workbench by default.
2023-03-31 14:12:27 +02:00
Paddle
ec2e5fe2ac
Pref: Wb: remove args first element on restart.
...
- isRebootRequired is not public but in accept&reject.
- PreferencePage::isRebootRequired changed to const
- Change 2 warnings to log
- remove useless c_str()
- Change DlgPreferencesImp::isRebootRequired name + reboot by restart everywhere.
- Sort workbenches so that disabled wb are sorted.
2023-03-31 14:12:27 +02:00
Pesc0
876601d34d
Remove all PyQt references
2023-03-31 10:36:04 +02:00
Chris Hennes
0a2e6dd2b7
Merge pull request #9099 from wwmayer/more_robust_init
...
Core: make the init scripts more robust against invalid package.xml f…
2023-03-28 16:36:41 -05:00
Paddle
d0bd202293
Pref: Wb : move 'Wb by tab' to wb pref page.
2023-03-28 15:18:28 +02:00
Paddle
0e2bc871e8
Changed copyright texts of modified pages.
2023-03-28 15:18:28 +02:00
Paddle
8d16cf7395
Pref: - add require-reboot capability to PreferencePage.
...
- Implement this require-reboot in wb pref page
2023-03-28 15:18:23 +02:00
Paddle
3f1e6a3c87
Pref: Wb: add shortcuts + reorder when wb toggled.
2023-03-28 12:09:15 +02:00
Paddle
565488bf21
Pref: Wb: add shortcuts.
2023-03-28 12:09:15 +02:00
Paddle
d4aca1953a
Pref: Wb: lambda to simplify saveSettings()
2023-03-28 12:09:15 +02:00
Paddle
123e83e0a1
Pref: Wb: startup wb has to be autoloading.
2023-03-28 12:09:15 +02:00
Paddle
b0d6b758d1
Pref: Wb: remove the dlg pointer from the wbListItem
2023-03-28 12:09:15 +02:00
Paddle
a6b69cd395
Pref: Wb: add setters and getters to wbListItem
2023-03-28 12:09:15 +02:00
Paddle
14167b558e
Pref: wb: Move wbListItem to cpp.
2023-03-28 12:09:15 +02:00
Paddle
cab401eaf3
Preferences: workbench: make a wbListItem qwidget sub class
2023-03-28 12:09:15 +02:00
Paddle
9871aa2b53
Preferences: Workbench: Change the QListWidgetDragBug name to ListWidgetDragBug. Move the wbList setXxx() to ctor. Fix the 'Currently, your...'
2023-03-28 12:09:15 +02:00
Paddle
7eb3386894
Preferences: Workbench: Move the buttons closer to the label.
2023-03-28 12:09:15 +02:00
Paddle
2fe2da2c4e
Preferences: Workbench: Move startup workbench to workbench page
2023-03-28 12:09:03 +02:00
Paddle
9f904ae04f
Preference: Move workbench selector position to the workbench preference page.
2023-03-28 11:59:32 +02:00
Paddle
4b60df5ced
Preference: Replace the name LazyLoaded by Workbenches.
2023-03-28 11:59:32 +02:00
Paddle
6e6194d01c
Preferences: Remove Customize Workbenches dialog.
2023-03-28 11:59:32 +02:00