Commit Graph

57 Commits

Author SHA1 Message Date
Max Wilfinger
488bc484b9 Inspection: Update UI strings for consistency 2025-06-30 10:34:19 -05:00
bofdahof
998f4e4d45 Console: rename PascalCase named methods to camelCase 2025-05-06 17:50:21 +02:00
Chris Hennes
b6924ff744 Inspection: catch exceptions in destructor 2025-03-25 09:45:25 +01:00
Kacper Donat
a72a63232a Base: Move App::Color to Base
Every basic data type is stored in Base module, color is standing out as
one that does not. Moving it to Base opens possibilities to integrate it
better with the rest of FreeCAD.
2025-02-17 21:10:26 +01:00
Benjamin Nauck
ae15d98fd3 Use is<T>() when possible 2025-01-27 16:08:18 +01:00
wmayer
ac50594e3b Remove color bar from SoFCColorBarNotifier to decrease reference counter 2024-07-15 18:05:30 +02:00
wmayer
d64bf15f8a Core: Update color bar when changing preferences
This solves one part of issue #10717
2024-07-01 10:55:21 -05:00
Florian Foinant-Willig
1a83d18a8f Inspection: modernize type checking 2023-10-23 18:09:39 +02:00
wmayer
56820718c5 Core: Revert superfluous changes made with PR #9521 2023-10-09 15:06:45 +02:00
AgCaliva
4a504437d3 merge master via cli 2023-09-16 02:12:58 -03:00
pre-commit-ci[bot]
222a2520b1 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-12 13:02:35 -04:00
AgCaliva
0859cf6555 Fix DOMDocument redefinition error 2023-09-08 09:12:52 -03:00
wmayer
ea116dc033 Inspection: apply clang format 2023-09-02 00:59:42 +02:00
wmayer
8b8f970b27 Inspection: modernize C++: use default member init 2023-08-23 00:55:03 +02:00
wmayer
edb477a795 Inspection: modernize C++: use equals default 2023-08-21 15:06:40 +02:00
wmayer
2ceb6edfe5 Inspection: modernize C++: use range-based for loop 2023-08-15 08:37:17 +02:00
wmayer
787a37be82 Gui: fix View3DInventorViewer's getViewProviderByPath, getViewProviderByPathFromTail, getViewProvidersOfType
The View3DInventorViewer only contains the top-level view providers which caused unexpected behaviour when using the three methods above. Thus, in client code they haven't been used any more.
Now the methods internally invoke the corresponding methods of the document. This allows it in client code to directly call the appropriate methods again (LoD).
2022-12-12 16:41:58 +01:00
Uwe
967cc57350 [Inspection] remove unused includes
- also some sorting
2022-11-29 03:34:22 +01:00
wmayer
48aafc3f8b Inspection: support display of lines, avoid explicit type checks 2022-09-15 11:46:20 +02:00
wmayer
2462f4c7a0 App: move from float to double for accuracy parameter, add a virtual method to determine a default accuracy 2022-09-15 09:52:14 +02:00
wmayer
061ec7f7b4 Inspection: support of shape with edges only 2022-09-13 17:05:21 +02:00
berniev
6953310116 Mod: Single arg ctors must be explicit 2022-08-24 16:55:20 +02:00
berniev
ddafb98813 Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
berniev
2d4c5a4cfb Mod: use emplace_back 2022-08-05 10:36:16 +02:00
Uwe
1f04880da9 [Image] [Inspection] remove superfluous nullptr checks 2022-07-18 01:54:09 +02:00
wmayer
e9890c0798 Gui/Mod: replace several reinterpret_cast with static_cast 2022-06-25 11:36:55 +02:00
wmayer
98b69b8fb9 Inspection: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
d41f55f382 [Inspection] remove unused headers and Xerces
- also sort our some includes to PreCompiled.h
2022-03-20 22:17:34 +01:00
Uwe
9654786c67 [Gui] Quarter: remove unused includes 2022-03-09 01:12:15 +01:00
wmayer
563743e7e6 Gui: do not include generated ui file inside header file 2021-11-22 16:50:21 +01:00
wmayer
44f42a8e2c LGTM: [skip ci] fix: Declaration hides parameter
A local variable hides a parameter. This may be confusing. Consider renaming one of them.
2020-07-27 10:57:34 +02:00
wmayer
15dea4f89a Inspection: multi-threaded calculation 2020-01-29 11:55:49 +01:00
wmayer
e3046be322 [skip ci] tmp. disable selection when switching to curvature or inspection info modus 2019-11-09 11:31:51 +01:00
wmayer
c4093373c4 [skip ci] for curvature and inspection objects set default selection style to BBOX 2019-11-09 11:21:18 +01:00
wmayer
f2bd624c63 make mesh picking working for view providers underneath a Part container 2019-11-09 11:16:23 +01:00
Zheng, Lei
c8891be856 Gui: add coinRemoveAllChildren to work around Coin3D bug
See bug description:
https://bitbucket.org/Coin3D/coin/pull-requests/119/fix-sochildlist-auditing/diff

