Commit Graph

1413 Commits

Author SHA1 Message Date
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
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
andrea
5a9ffe468c Remove deprecated function 2022-07-26 08:52:04 -04: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
edi271
a203b1ae30 [TD] Add SurfaceFinishSymbol command
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2022-07-20 16:13:56 -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
Uwe
af18a97913 [TD] Gui: remove more superfluous nullptr checks 2022-07-19 03:40:32 +02:00
Uwe
2e5e4dced8 [TD] Gui: remove some superfluous nullptr checks 2022-07-19 02:49:46 +02:00
Wanderer Fan
3137a81604 [TD]check for spline on linear Dims 2022-07-16 11:28:38 -04:00
Wanderer Fan
5d93fbe0bb [TD]fix ext line gap preference 2022-07-16 11:28:38 -04:00
Benjamin Bræstrup Sayoc
619c7942aa [TechDraw] Improve readability of ViewProviderWeld.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
bb44c9ece4 [TechDraw] Improve readability of ViewProviderViewSection.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
700a0217b4 [TechDraw] Improve readability of ViewProviderViewPart.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
87d4c8e237 [TechDraw] Improve readability of ViewProviderTemplate.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
cd1cc2e6e9 [TechDraw] Improve readability of ViewProviderRichAnno.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
46ab6b7534 [TechDraw] Improve readability of ViewProviderProjGroupItem.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
0bf9f1de93 [TechDraw] Improve readability of ViewProviderPage.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
0001965476 [TechDraw] Improve readability of ViewProviderLeader.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
4203420b02 [TechDraw] Improve readability of ViewProviderHatch.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
60e6a0e73e [TechDraw] Improve readability of ViewProviderGeomHatch.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
886f4fe1b9 [TechDraw] Improve readability of ViewProviderGeomHatch.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
c90fc4fe49 [TechDraw] Improve readability of ViewProviderBalloon.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
23c3cf76be [TechDraw] Improve readability of TaskWeldingSymbol.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
9830cabb33 [TechDraw] Improve readability of TaskSelectLineAttributes.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
8d7cb491f7 [TechDraw] Improve readability of TaskSectionView.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
93700c81e4 [TechDraw] Improve readability of TaskRichAnno.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
7c1c31e10e [TechDraw] Improve readability of TaskProjGroup.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
c85e6d2d73 [TechDraw] Improve readability of TaskLineDim.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
9976280027 [TechDraw] Improve readability of TaskLeaderLine.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
6a2aa14edd [TechDraw] Improve readability of TaskDetail.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
1ae137aeba [TechDraw] Improve readability of TaskCenterLine.cpp 2022-07-15 11:31:11 -04:00
Wanderer Fan
452c2ce7e7 [TD]fixes for 8c0ab46b4d 2022-07-11 22:57:46 -04:00
Benjamin Bræstrup Sayoc
a014cac3c3 [TechDraw] Alphabetize TechDraw.qrc for readability 2022-07-09 14:38:30 -04:00
Benjamin Bræstrup Sayoc
43f6c17942 [TechDraw] Rename icon filenames for consistency 2022-07-09 14:38:30 -04:00
Benjamin Bræstrup Sayoc
8c0ab46b4d [TechDraw] Improve readability of commands 2022-07-09 13:07:30 -04:00
Yorik van Havre
c38e88c61b TechDraw: Allow DraftView command on any object
Currently the TechDraw DraftView command only accepts Draft objects
as selected objects. However, the Draft SVG rendering works with
almost anything (or at least it should :) ). This commit raises the
restrictions amd allow the DraftView tool to work with any kind of
selected object.
2022-07-07 13:17:34 +02:00
Benjamin Bræstrup Sayoc
8b52db90c5 [TechDraw] Use function overloadin and avoid code repeat 2022-07-06 20:46:44 -04:00
Wanderer Fan
b6c20202cd [TD]adjustable extension line gap 2022-07-04 20:43:49 -04:00
Wanderer Fan
11c6f4a9e9 [TD]fix scaling of bitmap 2022-07-04 10:49:22 -04:00