Commit Graph

1942 Commits

Author SHA1 Message Date
Wanderer Fan
cb96332a64 [TD]fix multiple dimension drag 2022-08-10 14:09:08 -04:00
wmayer
2062f9ce87 clang: fix warnings [-Winconsistent-missing-override] 2022-08-09 17:36:25 +02:00
berniev
ddafb98813 Mod: Use override etc 2 2022-08-09 12:52:26 +02:00
berniev
915369d8a2 Mod: Redundant_string_initialization 2022-08-08 16:52:42 +02:00
wmayer
617f213d2f TD: [skip ci] help code analyzers with export macro 2022-08-08 12:03:25 +02:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
berniev
b796a0d376 Mod: use empty 2022-08-06 19:30:13 +02:00
berniev
2d4c5a4cfb Mod: use emplace_back 2022-08-05 10:36:16 +02:00
Benjamin Bræstrup Sayoc
953625d74b [TechDraw] Use inherited isShow
Remove uneeded redefinitions of inherited functions
2022-08-04 10:02:47 -04:00
Benjamin Bræstrup Sayoc
fda3fd731f [TechDraw] Use inherited unsetEdit
Remove uneeded redefinitions of inherited functions
2022-08-04 10:02:47 -04:00
Benjamin Bræstrup Sayoc
23966513c7 [TechDraw] Remove uneeded redefinitions of inherited functions 2022-08-04 10:02:47 -04:00
Benjamin Bræstrup Sayoc
86dfd0a862 [TechDraw] Simplify code getting default line weights 2022-08-02 16:13:01 -04:00
Benjamin Bræstrup Sayoc
750fa24b2e [TechDraw] Remove deprecated replaceGeomFormat 2022-08-02 16:09:54 -04:00
Benjamin Bræstrup Sayoc
8719b71e39 [TechDraw] Remove deprecated replaceCenterLine 2022-08-02 16:09:54 -04:00
Benjamin Bræstrup Sayoc
0bb56ad93f [TechDraw] Remove deprecated replaceCosmeticEdge 2022-08-02 16:09:54 -04:00
Benjamin Bræstrup Sayoc
127af5bea4 [TechDraw] Remove deprecated replaceCosmeticVertex 2022-08-02 16:09:54 -04:00
Benjamin Bræstrup Sayoc
79d4c1556f [TechDraw] Improve readability of DrawWeldSymbol.cpp 2022-07-29 14:39:21 -04:00
Benjamin Bræstrup Sayoc
811b85caeb [TechDraw] Improve readability of DrawViewSpreadsheet.cpp 2022-07-29 14:39:21 -04:00
wmayer
e48a3a8cea Mod: [skip ci] fix warning: [-Wreturn-std-move] 2022-07-29 18:55:10 +02:00
Uwe
666fab995e [TD] silence a MSVC compiler warning
- as suggested here: https://forum.freecadweb.org/viewtopic.php?p=613409#p613409
2022-07-29 02:21:21 +02:00
Benjamin Bræstrup Sayoc
e8e1050620 [TechDraw] Make projection group test a unittest 2022-07-28 14:51:50 -04:00
Benjamin Bræstrup Sayoc
48661cd3c7 [TechDraw] Fix making template bug for tests 2022-07-28 14:51:50 -04:00
Benjamin Bræstrup Sayoc
6893938f2a [TechDraw] Make balloon test a unittest 2022-07-28 14:51:50 -04:00
Benjamin Bræstrup Sayoc
36f50665fe [TechDraw] Make section view test a unittest 2022-07-28 14:51:50 -04:00
Benjamin Bræstrup Sayoc
337b40f846 [TechDraw] Make view test a unittest 2022-07-28 14:51:50 -04:00
Benjamin Bræstrup Sayoc
cf8e3f8eda [TechDraw] Make dimension test a unittest 2022-07-28 14:51:50 -04:00
Wanderer Fan
54ce3d0fc3 [TD]fix redraw does not paint all views 2022-07-28 09:16:03 -04:00
Wanderer Fan
0805d284d5 [TD]fix Symbol update on property change 2022-07-28 09:16:03 -04:00
wmayer
c4e4b5cf02 TD: Use new-style syntax of connect()
When fixing clazy issues -Wclazy-fully-qualified-moc-types then old-style syntax of connect() may fail. Thus, replace it with the new-style syntax
2022-07-26 16:10:45 +02:00
Benjamin Bræstrup Sayoc
a1dfe2465f [TechDraw] Make image test a unittest 2022-07-26 09:40:19 -04:00
Benjamin Bræstrup Sayoc
4fc8596d7b [TechDraw] Make symbol test a unittest 2022-07-26 09:40:19 -04:00
Benjamin Bræstrup Sayoc
906618c0b6 [TechDraw] Make annotation test a unittest 2022-07-26 09:40:19 -04:00
Benjamin Bræstrup Sayoc
d1f107f656 [TechDraw] Make hatch test a unittest 2022-07-26 09:40:19 -04:00
andrea
5a9ffe468c Remove deprecated function 2022-07-26 08:52:04 -04:00
Uwe
c9b709d814 [TD] remove unnecessary nullptr checks 2022-07-26 00:28:57 +02:00
wmayer
e7edda9679 TD: [skip ci] Fix several clazy issues:
* Using copy-ctor but class TechDraw::anglePoints has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft]
* Using copy-ctor but class TechDraw::arcPoints has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft]
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
* C++11 range-loop might detach Qt container (QList) [-Wclazy-range-loop-detach]
* signal arguments need to be fully-qualified (TechDrawGui::QGIView instead of QGIView) [-Wclazy-fully-qualified-moc-types]
* Use multi-arg instead [-Wclazy-qstring-arg]
* Use midRef() instead [-Wclazy-qstring-ref]
2022-07-25 17:00:48 +02:00
luz paz
a55f5eb1ae Fix typos in Part and TechDraw workbenches
[skip ci]
2022-07-21 15:15:35 +02:00
Benjamin Bræstrup Sayoc
6ed38eeb99 [TechDraw] Improve readability of DrawViewDetail.cpp
[TechDraw] Improve readability of DrawViewDimension.cpp

