Commit Graph

33460 Commits

Author SHA1 Message Date
Kacper Donat
b147fe00a7 Gui: Add ScrollArea to Preferences
This adds QScrollArea widget to DlgPreferences which in turn allows
preference pages to be scrollable. Stacked widget sizes are forced to
selected widget so scroll area should appear when it is needed.

Fixes #11511
2023-11-26 16:01:22 +01:00
Roy-043
3895b5d6c0 MeshPart: menu texts to sentence case 2023-11-25 20:42:30 +01:00
Roy-043
b9d8f0a999 Draft: use clearer snap marker names 2023-11-25 19:29:12 +01:00
wmayer
e57f5c42cb Gui: use MarkerBitmaps::getSupportedSizes to get available sizes 2023-11-25 18:37:26 +01:00
Roy-043
97e13c14d0 Draft: use consistent is-number string in DraftGui.py 2023-11-25 15:59:29 +01:00
wandererfan
5edda94043 [TD]fix disappearing balloon cursor 2023-11-25 08:05:50 -05:00
wandererfan
ae3144c7ce [TD]fix Balloon location 2023-11-25 08:05:50 -05:00
wandererfan
54da041392 [TD]fix dimension location 2023-11-25 08:05:50 -05:00
Syres916
c298594cbe [Techdraw] Hole & Shaft Fit Error Enhancement 2023-11-25 08:05:23 -05:00
Syres916
00826abe7a [Gui] Add 20, 25 and 30px marker sizes 2023-11-25 12:36:33 +01:00
wmayer
ac4a878052 Gui: fix SelectionSingleton::sHasSelection 2023-11-24 15:06:00 +01:00
wmayer
c18ecb1a9b Part: fix TopoShapePy::optimalBoundingBox 2023-11-24 15:06:00 +01:00
wmayer
5f3c6b6d1a Part: fix BSplineCurve2dPy::insertKnot 2023-11-24 15:06:00 +01:00
Roy-043
c36979f156 Draft: improve Snap bar show-hide preference
This PR replaces the showSnapBar and hideSnapBar preferences with a single new preference: SnapBarShowOnlyDuringCommands.

Additonally:
Improved some param observer callbacks.
2023-11-24 13:30:03 +01:00
Roy-043
70d2731483 Merge pull request #11509 from Roy-043/Draft-getActiveObject-has-changed
Draft: Gui.ActiveDocument.ActiveView.getActiveObject has changed
2023-11-24 12:46:07 +01:00
Roy-043
b5d8e17341 Draft: gui_selectplane can rely on ParamObserver for grid changes 2023-11-24 12:18:57 +01:00
Roy-043
387d1d1fd9 Draft: Gui.ActiveDocument.ActiveView.getActiveObject has changed
See #10405.
2023-11-24 12:08:28 +01:00
Roy-043
0179cd28ec Merge pull request #11503 from yorikvanhavre/draft-toolmessages
Draft: Added a preference to turn on/off tool messages
2023-11-24 10:59:54 +01:00
pavltom
4751481167 [TechDraw] Set Calculate Area icon units to pixels 2023-11-23 19:47:04 -05:00
pavltom
0e5aa8c4df [TechDraw] Fixes #7317 - Calculate Area of Arbitrary Faces 2023-11-23 19:47:04 -05:00
Adrian Insaurralde Avalos
d0fb2b8b29 3rdPart/salomesmesh - fix for vtk 9.3 compatibility
minimum required version is 7.1
2023-11-24 00:27:36 +01:00
wmayer
c2694fd7d9 Base: cppcoreguidelines 2023-11-24 00:11:32 +01:00
Yorik van Havre
b1bcfec271 Draft: Added a preference to turn on/off tool messages (off by default) - fixes #7078 2023-11-23 16:27:36 +01:00
Roy-043
b5adfff293 Draft: make default anno style non-global
Additionally:
* Added the DimShowLine preference. Layout of the tab will be updated later.
* Improved handling of DraftAnnotationScale preference: catch division by zero and use it for the default anno style.
2023-11-23 09:45:12 +01:00
Roy-043
0fdbf9726f Remove 2 unused variables 2023-11-23 09:43:48 +01:00
Roy-043
3fef8bfca0 Draft: param observer: improve handling of statusbar widgets
The Draft statusbar widgets should not be displayed in the Arch and BIM workbenches.

