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
joha2
d870201e3b
Points: show now returns an GeoFeature object
...
* Added one return statement into try-catch block which returns the appropriate object (instead of `None`).
* Behaviour now in line with `Part.show`.
Example:
```Python
>>> import Points
>>> pp = Points.Points()
>>> pp.addPoints([(1,2,3),(4,5,6)])
>>> go = Points.show(pp)
>>> go # Former behaviour was to return None
<GeoFeature object>
>>> go.ViewObject.ShapeColor = (1,0,0)
>>> go.ViewObject.ShapeColor = (1.,0.,0.)
>>> go.ViewObject.PointSize = 20
```
2023-04-04 11:35:59 +02:00
Bernd Hahnebach
84808ef7bd
Mods: update gitattributes with latest module directories
2023-04-04 08:58:52 +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
wmayer
73f5e5ad57
Sketcher: restore toolbars when changing between workbenches in edit mode
...
This partially fixes issue #9135
2023-04-03 17:36:06 +02:00
mosfet80
889ad11e02
[Draft] Remove obsolete code related to Drawing WB
...
* [Draft] Remove obsolete code related to Drawing WB
remove unused elif
* [Draft] Remove obsolete code related to the Drawing WB
* Update preferences-draftvisual.ui
Also remove the template label.
* Update utils.py
Remove reference to "template"
* Remove Draft_Drawing.svg from Draft.qrc
---------
Co-authored-by: Roy-043 <info@b-k-g.nl >
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com >
2023-04-03 16:36:23 +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
b279fb364a
OpenSCAD: linting importCSG.py
2023-04-02 12:19:02 +02: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
Jolbas
3c3800acd0
Draft: fix error in PR #8698 ( #9160 )
...
fix for mistake in pr https://github.com/FreeCAD/FreeCAD/pull/8698
see comment 649857b58f (r1155160709)
2023-04-02 11:23:59 +02:00
Chris Hennes
312fe9b5c8
Merge pull request #9142 from chennes/addonManagerReformat
...
Addon manager reformat
2023-04-01 19:17:51 -05:00
0penBrain
58a9af212a
Sketcher: do not apply line/edge color preference to existing sketches, fixes #8188
2023-04-01 16:31:17 +02: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
luzpaz
c39dbc93f6
Fem: fix trailing whitespace
2023-04-01 08:39:05 +02:00
wandererfan
31da3e7ecc
[TD]fix oversight in PR9129
2023-03-31 20:14:38 -04:00
Chris Hennes
8b31d7deb0
Addon Manager: Black and lint
2023-03-31 13:46:13 -05: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
wmayer
1c927bf804
Mesh: fix -Wclazy-connect-by-name
2023-03-31 19:14:54 +02:00
Chris Hennes
fcfcebea0b
Addon Manager: Add test for subdirectory
2023-03-31 10:21:12 -05:00
0penBrain
fe39798766
Use qOverload macro instead of QOverload
2023-03-31 17:17:34 +02:00
Chris Hennes
e70a360ebe
Addon Manager: Modify regex for whitespace
2023-03-31 10:13:47 -05:00
Chris Hennes
6a0decd44a
Addon Manager: Tests for classname finder
2023-03-31 10:13:00 -05:00
wmayer
f2aa219075
TD: remove deprecation warning
2023-03-31 11:03:10 -04:00
wmayer
ed4b09349d
TD: implement XMLQuery for Qt6
2023-03-31 11:03:10 -04:00
wmayer
82a1e43e00
TD: use new license header
2023-03-31 11:03:10 -04:00
Chris Hennes
d769b9c9f2
Addon Manager: Black and pylint cleanup
2023-03-31 09:40:12 -05:00
0penBrain
8bea52a5bf
Gui: prevent crashes on MacOS using boost::format
2023-03-31 15:22:03 +02:00
Benjamin Bræstrup Sayoc
5329cede7f
Improve readability of DrawUtil.cpp
2023-03-31 08:45:05 -04:00
Benjamin Bræstrup Sayoc
9bb92be8ba
Improve readability of QGIView.cpp
2023-03-31 08:45:05 -04:00
Paddle
184147d513
DlgPreferencesImp::accept : move restartIfRequired in the if.
2023-03-31 14:34:40 +02:00
Paddle
1603720d7a
Addon manager: lint and black.
2023-03-31 14:31:55 +02:00
Paddle
31c483587a
Addon manager: wb change to ordered + disabled lists.
2023-03-31 14:12:28 +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