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
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
Paddle
d7efe5a616
Preferences: Workbench : Replace the functions used to retrieve the list of enabled wb
2023-03-28 11:59:32 +02:00
Paddle
f673d1a251
Preferences: Workbench : Change the text of the page to be more informative. Move the sentence "To preserve resources, FreeCAD..." to the load button tooltips.
2023-03-28 11:59:32 +02:00
Paddle
788ea1d3c0
Preferences: Workbench : Enable drag and drop. Replaces the QTable by a QListWidget.
2023-03-28 11:59:32 +02:00
Paddle
4173261899
Preferences: Workbench : Enable reordering workbenches with 2 buttons.
2023-03-28 11:59:32 +02:00
Paddle
3a6e0ebe83
Preferences: Workbench : Add possibility to enable/disable workbench here.
2023-03-28 11:59:32 +02:00
wmayer
c26dc2e685
Gui: do not change size properties when loading an image
2023-03-28 11:45:44 +02:00
wmayer
5c3f361077
Core: make the init scripts more robust against invalid package.xml files
...
See also: https://forum.freecad.org/viewtopic.php?t=77170
2023-03-28 10:49:21 +02:00
wmayer
4b982a3dbd
Gui: filter category qt.svg
2023-03-27 15:50:34 +02:00
wmayer
64771f3d4d
Gui: fix some lint warnings
2023-03-27 15:49:17 +02:00