Commit Graph

97 Commits

Author SHA1 Message Date
Uwe
8b99abd81b [Image] [Inspection] remove superfluous nullptr checks 2022-07-18 01:54:09 +02:00
wmayer
d5340a82ab Gui/Mod: replace several reinterpret_cast with static_cast 2022-06-25 11:36:55 +02:00
Yorik van Havre
4c34ae7398 Merge pull request #7067 from Kuzma30/add_ts
Crowdin Add "new" WB to translations.
2022-06-24 13:50:43 +02:00
mosfet80
c48a569696 Boost version <=1.60 is never used in freecad 0.20 (#7038)
* Boost version 1.60 is never used in freecad 0.20
2022-06-24 02:20:26 +02:00
Kuzemko Alexsandr
0b2356ba04 Add missing file. 2022-06-21 17:35:36 +03:00
Kuzemko Alexsandr
547bd689c6 Inspection Add more translation texts. 2022-06-21 17:22:15 +03:00
Chris Hennes
8ef79afd7b Inspection: PR4556 Step 3: sort QGridLayout by row-col 2022-03-28 10:43:21 -05:00
wmayer
07b4cefd06 Inspection: include header with export macros 2022-03-24 20:45:03 +01:00
wmayer
f76c121c28 Inspection: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
Uwe
eff0d02ac1 [Inspection] remove unused headers and Xerces
- also sort our some includes to PreCompiled.h
2022-03-20 22:17:34 +01:00
Uwe
6f003b38ac [Inspection] remove Python.h from headers
is not necessary anymore
2022-03-20 18:09:46 +01:00
wmayer
0f9768fb33 Fix coverity issue:
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
Uwe
4f5c29edd6 [Gui] Quarter: remove unused includes 2022-03-09 01:12:15 +01:00
Uwe
554635cc7d [Gui] rename the Qt header list 2022-03-07 20:35:38 +01:00
wmayer
91e4e468dd Base: move ILogger sub-classes to their own source files in order to reduce including stream classes in client code 2022-03-06 10:13:47 +01:00
wmayer
5e0cfc64ee App: use forward declarations 2022-03-04 21:09:46 +01:00
wmayer
ada653e591 Add Global.h headers to modules 2021-12-18 14:06:40 +01:00
wmayer
8b7dadc1ab Gui: do not include generated ui file inside header file 2021-11-22 16:50:21 +01:00
Mateusz Skowroński
9ade68e9bf Fix CMake warning: qt5_make_output_file is not part of the official API, and might be removed in Qt 6. 2021-04-19 15:10:53 +02:00
luz paz
1e91b9fb45 Inspection: Issue #0004473: Expose openCommand() to translation
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the Inspection Wb.  
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
wmayer
56c608932f Win: [skip ci] check if NOMINMAX is already defined before setting it 2020-11-11 13:34:42 +01:00
vejmarie
704d4d9945 Big update to remove deprecation warning from Qt 5.15.0
That is need on MacOS build as travis log is bigger than 50k lines
which breaks travis rules
And by the way deprecations are real
All file contains the same modification replace 0 to Qt::WindowFlags() when needed
as the class needs to be instantiated

Signed-off-by: vejmarie <jmverdun3@gmail.com>
2020-09-24 12:56:43 +02:00
wmayer
f388ba1048 Inspection: [skip ci] do not use multi-threading when Part objects are used for visual inspection 2020-09-08 16:55:35 +02:00
wmayer
45e0673645 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
d6169d6478 boost: fix for boost < 1.60 2020-06-15 19:38:39 +02:00
wmayer
730154a684 boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated 2020-06-12 17:51:33 +02:00
wmayer
7fffe88433 gcc: [skip ci] fix -Waddress 2020-06-04 14:56:20 +02:00
Zhang Wei
8111c9e2e5 Patch for MIPS64 Architecture 2020-02-15 19:32:58 +01:00
donovaly
24ec114cb8 remove program-specific SVG namespaces
while fixing a SVG export issue for techDraw I noticed that some SVG files have program-dependent (and thus not clean) code in it. These are traces of the programs Sodipodi and Inkscape, like e.g. this line:
inkscape:export-filename="/home/yorik/PartDesign_Groove.png

This is unnecessary and FC should not use program-dependent code in the SVG but use instead plain SVG strictly following the SVG specification.

This PR transforms the few affected SVGs to a plain version.
2020-02-07 07:34:49 -05:00
wmayer
4e02de80c0 Inspection: multi-threaded calculation 2020-01-29 11:55:49 +01:00
wmayer
f22e1eb32c Inspection: [skip-ci] const correctness 2020-01-28 19:20:09 +01:00
wmayer
12b944984c [skip ci] fix header uniformity
Set a real email address for headers in inspection and surface module
2019-12-21 16:12:54 +01:00
wmayer
ae5a6a2350 [skip ci] tmp. disable selection when switching to curvature or inspection info modus 2019-11-09 11:31:51 +01:00
wmayer
a128489ea3 [skip ci] for curvature and inspection objects set default selection style to BBOX 2019-11-09 11:21:18 +01:00
wmayer
67be01f3ac make mesh picking working for view providers underneath a Part container 2019-11-09 11:16:23 +01:00
wmayer
e48c52c480 force strict ISO C++ (-Wpedantic)
for Drawing, Image, Inspection, Mesh, MeshPart, Part, Path, Points, Raytracing, ReverseEngineering, Spreadsheet, Start, Surface, Web

TODO: fix several -Woverflow in area
2019-09-18 11:32:42 +02:00
Zheng, Lei
5214f5b7ce 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
wmayer
d11bfed7c6 Replace Base::Exception with appropriate subclass 2018-11-14 17:36:00 +01:00
wmayer
36271b4052 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +01:00
wmayer
d920e3437c CMP0050: make Inspection module aware of cmake policy 2018-08-20 17:32:25 +02:00
luz.paz
424cd49398 Typos and whitespace fixes 2018-08-07 11:13:31 -04:00
Unknown
e3eca59173 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
luzpaz
985980648c 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
9cda1b53bc Allow interchangable use of link properties and their derivatives 2017-09-09 16:47:07 +02:00
wmayer
d9a0c56a39 py3: ported Inspection to python3 2017-02-12 21:01:48 +01:00
wmayer
9127fea207 use normals if available 2017-01-03 19:58:26 +01:00
wmayer
df39ff171f compute signed distances of points to shape, show results of visual inspection for point clouds 2017-01-03 17:02:50 +01:00
Alexander Gryson
456e77de3f Update multiple workbenches
Workbenches updated:
* Complete
* Image
* Inspection
* Material
* MeshPart
* Points
* Reverse Engineering
* Start
* Test
* Web
2016-12-26 12:23:07 -02:00
wmayer
743b83e853 Add switch to select between Qt4 and Qt5 2016-12-13 15:53:13 +01:00
wmayer
6cfaf916f8 remove superfluous Qt includes 2016-12-13 15:40:49 +01:00