Commit Graph

1293 Commits

Author SHA1 Message Date
Chris Hennes
5533f41241 TD: PR4556 Step 2: remove native=true 2022-03-28 10:43:21 -05:00
wmayer
ccc0d54d97 TD: [skip ci] activate PCH of TechDraw (Gui) and use forward declarations
For MSVC this reduces compile time by ~20%
2022-03-25 13:54:47 +01:00
Uwe
5757cdf2ad [TD] remove a single-header file 2022-03-25 04:11:53 +01:00
Uwe
b25d7ad48d [TD] Gui Headers: remove unused header - part 4/4 2022-03-25 03:43:44 +01:00
Uwe
175484cf3f [TD] add missing header 2022-03-25 03:04:39 +01:00
Uwe
965868b799 [TD] Gui Headers: remove unused header - part 3 2022-03-25 02:47:09 +01:00
Uwe
093a8edec5 [TD] Gui Headers: remove unused header - part 2 2022-03-25 02:34:36 +01:00
Uwe
d0ec4aafdc [TD] Gui Headers: remove unused header - part 1 2022-03-25 01:58:33 +01:00
wmayer
d21a60b294 All: modernize C++11
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
e8f9c8a1d3 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
Yorik van Havre
1563822763 Translations: Merged crowdin strings 2022-03-23 10:37:50 +01:00
Stefan Brüns
1e018f63d8 [TechDraw] Replace XQuery based SVG cleanup with DOM traversal
Evaluation of the XQuery has a complexity of more than O(3), as the
underlying QDomNodeModel::compareOrder is quite expensive.

Traversing the DOM tree directly is significantly faster, i.e. it now
takes constantly less time than the actual drawing via QPainter, while
previously it could take several magnitudes more time.

Fixes #6638

Also replace the XQuery used for reparenting the drawing group. Not
performance critical, but significantly simpler code.
2022-03-22 08:44:39 -04:00
Uwe
f8191d1899 [TD] remove Python.h and Xerces
seems not to be necessary anymore
2022-03-21 02:53:47 +01:00
andrea reale
83d3a916c0 remove QT4 references 2022-03-19 23:07:38 +01:00
wmayer
1f12dca2b4 Py: replace BaseExceptionFreeCADError with more suitable exception types 2022-03-17 13:54:23 +01:00
Wanderer Fan
62a670431a [TD]fix update suppression logic 2022-03-16 09:31:29 -04:00
Uwe
99191c6679 [Gui] So headers: remove unused includes
- also sort out some headers to be used in precompiled headers
- also move a boost header to precompiled headers
2022-03-16 02:01:32 +01:00
Wanderer Fan
cd663b9efd [TD]fix DetailView alignment 2022-03-14 20:03:08 -04:00
Yorik van Havre
a55ee61840 Merged crowdin translations 2022-03-14 12:21:01 +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
Wanderer Fan
37014eb586 [TD]fix unit display to standards 2022-03-13 19:04:42 -04:00
wmayer
883012e4b0 TD: Fix several coverity issues:
* CID 316569: Uninitialized scalar variable
* CID 350651: Unchecked dynamic_cast
* CID 350565: Unchecked dynamic_cast
* CID 350595: Unchecked dynamic_cast
* CID 350638: Unchecked dynamic_cast
* CID 350547: Division or modulo by float zero
2022-03-13 15:40:49 +01:00
Wanderer Fan
7903904f13 [TD]add missing ScaleType to Section dlg 2022-03-10 09:25:52 -05:00
wmayer
b626b7d719 Gui: Optimize includes to reduce compile time 2022-03-09 01:25:29 +01:00
Wanderer Fan
11ff0c69e2 [TD]Change grid default to OFF 2022-03-08 08:21:28 -05:00
Uwe
554635cc7d [Gui] rename the Qt header list 2022-03-07 20:35:38 +01:00
wmayer
8f786ea6ef Gui: Optimize includes to reduce compile time 2022-03-07 20:29:18 +01:00
Yorik van Havre
2cff977548 Merged crowdin translations 2022-03-07 14:55:22 +01:00
Wanderer Fan
4cf1c31f7f [TD]fix integer grid step variable to double 2022-03-06 08:54:24 -05:00
Wanderer Fan
ae79d2155f [TD]update menu text and tip to std 2022-03-05 14:30:14 -05:00
wmayer
5e0cfc64ee App: use forward declarations 2022-03-04 21:09:46 +01:00
wmayer
2a33fe77f6 App/Gui: move template classes (ViewProvider)ExtensionPythonT to their own header files 2022-03-04 18:54:42 +01:00
Wanderer Fan
7ae77937eb [TD]fix folder name in preference ui 2022-03-04 09:28:16 -05:00
Wanderer Fan
58d1ef260b [TD]move format spec to dimension tab
- also make %.2w default format
2022-03-04 09:28:16 -05:00
Wanderer Fan
0149b99b6f [TD]make page grid unit aware 2022-03-04 09:28:16 -05:00
Wanderer Fan
7ebc4c44c9 [TD]use <br> in ToolTipText vs \n 2022-03-03 09:31:01 -05:00
Wanderer Fan
4a97a6244c [TD]fix area scale and make unit aware 2022-03-03 09:31:01 -05:00
wmayer
79f8e33b87 TD: further security checks in CmdTechDrawExtensionPositionSectionView::activated 2022-02-28 19:09:31 +01:00
wmayer
f301532efb TD: improve handlings with casts 2022-02-28 18:56:28 +01:00
andrea reale
9b0d9ca6fc Fix uninitialized variable 2022-02-28 18:53:09 +01:00
wmayer
486c294f0c TD: fix compiler warnings added with 5e8a44c6a
* warning: private field 'm_showGrid' is not used [-Wunused-private-field]
* warning: private field 'm_gridStep' is not used [-Wunused-private-field]
2022-02-28 12:58:22 +01:00
Uwe
98692e4b63 [TD] CommandExtensionDims: remove unused includes 2022-02-28 01:42:39 +01:00
Uwe
6f00d895c0 [TD] fix compilation error introduced with https://github.com/FreeCAD/FreeCAD/pull/6465 2022-02-27 23:56:43 +01:00
Wanderer Fan
879339faa4 [TD]add alignment grid to page 2022-02-27 14:34:35 -05:00
luz paz
f8f3c448ef [TD] tweak verbiage for weld symbol directory tooltip [skip ci] 2022-02-24 18:10:57 -05:00
luz paz
03ffb0844f [TD] Fix some more grammatical issues 2022-02-24 18:10:57 -05:00
Benjamin Bræstrup Sayoc
15759a57fb [TD] Improve weld task tool tips, partially fixes #0004838 2022-02-24 18:10:57 -05:00
luz paz
5c9e629db7 TD: Substitute string 'Dxf' for 'DXF' [skip ci]
This fix was suggested by translators on crowdin.
2022-02-20 09:33:56 -05:00
Uwe
7c11debe1a [TD] ViewProviders: remove more unused includes
- also sort the includes
2022-02-18 05:11:52 +01:00
Uwe
9b14bf80d1 [TD] ViewProviders: remove unused includes
- also sort the includes
2022-02-18 04:43:32 +01:00