Commit Graph

4559 Commits

Author SHA1 Message Date
Ronny Standtke
32650526b7 removed redundant "Toggle visibility" menu item from View menu 2023-04-13 10:57:49 +02:00
wmayer
56d49a98f4 Gui: mark methods in DemoMode as override 2023-04-13 01:12:56 +02:00
wmayer
ea4c63e373 Gui: improve whitespaces 2023-04-13 01:12:56 +02:00
wmayer
a213641ae0 Gui: sort headers according to Qt module and remove deprecated headers 2023-04-13 01:12:56 +02:00
Paddle
4439dffad1 Pref: Move pick radius to selection. 2023-04-12 14:44:31 +02:00
wmayer
8b5451a167 MSVC: fix build failure related to PCH 2023-04-12 08:30:44 +02:00
wmayer
8b65ca7a22 Gui: [skip ci] fix crash in CommandActionPy::getAction() 2023-04-10 17:34:10 +02:00
marioalexis
ae480d70cd Gui: Add CommandAction descriptor object to access commands action 2023-04-10 16:53:51 +02:00
wmayer
391a291982 Gui: [skip ci] fix typo View3DInventorViewer::toQPoint 2023-04-08 14:50:18 +02:00
wmayer
e9a9413c71 Gui: rename getPointOnScreen() to getPointOnViewport() 2023-04-08 13:51:32 +02:00
wmayer
6509cc72e7 Gui: add method to convert between QPoint and SbVec2s considering device pixel ratio 2023-04-08 13:51:32 +02:00
Chris Hennes
5c82e6f2de Merge pull request #9110 from Pesc0/removecommandstab
Remove "commands" tab in customize dialog
2023-04-07 13:11:43 -05:00
wmayer
e0574068b9 Gui: fix warning with Qt6 2023-04-05 22:36:29 +02:00
wmayer
9b944f4f20 Gui: fix -Wclazy-connect-by-name 2023-04-05 16:23:15 +02:00
wmayer
3d90279c12 Gui: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
Chris Hennes
3c4904dedb Merge pull request #9180 from howie-j/shortcut_pref_pack
[Preference Packs] Add Keyboard Shortcuts Template
2023-04-04 15:01:52 -05:00
Chris Hennes
91a8aa11f9 Merge pull request #9173 from Ondsel-Development/python_group
Pref: Create Python group
2023-04-04 14:22:23 -05:00
Chris Hennes
fec34a61b8 Merge pull request #9117 from Ondsel-Development/wb_pref_fixes
Wb pref fixes
2023-04-04 14:05:47 -05:00
wmayer
5010ac7508 Gui: allow to change background color and gradient from Python 2023-04-04 18:44:27 +02:00
wmayer
d6190cb79c 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
2845cd55a0 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
howie-j
e16687bdf2 Merge branch 'FreeCAD:master' into shortcut_pref_pack 2023-04-04 17:27:13 +02:00
Håvard Jakobsen
1ac64538df Add Keyboard Shortcuts to Preference Packs 2023-04-04 17:20:10 +02:00
wmayer
2b8784a1b6 Gui: by default radial gradient is off 2023-04-04 14:51:41 +02:00
Paddle
c22b723e5f pref: python: replace icon. 2023-04-04 09:36:12 +02:00
Chris Hennes
c34c9f5156 Merge pull request #9172 from Ondsel-Development/color_pref_ui
Pref: Colors: Reorganize the ui.
2023-04-03 13:39:53 -05:00
Paddle
c4aebd9271 pref: color: change according to adrianinsaval mockup 2023-04-03 18:56:35 +02:00
wmayer
90c296af6b Sketcher: fix some lint warnings 2023-04-03 17:36:06 +02:00
wmayer
c38ef7da53 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
424ae52547 Pref: Color: change icon to button_switch 2023-04-03 15:49:19 +02:00
Paddle
0065269e14 Pref: Color: move middle checkbox and just disable mid color instead of hidding 2023-04-03 15:05:54 +02:00
Paddle
310f3c0575 Pref: Create Python group 2023-04-03 14:34:40 +02:00
Paddle
5301ade710 Pref: Colors: Reorganize the ui. 2023-04-03 13:47:26 +02:00
Chris Hennes
d725f1c76e 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
1633f78b8c Merge pull request #9149 from xtemp09/gui-fix
[GUI] Radial gradient implementation
2023-04-02 11:26:38 -05:00
luzpaz
5444a4a0cb Fix trailing whitespace 2023-04-02 12:18:13 +02:00
xtemp09
414c803ff3 [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
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
wmayer
d08ceef3c8 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
48c11a77ad 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
6819055c21 Gui: implement interactive image scaling 2023-03-31 19:40:50 +02:00
wmayer
1b99ad1560 Gui: fix regression when loading an image file 2023-03-31 19:40:50 +02:00
0penBrain
1c5ea5f278 Use qOverload macro instead of QOverload 2023-03-31 17:17:34 +02:00
Paddle
d134a544a0 DlgPreferencesImp::accept : move restartIfRequired in the if. 2023-03-31 14:34:40 +02:00
Paddle
dbd65e2b37 Pref: wb: change to disabled + ordered lists. 2023-03-31 14:12:27 +02:00
Paddle
0d61b99a36 Pref: wb: change parameter group to prevent issues between 0.21 and older versions. 2023-03-31 14:12:27 +02:00
Paddle
72935cc5d2 Pref: make restartIfRequired() private 2023-03-31 14:12:27 +02:00
Paddle
3ef64e6849 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
263d7c0999 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