Because of path based rendering (SoFCPathAnnotation) in mouse over
highlight, this bug causes crash more frequently here comparing to
upstream.

All C++ calling of SoGroup::removeAllChildren() is replaced by
Gui::coinRemoveAllChildren(), and python code is fixed by monkey
patching SoGroup.removeAllChildren() in FreeCADGuiInit.py.
2019-08-17 14:52:11 +02:00
luzpaz
56111a0810 Typos: user-facing and trivial
Several typos and uniformity fixes.
Note: 
*SCL/SimpleDataTypes.py is a upstream stepcode file whose fiz has been submitted upstream and accepted.
*the header of Tools/generateBase/generateMetaModel_Module.xsd  had redundant data. It has been removed. Please double check it.
2017-12-02 14:00:57 +01:00
Stefan Tröger
d0954e6e42 Allow interchangable use of link properties and their derivatives 2017-09-09 16:47:07 +02:00
wmayer
608f737170 use normals if available 2017-01-03 19:58:26 +01:00
wmayer
0ad93186b5 compute signed distances of points to shape, show results of visual inspection for point clouds 2017-01-03 17:02:50 +01:00
wmayer
68ea7fdac5 fix coverity issues 2016-10-08 17:43:30 +02:00
wmayer
4c1af037c5 fix -Wextra in Inspection 2016-09-23 18:10:27 +02:00
wmayer
9b013f7254 Coverity issues: fix Mesh, Points and Inspection module 2016-08-17 14:08:47 +02:00
wmayer
beb52c4e65 + replace old C cast with static_cast 2016-02-09 16:02:44 +01:00
Mateusz Skowroński
7d0e892d36 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
wmayer
27863408c9 + remove references to SoFCSelection where not needed 2015-05-20 19:24:12 +02:00
Stefan Tröger
72cab0c002 Adaption of FreeCAD to QuarterWidget
-removes all soqtviewer references
-create a quarter adaptor class which implements missing functionality
-adopts freecad code to make use of SoRenderManager and changed View3DInventorViewer  interface
2014-09-23 10:11:11 +02:00
jriegel
30b189c1da Merge branch 'refs/heads/double-precision-werner'
Conflicts:
	src/App/Document.cpp
	src/App/PropertyGeo.cpp
	src/App/PropertyStandard.cpp
	src/Base/Reader.cpp
	src/Base/Reader.h
	src/Gui/propertyeditor/PropertyItem.cpp
	src/Mod/Fem/Gui/ViewProviderFemMesh.cpp
	src/Mod/Inspection/Gui/ViewProviderInspection.cpp
	src/Mod/Mesh/App/MeshProperties.cpp
	src/Mod/Part/App/TopoShapeFacePyImp.cpp
	src/Mod/PartDesign/App/FeatureRevolution.cpp
2013-09-26 00:05:05 +02:00
jriegel
66ee73f54b Further doubel suggestions from Jan
Moved Gui/InputVector,Placement,Transform from float to double
Moved Sketcher from float to double
more suggestions for moving float -> double
2013-09-24 11:01:01 +02:00