Commit Graph

28623 Commits

Author SHA1 Message Date
Zheng, Lei
85d3abeb8b Gui: put private class to anonymous namespace 2022-04-04 04:53:52 +02:00
Zheng, Lei
03976ff333 Code change according to suggestion 2022-04-04 04:53:52 +02:00
Zheng, Lei
801ece560e Gui: fix property enumeration editor initialization 2022-04-04 04:53:52 +02:00
Zheng, Lei
1433ff166d Gui: support auto grouping editing for PropertyEnumeration
The PropertyEnumeration editor (PropertyEnumItem) will check for
separator characeter '|' in enumeration items to auto create
hierarchical groups of items using sub-menus for user to select.
2022-04-04 04:53:52 +02:00
wmayer
0b44a6c28d Tools: [skip ci] Use qmake to determine Qt plugin directory 2022-04-04 02:12:13 +02:00
Uwe
2714e682db [Path] manual merge of #6580 2022-04-04 01:42:41 +02:00
Syres916
54eb842c11 [Part] Helix Default Segment Length to 0.0
See https://github.com/FreeCAD/FreeCAD/issues/6559
2022-04-04 00:46:59 +02:00
Chris Hennes
2f703e4627 Addon Manager: Disable pip version check 2022-04-03 16:32:33 -05:00
sliptonic
9a7b411659 Merge pull request #6705 from sliptonic/bug/pocketmode
[Path] fix index error with PocketMode
2022-04-03 09:03:44 -05:00
wmayer
ab2461629c Tools: [skip ci] CMake support of plugin for Qt Designer 2022-04-03 14:32:34 +02:00
wmayer
9b3a50840f Gui: fixes DlgSettingsColorGradientImp:
* handle exception in lambda function if max <= min
* fix regression of 0938c98b6: a validator can be set to only one widget at a time
2022-04-03 10:51:10 +02:00
Adrian
7b2d219c44 [Macros][skip ci] change text of Addons... button to Download to help new people 2022-04-02 23:34:04 -05:00
Chris Hennes
2c6af06fe9 OpenSCAD: Fix difference action bug 2022-04-02 23:29:30 -05:00
wmayer
d666cc4114 App: [skip ci] fix zero-based color model Red-White-Blue 2022-04-03 00:58:51 +02:00
Chris Hennes
66d0c35dc7 Gui: Fix pref pack apply crash (Fixes #6702) 2022-04-02 13:20:01 -05:00
sliptonic
cf867ae96d [Path] fix index error with PocketMode 2022-04-02 12:30:56 -05:00
0penBrain
65822ec2f8 Base: fix quantity construction when unit as string is empty 2022-04-02 18:09:35 +02:00
0penBrain
7dc130b00f Revert "Gui: [skip ci] fix a small regression caused by PR #5232 (or commit c4c81e6e6)"
This reverts commit b330a83273.
2022-04-02 18:09:35 +02:00
sliptonic
d0e1717cdf Merge pull request #6701 from Russ4262/fix/pocket_shape_pocketlaststepover
Path: Correct PocketLastStepOver name in PathPocketBase [Bug]
2022-04-02 10:08:50 -05:00
wmayer
2d5f34f329 Gui: fix some issues in DlgSettingsColorGradientImp:
* fix regression by rounding Max/Min values when setting up dialog
* switch signals from QLineEdit::editingFinished to QLineEdit::textEdited to get changes immediately
2022-04-02 13:24:12 +02:00
wmayer
027fb07743 Gui: automatically apply changes made in color gradient dialog 2022-04-02 12:14:42 +02:00
wmayer
9500706d6f Gui: refactor DlgSettingsColorGradientImp 2022-04-02 11:41:20 +02:00
wmayer
02b8a98f79 App: [skip ci] fix zero-based color model Red-White-Blue 2022-04-02 11:06:18 +02:00
wmayer
874a6ef28e App/Gui: refactor ColorGradient and move all settings to ColorGradientProfile 2022-04-02 10:58:04 +02:00
Russell Johnson
a27c964279 Path: Correct PocketLastStepOver name
Correct case of property name used
2022-04-01 22:31:16 -05:00
Uwe
f2f71d0dc7 [FEM] save all UI files using FreeCAD plugin for designer
in my FEM work the last weeks, I accidentally used a Qt Designer without a working FreeCAD plugin
2022-04-02 04:06:04 +02:00
Uwe
61d103358f [Gui] Color gradient dialog: add missing tooltips 2022-04-02 03:22:56 +02:00
Chris Hennes
ccc9be98ce Addon Manager: Move optional dep check logic 2022-04-01 17:20:20 -05:00
wmayer
c50924be03 Gui: change notification between SoFCColorBarBase nodes 2022-04-01 19:27:45 +02:00
wmayer
90c35171ae Main: change position of version number to bottom/left 2022-04-01 18:55:55 +02:00
Chris Hennes
b435db807d Addon Manager: Optional packages also obey allowlist 2022-04-01 11:50:00 -05:00
wmayer
d36c59b3dc Fem/Mesh: force update of shape nodes when changing the transparencies of a color plot 2022-04-01 16:40:34 +02:00
sliptonic
5dff636cf8 Merge pull request #6605 from Russ4262/fix/misaligned_extensions
Path: Fix some misaligned extensions [Bug]
2022-04-01 09:30:49 -05:00
sliptonic
d20c4e7d8d Merge pull request #6696 from Russ4262/fix/dressup_path_boundary
Path: Correct method name spelling error in Boundary Dressup [Bug]
2022-04-01 09:08:56 -05:00
wmayer
87edeae197 Mesh: change ViewProviderMeshCurvature::setVertexCurvatureMode to use the alpha value of the returned color for transparency 2022-04-01 12:07:03 +02:00
wmayer
e437893e99 Fem: support transparencies of the colour plot in ViewProviderFemPostObject 2022-04-01 10:40:48 +02:00
wmayer
e8d3f60dbd Gui: [skip ci] drop the _bOutInvisible member and use the corresponding function of ColorGradient instead 2022-04-01 10:39:02 +02:00
wmayer
09758aa889 Gui: add functions setPrefEntry() and setPrefPath() to PrefWidget to avoid build failures if the attribute stdset=0 isn't set in a .ui file 2022-04-01 10:37:36 +02:00
wmayer
5fe0a63201 App: handle option 'outside invisible' directly in ColorGradient 2022-04-01 08:38:27 +02:00
Uwe
6f4d0fa1ab [FEM] Material settings dialog: add missing slot and tooltips 2022-04-01 06:21:22 +02:00
Russell Johnson
e5b52aebb2 Path: Fix some misaligned extensions
This commit also corrects some wire extensions by trimming them with the source model.
2022-03-31 22:33:58 -05:00
Russell Johnson
5e852b1791 Path: Correct method name spelling error 2022-03-31 22:10:07 -05:00
Uwe
0938c98b6c [GUI] fix color gradient dialog
- large numbers as they appear of most simulations were not correctly displayed
- remove non-functional help button
2022-04-01 03:13:43 +02:00
wmayer
8ccaac7264 App: [skip ci] whitespace changes 2022-03-31 23:19:00 +02:00
wmayer
26a6c085c2 Base: [skip ci] make Flags<>::testFlag a const method 2022-03-31 23:17:48 +02:00
sliptonic
4cffe64b62 Merge pull request #6691 from sliptonic/cleanleadinout
[Path] cleanup leadinout
2022-03-31 14:57:00 -05:00
Stefan Brüns
65187652dc [FEM] Avoid writing parse cache file to non-writable location
Creating the parsetab.py cache file in the same location as the tokrules
file will fail when FreeCAD is installed system wide.

Caching provides hardly any benefit here, as it only takes milliseconds,
and may even be negated by the additional required filesystem operations.

The debug output (parser.out) does not provide any useful information
for a regular FreeCAD user.

Fixes (part of) #6315.
2022-03-31 10:39:49 -05:00
Stefan Brüns
7cac8787a4 [OpenSCAD] Avoid writing temporary parse cache file
Creating the parsetab.py cache file in a system wide fixed location
(e.g. /tmp/parsetab.py) creates problems when a computer is used by
different users. Also the file is never removed, which is not very nice.

Caching provides hardly any benefit here, as it only takes milliseconds,
and may even be negated by the additional required filesystem operations.

Fixes (part of) #6315.
2022-03-31 10:39:49 -05:00
wmayer
9fcf5faf69 App: in verbose mode print used library versions 2022-03-31 16:33:00 +02:00
wmayer
e0e523e626 Base: fix possible Python type mismatch for Base::Vector2dPy
when using FreeCAD as a pure Python module.

See forum topic: https://forum.freecadweb.org/viewtopic.php?f=10&t=67617
2022-03-31 15:08:48 +02:00