Also updated the copyright header to the current standard.
2023-11-23 09:43:48 +01:00
Roy-043
7a8abc3416 Draft interface tab was missing 2023-11-23 09:21:55 +01:00
Roy-043
2971d13a38 Arch: start Draft param observer
See #11481.
2023-11-23 09:21:55 +01:00
wmayer
dcd533af4b Base: fix google-explicit-constructor 2023-11-22 23:47:29 +01:00
wandererfan
b239797b3e [TD]fix RTA bounding rect 2023-11-22 08:43:35 -05:00
wandererfan
7b0ee89cf1 [TD]fix position of RTA on Svg export 2023-11-22 08:43:35 -05:00
wmayer
43642a54f3 Base: fix cppcoreguidelines-avoid-non-const-global-variables 2023-11-22 14:06:06 +01:00
Chris Hennes
98b3df9442 Base: Fix missing NOLINTEND 2023-11-22 11:15:32 +01:00
bgbsww
aa6da42ca1 Setting on 89.9 as a limit, enforce in dialog and properties 2023-11-22 10:30:54 +01:00
bgbsww
e7a84ea725 Prevent attempting to create an infinite helix 2023-11-22 10:30:54 +01:00
Chris Hennes
023e65c790 Merge pull request #11478 from pieterhijma/missing-api-doc-py-hlr
[Part] Missing API documentaton Python HLR
2023-11-21 19:10:50 -06:00
wmayer
ab8be62f2f Material: fix Qt6 build failure and minor optimizations 2023-11-22 01:48:07 +01:00
wmayer
41afcf41e6 MSVC: fix warnings about conversion between float and double 2023-11-21 23:10:03 +01:00
wmayer
de7c598b33 MSVC: fix warnings about unused variable 2023-11-21 23:10:03 +01:00
wmayer
3ab5165291 Qt: fix duplicate widget names 2023-11-21 23:10:03 +01:00
wmayer
132b077983 Qt: define Q_DISABLE_COPY_MOVE only if needed 2023-11-21 23:10:03 +01:00
Roy-043
ccd7d33d70 Draft: add parameter observer
To avoid having to restart FreeCAD after changing parameters.
2023-11-21 20:42:16 +01:00
Roy-043
6960f95a00 Merge pull request #11477 from Roy-043/Draft-improved-handling-of-snap-prefs
Draft: improved handling of snap prefs
2023-11-21 18:40:42 +01:00
Roy-043
d592a0ffc6 Merge pull request #11467 from Roy-043/Draft-make-mod-key-prefs-non-global
Draft: make mod key prefs non-global
2023-11-21 18:40:10 +01:00
Roy-043
94a649b128 Draft: improved handling of snap prefs
* Some trackers had 2 color nodes.
* Added a setColor function to some trackers.
* Added a set_snap_style function to the Snapper class.
2023-11-21 17:14:17 +01:00
Adrián Insaurralde Avalos
f90f08a83a Update OndselSolver submodule 2023-11-21 10:05:33 -06:00
Pieter Hijma
d91e54dfab Make comments consistent 2023-11-21 16:19:29 +01:00
Pieter Hijma
10c6d64e34 Add documentation for PolyHLRToShape 2023-11-21 16:19:29 +01:00
Pieter Hijma
99f7bc700d Add constructor documentation as well 2023-11-21 16:19:29 +01:00
Pieter Hijma
974651e159 Add documentation for HLRToShape 2023-11-21 16:19:29 +01:00