wandererfan
50c2b7e9d8
[TD]fix missing selection guard
...
- Area dimension extension was not checking that only
faces were in the selection.
2023-04-10 14:18:34 -04:00
Benjamin Bræstrup Sayoc
0bfae905d9
[TechDraw] Move CenterLine into own file
2023-04-06 13:51:35 -04:00
edi271
c9c82960ab
Manage rotated section views
2023-04-05 08:23:47 -04:00
wandererfan
704fb894a5
[TD]getters and setters for geometry
...
- make attributes private (or protected) and use
getters and setters instead of accessing attributes
directly.
2023-02-28 08:15:06 -05:00
wandererfan
bc036abb30
[TD]Allow balloons to be attached to non-part views
2023-01-13 12:15:33 -05:00
Uwe
a722122807
[TD] Gui, A*-C*: remove unused includes
...
- also sort includes
- also an addition to precompiled header
- TaskCenterLine: remove unused code that interferes with used code with the same name
2022-10-09 03:34:53 +02:00
wandererfan
aa2b1b8392
[TD]CI clang warnings
2022-09-05 17:48:38 -04:00
Wanderer Fan
aa1193559b
[TD]clazy warnings and duplicate setter/getter
...
- clazy warning re missing Q_OBJECT
- include TechDrawGlobal.h in headers
- resolve duplicate setter/getters
2022-08-18 09:34:32 -04:00
berniev
f4ffd15864
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
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
Uwe
7b4e5d7522
[TD] remove more superfluous nullptr checks
2022-07-20 02:32:52 +02:00
Benjamin Bræstrup Sayoc
0bf342b1d8
[TechDraw] Improve readability of commands
2022-07-09 13:07:30 -04:00
Wanderer Fan
db89eec8e3
[TD]implement navigation styles
2022-06-24 10:03:02 -04:00
Wanderer Fan
1c97b3d5df
[TD]fix ExtendShorten handling of CenterLine
2022-04-23 18:43:27 -04:00
Wanderer Fan
f53ac146c0
[TD]fix ExtendLine changes CenterLine
...
- extendShortenLine converts CenterLines to CosmeticEdges
2022-04-23 18:43:27 -04: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
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
wmayer
8f786ea6ef
Gui: Optimize includes to reduce compile time
2022-03-07 20:29:18 +01: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
luz paz
6718d8797e
Fix some typos and whitespace
2022-02-12 19:33:28 +01:00
edi271
fcb423992b
New tool circle through 3 points
2022-02-02 08:35:34 -05:00
edi271
8003ea80e5
[TD] Include Intersection method into DrawUtil class
2022-01-29 14:49:44 -05:00
edi271
f2f858190c
[TD] Insert new tool Area Annotation
2022-01-29 14:49:44 -05:00
Roy-043
e72537ae5b
Update CommandExtensionPack.cpp
...
Added the missing bracket!
2022-01-26 08:48:42 -05:00
Roy-043
0a23730be9
Update CommandExtensionPack.cpp
...
Delta Distance was added to the dialog box.
2022-01-26 08:48:42 -05:00
Roy-043
8c062b9f06
Update CommandExtensionPack.cpp
...
Modifications as suggested by Edi.
2022-01-26 08:48:42 -05:00
Roy
b974da4ea6
TechDraw: Ext. Tools: Improve menu texts and tooltips
2022-01-26 08:48:42 -05:00
edi271
6f1924f89a
[TD] Variable line stretching distance
2022-01-21 11:22:40 -05:00
edi271
1a8e88eeec
[TD] Move Circulation method to DrawUtil
2022-01-21 11:22:40 -05:00
Roy
04549a7b3d
TechDraw: Rename TechDraw_ExtensionArc command to TechDraw_ExtensionDrawCosmArc
2022-01-10 11:22:18 -05:00
Uwe
2db409659e
[TD] coding style fixes for new extensions
...
all done by MSVC
I do this since on one hand the readability is in this case really improved and because whenever I made a change, MSVC tries to fix the style and then the diffs are unnecessarily large. Also the MSVC style is almost what we use as the "standard" coding style.
2022-01-07 21:35:46 +01:00
Uwe
05a91e822b
[TD] fix another compiler warning about double to float truncation
2022-01-07 21:28:27 +01:00
Wanderer Fan
a67e78bda0
[TD]use smart pointers in Extensions
2022-01-07 13:34:20 -05:00
Wanderer Fan
28c5890bc9
[TD] avoid memory leaks by using shared_ptr
...
TD geometry objects are sometimes double deleted. This
change uses shared_ptr instead of raw pointers to manage
deletions.
2022-01-07 13:34:20 -05:00
wandererfan
dffa7040b9
[TD]combine @wmayer and edi271 changes re command extensions
2022-01-07 08:58:10 -05:00
edi271
85662489f9
using getCircleCenter from Part WB
2022-01-07 08:58:10 -05:00
edi271
6f60892209
using enums to define line attributes
2022-01-07 08:58:10 -05:00
edi271
9981e27f92
Changes caused by PR5231
2022-01-07 08:58:10 -05:00
edi271
747884a5f8
Inserted undo/redo commands
2022-01-07 08:58:10 -05:00
edi271
d09d0b6036
Next31TechDrawTools
2022-01-07 08:58:10 -05:00
wmayer
efae4bdf32
TD: [skip ci] fix warning about trunction from double to float
2021-10-11 16:47:27 +02:00
Roy-043
be24cbbcc0
TechDraw: typo in menu extension pack
...
Typo: "center line(s)" should be "centerline(s)". Same as in the name of the submenu: "Extensions: centerlines and threading".
2021-09-27 14:25:24 +02:00
edi271
e660403b17
renamed to CommandExtensionPack
2021-09-06 18:32:45 +02:00