[TechDraw] Improve readability of DrawViewDimExtent.cpp

[TechDraw] Improve readability of DrawViewDraft.cpp

[TechDraw] Improve readability of DrawViewImage.cpp

[TechDraw] Improve readability of DrawViewMulti.cpp
2022-07-20 16:44:26 -04:00
edi271
a203b1ae30 [TD] Add SurfaceFinishSymbol command
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2022-07-20 16:13:56 -04:00
Wanderer Fan
111aef4866 [TD]review comments and rebase for PR7197 2022-07-20 12:59:12 -04:00
Benjamin Bræstrup Sayoc
e326f9bd99 [TechDraw] Improve readability of DrawViewClip.cpp 2022-07-20 12:59:12 -04:00
Benjamin Bræstrup Sayoc
3979d589a3 [TechDraw] Improve readability of DrawViewBalloon.cpp 2022-07-20 12:59:12 -04:00
Benjamin Bræstrup Sayoc
b349d02496 [TechDraw] Improve readability of DrawViewArch.cpp 2022-07-20 12:59:12 -04:00
Benjamin Bræstrup Sayoc
fa27525021 [TechDraw] Improve readability of DrawViewAnnotation.cpp 2022-07-20 12:59:12 -04:00
Benjamin Bræstrup Sayoc
6aef122551 [TechDraw] Improve readability of DrawTile.cpp 2022-07-20 12:59:12 -04:00
Benjamin Bræstrup Sayoc
380219ad7f [TechDraw] Improve readability of DrawRichAnno.cpp 2022-07-20 12:59:12 -04:00
Uwe
7ab531c51a [TD] last part of removal of superfluous nullptr checks 2022-07-20 12:17:16 +02:00
Uwe
40d8ebb372 [TD] remove some more superfluous nullptr checks 2022-07-20 11:54:28 +02:00
Uwe
31bc9f3913 [TD] remove some more superfluous nullptr checks 2022-07-20 02:53:48 +02:00
Uwe
8304a0942e [TD] remove more superfluous nullptr checks 2022-07-20 02:32:52 +02:00