Commit Graph

4561 Commits

Author SHA1 Message Date
Paddle
4a65dcd768 Pref: General: Move pref pack at the end of the page. 2023-04-13 14:59:12 +02:00
Paddle
30c4a694a7 Pref: General: Remove useless and redundant 'General' groupbox. 2023-04-13 14:58:01 +02:00
Ronny Standtke
a22865bb70 removed redundant "Toggle visibility" menu item from View menu 2023-04-13 10:57:49 +02:00
wmayer
eaf9d43f37 Gui: mark methods in DemoMode as override 2023-04-13 01:12:56 +02:00
wmayer
40ec5fc5ce Gui: improve whitespaces 2023-04-13 01:12:56 +02:00
wmayer
be999ea480 Gui: sort headers according to Qt module and remove deprecated headers 2023-04-13 01:12:56 +02:00
Paddle
cf0b6b8e93 Pref: Move pick radius to selection. 2023-04-12 14:44:31 +02:00
wmayer
b543fe3bfe MSVC: fix build failure related to PCH 2023-04-12 08:30:44 +02:00
wmayer
f1ecc9e820 Gui: [skip ci] fix crash in CommandActionPy::getAction() 2023-04-10 17:34:10 +02:00
marioalexis
60ae9f35b6 Gui: Add CommandAction descriptor object to access commands action 2023-04-10 16:53:51 +02:00
wmayer
010e2ca377 Gui: [skip ci] fix typo View3DInventorViewer::toQPoint 2023-04-08 14:50:18 +02:00
wmayer
6237a0e67b Gui: rename getPointOnScreen() to getPointOnViewport() 2023-04-08 13:51:32 +02:00
wmayer
7bf0e2e703 Gui: add method to convert between QPoint and SbVec2s considering device pixel ratio 2023-04-08 13:51:32 +02:00
Chris Hennes
9b87c2eb9b Merge pull request #9110 from Pesc0/removecommandstab
Remove "commands" tab in customize dialog
2023-04-07 13:11:43 -05:00
wmayer
9455924dec Gui: fix warning with Qt6 2023-04-05 22:36:29 +02:00
wmayer
ef63a35e0f Gui: fix -Wclazy-connect-by-name 2023-04-05 16:23:15 +02:00
wmayer
457fac38dd Gui: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
Chris Hennes
fbee0c92b6 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
aa670da721 Merge pull request #9173 from Ondsel-Development/python_group
Pref: Create Python group
2023-04-04 14:22:23 -05:00
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
howie-j
81fdac808e Merge branch 'FreeCAD:master' into shortcut_pref_pack 2023-04-04 17:27:13 +02:00
Håvard Jakobsen
e99c572d62 Add Keyboard Shortcuts to Preference Packs 2023-04-04 17:20:10 +02:00
wmayer
6ac0de86d2 Gui: by default radial gradient is off 2023-04-04 14:51:41 +02:00
Paddle
ccc558f89b pref: python: replace icon. 2023-04-04 09:36:12 +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
527b441b27 Pref: Create Python group 2023-04-03 14:34:40 +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