Commit Graph

1403 Commits

Author SHA1 Message Date
wmayer
c5910c1530 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
e3bdf0a1ef Fix typos in Part and TechDraw workbenches
[skip ci]
2022-07-21 15:15:35 +02:00
edi271
a1b7e3e33b [TD] Add SurfaceFinishSymbol command
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2022-07-20 16:13:56 -04:00
Uwe
b2bb479788 [TD] last part of removal of superfluous nullptr checks 2022-07-20 12:17:16 +02:00
Uwe
b81d7e4864 [TD] remove some more superfluous nullptr checks 2022-07-20 11:54:28 +02:00
Uwe
5486c9808d [TD] remove some more superfluous nullptr checks 2022-07-20 02:53:48 +02:00
Uwe
7b4e5d7522 [TD] remove more superfluous nullptr checks 2022-07-20 02:32:52 +02:00
Uwe
15ec3e2cda [TD] Gui: remove more superfluous nullptr checks 2022-07-19 03:40:32 +02:00
Uwe
b514f47c21 [TD] Gui: remove some superfluous nullptr checks 2022-07-19 02:49:46 +02:00
Wanderer Fan
c25756af8a [TD]check for spline on linear Dims 2022-07-16 11:28:38 -04:00
Wanderer Fan
94dde1b9fb [TD]fix ext line gap preference 2022-07-16 11:28:38 -04:00
Benjamin Bræstrup Sayoc
5931199b24 [TechDraw] Improve readability of ViewProviderWeld.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
85fea935ab [TechDraw] Improve readability of ViewProviderViewSection.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
3b809fe77b [TechDraw] Improve readability of ViewProviderViewPart.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
fc3fdf337c [TechDraw] Improve readability of ViewProviderTemplate.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
a006618177 [TechDraw] Improve readability of ViewProviderRichAnno.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
5302576015 [TechDraw] Improve readability of ViewProviderProjGroupItem.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
51b9c1df14 [TechDraw] Improve readability of ViewProviderPage.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
92997d1338 [TechDraw] Improve readability of ViewProviderLeader.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
b3f7458a2e [TechDraw] Improve readability of ViewProviderHatch.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
2309dfc547 [TechDraw] Improve readability of ViewProviderGeomHatch.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
5d29f60040 [TechDraw] Improve readability of ViewProviderGeomHatch.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
2cd5adc0f9 [TechDraw] Improve readability of ViewProviderBalloon.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
3f277ddb16 [TechDraw] Improve readability of TaskWeldingSymbol.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
75db87a1ee [TechDraw] Improve readability of TaskSelectLineAttributes.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
c4de72c93c [TechDraw] Improve readability of TaskSectionView.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
9c0c565ecb [TechDraw] Improve readability of TaskRichAnno.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
47b98c0684 [TechDraw] Improve readability of TaskProjGroup.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
096f471426 [TechDraw] Improve readability of TaskLineDim.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
664426d394 [TechDraw] Improve readability of TaskLeaderLine.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
b2b2f6aabf [TechDraw] Improve readability of TaskDetail.cpp 2022-07-15 11:31:11 -04:00
Benjamin Bræstrup Sayoc
ec2dc0f495 [TechDraw] Improve readability of TaskCenterLine.cpp 2022-07-15 11:31:11 -04:00
Wanderer Fan
ac7b8026e4 [TD]fixes for 6cf4e31d7a 2022-07-11 22:57:46 -04:00
Benjamin Bræstrup Sayoc
95ab489fe9 [TechDraw] Alphabetize TechDraw.qrc for readability 2022-07-09 14:38:30 -04:00
Benjamin Bræstrup Sayoc
04371d3fca [TechDraw] Rename icon filenames for consistency 2022-07-09 14:38:30 -04:00
Benjamin Bræstrup Sayoc
0bf342b1d8 [TechDraw] Improve readability of commands 2022-07-09 13:07:30 -04:00
Yorik van Havre
9109ea2610 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
c53661014a [TechDraw] Use function overloadin and avoid code repeat 2022-07-06 20:46:44 -04:00
Wanderer Fan
fe47248dea [TD]adjustable extension line gap 2022-07-04 20:43:49 -04:00
Wanderer Fan
356a54e069 [TD]fix scaling of bitmap 2022-07-04 10:49:22 -04:00
Wanderer Fan
8b60da803c [TD]fix bitmap hatch 2022-07-03 10:18:37 -04:00
wmayer
0f5725b34a modernize C++: replace boost::function with std::function 2022-06-30 20:31:55 +02:00
Wanderer Fan
67ddf95f89 [TD]remove unused code 2022-06-30 08:50:33 -04:00
Wanderer Fan
203b9bb26c [TD]Navigation Styles - context menu handling & std cursors 2022-06-30 08:50:33 -04:00
Uwe
5ca796a162 [TD] fix linker error with MSVC
patch by @wwmayer: https://forum.freecadweb.org/viewtopic.php?p=605472#p605472
many thanks!
2022-06-26 22:38:49 +02:00
wmayer
e84f1ef14e TD: minor fixes:
* remove superfluous semi-colons
* if a method is declared override then the keyword virtual should be dropped
2022-06-26 15:51:43 +02:00
wmayer
5b708b1ba1 TD: fix possible dangling pointer in QGIHighlight 2022-06-24 17:39:33 +02:00
Wanderer Fan
db89eec8e3 [TD]implement navigation styles 2022-06-24 10:03:02 -04: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