Commit Graph

31215 Commits

Author SHA1 Message Date
wmayer
9aadf2cd79 Test: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
sliptonic
7583cb55b3 Merge pull request #9146 from jimzim111/path_drillable_detection
[PATH] Update getDrillableTargets() to evaluate all faces 1..<n>
2023-04-04 16:44:07 -05: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
joha2
2d3293306b 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
Paddle
c22b723e5f pref: python: replace icon. 2023-04-04 09:36:12 +02:00
Bernd Hahnebach
afbacfeecd Mods: update gitattributes with latest module directories 2023-04-04 08:58:52 +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
wmayer
43c3a31da9 Sketcher: restore toolbars when changing between workbenches in edit mode
This partially fixes issue #9135
2023-04-03 17:36:06 +02:00
mosfet80
e9c1a1600a [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
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
2e8f7817d9 OpenSCAD: linting importCSG.py 2023-04-02 12:19:02 +02: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
Jolbas
bd627a469f Draft: fix error in PR #8698 (#9160)
fix for mistake in pr https://github.com/FreeCAD/FreeCAD/pull/8698
see comment 9983207ab8 (r1155160709)
2023-04-02 11:23:59 +02:00
Chris Hennes
0ac66f1ecd Merge pull request #9142 from chennes/addonManagerReformat
Addon manager reformat
2023-04-01 19:17:51 -05:00
0penBrain
d31cd90d00 Sketcher: do not apply line/edge color preference to existing sketches, fixes #8188 2023-04-01 16:31:17 +02: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
luzpaz
6bd40b5dcd Fem: fix trailing whitespace 2023-04-01 08:39:05 +02:00
jim
654e6648f1 [PATH] Update getDrillableTargets() to evaluate all faces 1..<n> 2023-03-31 19:25:59 -07:00
wandererfan
c9c872d187 [TD]fix oversight in PR9129 2023-03-31 20:14:38 -04:00
Chris Hennes
028c379238 Addon Manager: Black and lint 2023-03-31 13:46:13 -05: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
wmayer
11c628feeb Mesh: fix -Wclazy-connect-by-name 2023-03-31 19:14:54 +02:00
Chris Hennes
fb0bcc4968 Addon Manager: Add test for subdirectory 2023-03-31 10:21:12 -05:00
0penBrain
1c5ea5f278 Use qOverload macro instead of QOverload 2023-03-31 17:17:34 +02:00
Chris Hennes
e604c3742f Addon Manager: Modify regex for whitespace 2023-03-31 10:13:47 -05:00
Chris Hennes
5e9b2ac91a Addon Manager: Tests for classname finder 2023-03-31 10:13:00 -05:00
wmayer
5f73ab8923 TD: remove deprecation warning 2023-03-31 11:03:10 -04:00
wmayer
7eb661cd78 TD: implement XMLQuery for Qt6 2023-03-31 11:03:10 -04:00
wmayer
0de7d14e15 TD: use new license header 2023-03-31 11:03:10 -04:00