Commit Graph

28630 Commits

Author SHA1 Message Date
Bernd Waibel
0e8b87bf51 Add option to build and install the designer plugin
The patch adds a cmake option BUILD_DESIGNER_PLUGIN, targeted
mainly at package maintainers to allow an easy build and installation
of the FreeCAD designer plugin.

It has been discussed in
https://forum.freecadweb.org/viewtopic.php?f=10&t=67706

Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
2022-04-05 08:08:12 +02:00
Uwe
bc017a7c03 [Gui] Color Gradient: handle case of min = 0
When the minimum is zero, we don't want scientific notation, for example for a range [0, 12.57]
2022-04-05 03:40:10 +02:00
Uwe
e34ecb0c5e [Gui] fix color gradient label format
- large numbers like e.g. stress outputs were not displayed in scientific notation

- also some code style improvements and a fixed typo
2022-04-05 02:42:53 +02:00
wmayer
5917601666 Ext:[skip ci] drop prefix argument from Python code to make sure the absolute path to dist-packages is used.
This allows to set CMAKE_INSTALL_PREFIX to something else than /usr and freecad as Python package is still installed into the correct directory.

For more details see: https://forum.freecadweb.org/viewtopic.php?f=4&t=67750
2022-04-04 18:46:25 +02:00
wmayer
f2f131f391 Tools: [skip ci] replace QtDesigner with QtUiPlugin header to make moc happy on macOS 2022-04-04 17:06:59 +02:00
wmayer
7f66a6e170 Gui: handle number of labels and decimals in the immediate update 2022-04-04 15:27:13 +02:00
wmayer
b9dee98063 Gui: more fixes of DlgSettingsColorGradientImp:
* make sure that DlgSettingsColorGradientImp::setRange() generates a valid string according to the validator settings
* change back to QLineEdit::editingFinished because for huge models an immediate update considerably slows down editing
2022-04-04 11:43:43 +02:00
Zheng, Lei
ed582bbecd Gui: put private class to anonymous namespace 2022-04-04 04:53:52 +02:00
Zheng, Lei
ac0d56b961 Code change according to suggestion 2022-04-04 04:53:52 +02:00
Zheng, Lei
9c5963b20d Gui: fix property enumeration editor initialization 2022-04-04 04:53:52 +02:00
Zheng, Lei
88e6121efa 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
24a015d796 Tools: [skip ci] Use qmake to determine Qt plugin directory 2022-04-04 02:12:13 +02:00
Uwe
78488f21b4 [Path] manual merge of #6580 2022-04-04 01:42:41 +02:00
Syres916
ec2e1115ed [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
987c69631c Addon Manager: Disable pip version check 2022-04-03 16:32:33 -05:00
sliptonic
0db3ebf51e Merge pull request #6705 from sliptonic/bug/pocketmode
[Path] fix index error with PocketMode
2022-04-03 09:03:44 -05:00
wmayer
b6e7912ada Tools: [skip ci] CMake support of plugin for Qt Designer 2022-04-03 14:32:34 +02:00
wmayer
078ce76b88 Gui: fixes DlgSettingsColorGradientImp:
* handle exception in lambda function if max <= min
* fix regression of 10768fb32: a validator can be set to only one widget at a time
2022-04-03 10:51:10 +02:00
Adrian
39f4d20ead [Macros][skip ci] change text of Addons... button to Download to help new people 2022-04-02 23:34:04 -05:00
Chris Hennes
a6c5c12bea OpenSCAD: Fix difference action bug 2022-04-02 23:29:30 -05:00
wmayer
ca01005c86 App: [skip ci] fix zero-based color model Red-White-Blue 2022-04-03 00:58:51 +02:00
Chris Hennes
b3ef69ef69 Gui: Fix pref pack apply crash (Fixes #6702) 2022-04-02 13:20:01 -05:00
sliptonic
73ef1ad2db [Path] fix index error with PocketMode 2022-04-02 12:30:56 -05:00
0penBrain
caa4784550 Base: fix quantity construction when unit as string is empty 2022-04-02 18:09:35 +02:00
0penBrain
29c3417285 Revert "Gui: [skip ci] fix a small regression caused by PR #5232 (or commit 7d649fe55)"
This reverts commit 350de2e367ed955b466ad7779b464b0fba79fe55.
2022-04-02 18:09:35 +02:00
sliptonic
04703ac707 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
5409f1d86d 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
de699f81c5 Gui: automatically apply changes made in color gradient dialog 2022-04-02 12:14:42 +02:00
wmayer
c2ba7cf414 Gui: refactor DlgSettingsColorGradientImp 2022-04-02 11:41:20 +02:00
wmayer
592a7102f6 App: [skip ci] fix zero-based color model Red-White-Blue 2022-04-02 11:06:18 +02:00
wmayer
bb19d8cb03 App/Gui: refactor ColorGradient and move all settings to ColorGradientProfile 2022-04-02 10:58:04 +02:00
Russell Johnson
0d7c1134dd Path: Correct PocketLastStepOver name
Correct case of property name used
2022-04-01 22:31:16 -05:00
Uwe
b5a18cddcb [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
81d861ad5c [Gui] Color gradient dialog: add missing tooltips 2022-04-02 03:22:56 +02:00
Chris Hennes
56795c5083 Addon Manager: Move optional dep check logic 2022-04-01 17:20:20 -05:00
wmayer
fb86d1d5b4 Gui: change notification between SoFCColorBarBase nodes 2022-04-01 19:27:45 +02:00
wmayer
01279be472 Main: change position of version number to bottom/left 2022-04-01 18:55:55 +02:00
Chris Hennes
24b59171b5 Addon Manager: Optional packages also obey allowlist 2022-04-01 11:50:00 -05:00
wmayer
259cf03b25 Fem/Mesh: force update of shape nodes when changing the transparencies of a color plot 2022-04-01 16:40:34 +02:00
sliptonic
63562e56c2 Merge pull request #6605 from Russ4262/fix/misaligned_extensions
Path: Fix some misaligned extensions [Bug]
2022-04-01 09:30:49 -05:00
sliptonic
872db3fc84 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
f797292ea6 Mesh: change ViewProviderMeshCurvature::setVertexCurvatureMode to use the alpha value of the returned color for transparency 2022-04-01 12:07:03 +02:00
wmayer
97fbdec88c Fem: support transparencies of the colour plot in ViewProviderFemPostObject 2022-04-01 10:40:48 +02:00
wmayer
b3d8acf8e7 Gui: [skip ci] drop the _bOutInvisible member and use the corresponding function of ColorGradient instead 2022-04-01 10:39:02 +02:00
wmayer
f8c5256866 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
4edd86cc06 App: handle option 'outside invisible' directly in ColorGradient 2022-04-01 08:38:27 +02:00
Uwe
b234c00bcf [FEM] Material settings dialog: add missing slot and tooltips 2022-04-01 06:21:22 +02:00
Russell Johnson
6ff88cab38 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
7a4a9ac3a0 Path: Correct method name spelling error 2022-03-31 22:10:07 -05:00
Uwe
0ed47fb26e [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