Chris Hennes
3d18203403
TD: Fix capitalization of Console calls
2025-05-08 21:08:45 +02:00
bofdahof
998f4e4d45
Console: rename PascalCase named methods to camelCase
2025-05-06 17:50:21 +02:00
jonzirk76
95c1db7e3c
Moved DrawUtil.cpp member functions to DrawViewPart.cpp
...
Updated ownership of member functions & updated headers
Removed redundant ownership lines
Removed reference to removed ownership line
Removed owner from function head
static reference removed from header file, function heads updated
attempt to fix CosmeticExtension.cpp
attempt to fix CosmeticExtension.cpp #2
attempt to fix CosmeticExtension.cpp #3
CosmeticExtension.cpp refactored based on DrawUtil member functions move
2025-04-07 11:07:52 +02:00
j-hap
922ceb8b9e
TechDraw: Fix double free when resetting line formats
2025-03-04 18:41:29 +01:00
Benjamin Bræstrup Sayoc
63d9806b86
Remove magic number and hard type enums in Geometry.h
...
- Remove currently present magic numbers
- Hard type enums, so magic numbers can no longer be introduced. We don't want people to introduce magic numbers.
2025-02-17 12:16:49 -05:00
Benjamin Bræstrup Sayoc
cdb92768fe
[TechDraw] Return logic simplification ( #16504 )
...
* [TechDraw] AppTechDrawPy.cpp return logic simplification
* [TechDraw] CosmeticExtension.cpp return logic simplification
* [TechDraw] DrawBrokenView.cpp return logic simplification
* [TechDraw] HatchLine.cpp return logic simplification
* [TechDraw] LineGenerator.cpp return logic simplification
* [TechDraw] Preferences.cpp return logic simplification
* [TechDraw] ShapeExtractor.cpp return logic simplification
* [TechDraw] MDIViewPage.cpp return logic simplification
* [TechDraw] QGILeaderLine.cpp return logic simplification
* [TechDraw] QGIRichAnno.cpp return logic simplification
* [TechDraw] QGTracker.cpp return logic simplification
2024-11-18 16:14:47 -03:00
luzpaz
ed40de3e23
Fix various typos
...
Found via codespell.
2024-11-15 20:18:46 +01:00
WandererFan
b71c2a3278
[TD]Cosmetic function overhaul ( #14216 )
...
* [TD]Cosmetic geometry and tools update
- all cosmetics to store geometry in same form
- all cosmetics to survive scaling and rotation
- extension functions to survive scaling and rotation
* [TD]overhaul leader point storage and editing
- add py routine makeLeader(points)
* [TD]add leader conversion utility
* [TD]Set Leader RotateWithView default to true
* [TD]fix intersection vertex position
* [TD]add CosmeticEdge::makeLineFromCanonicalPoints
* [TD]fix 2 Extension tools
- positioning in DrawCosmeticCircle
- mishandling of points in execLineParallelPerpendicular
* [TD]Remove duplicate constexpr
* [TD]fix 2x Cosmetic arc tools
* [TD]refactor LineFormat out of Cosmetic
* [TD]move cosmetic appearance settings to LineFormat
* [TD]remove 2 unused methods
* [TD]apply format to blue line & circle tools
* [TD]fix ballon arrowhead does not rotate with view
* [TD]fix CosmeticCircle3Points
* [TD]allow multiple cosmetic object deletions
* [TD]fix extend/shorten centerline
2024-05-23 09:41:42 -04:00
wandererfan
10b9229492
[TD]fix fail on undo of cosmetic delete
2024-03-27 13:23:45 -04:00
wandererfan
084b33d3e4
[TD]fix centerline rotation
2023-09-27 12:24:21 -04:00
wandererfan
8e52a0baf8
[TD]Rotate CosmeticEdge with View
2023-08-19 17:18:42 -04:00
wandererfan
a40033ef9a
[TD]rotate CosmeticVertex with View
2023-08-19 17:18:42 -04:00
wandererfan
5776112570
[TD]resolve merge conflicts
2023-08-19 13:28:53 -04:00
Benjamin Bræstrup Sayoc
4051e29188
[TechDraw] Improve CosmeticExtension.cpp typing
...
Make type safe by using const keywords when appropriate and improve memory handling by using references when appropriate.
2023-08-19 13:28:53 -04:00
wandererfan
d23ca906b0
[TD]fix #9265 - memory leak in cosmetic features
2023-08-18 15:18:42 -04:00
wandererfan
b7f149864b
[TD]move dvp cosmetic functions to extension
2023-08-10 10:17:22 -04:00
Benjamin Bræstrup Sayoc
3f81006ac4
[TechDraw] Simplify return logic
...
Normal warmup
2023-04-11 13:49:57 -04:00
Benjamin Bræstrup Sayoc
70c9cf0fc0
[TechDraw] Simplify return logic
...
Easy warmup
2023-04-11 13:00:45 -04:00
Benjamin Bræstrup Sayoc
a207822ee8
[TechDraw] Move CenterLine into own file
2023-04-06 13:51:35 -04:00
wandererfan
01641433c1
[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
Uwe
76ec5de64b
[TD] A* - C*: remove unused includes
...
- also sort includes
- also sort PreCompiled.h
2022-10-03 23:05:36 +02:00
wandererfan
acf17905ed
[TD]CI clang warnings
2022-09-05 17:48:38 -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
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
Wanderer Fan
d36cbb522a
[TD]fix ExtendShorten handling of CenterLine
2022-04-23 18:43:27 -04:00
wmayer
a99be14233
TD: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
Wanderer Fan
e91cc8e329
[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
wmayer
c11d5df80a
TD: replace usage of raw pointers of Vertex and Face with shared pointers.
...
This fixes issue 4741: Broken File After Using Landmark Dimension in TechDraw
2021-12-10 14:25:24 +01:00
wandererfan
add17980b3
[TD]Eliminate replace fcns for Cosmetic objs
2020-05-16 07:42:45 -04:00
wandererfan
1533ea01ba
[TD]Simplify Cosmetic List & PyObject handling
2020-05-16 07:42:45 -04:00
wandererfan
a04d0f2574
[TD]Py routines for CenterLines
2019-12-16 20:36:10 -05:00
wandererfan
1ad2d35bce
[TD]Python routines and extension for line formating
2019-12-16 20:36:10 -05:00
wandererfan
08f23b84f7
[TD]Python routines and extension for Cosmetic Edges
2019-12-16 20:36:10 -05:00
wandererfan
d9e0c2e452
[TD]Python routines & extension for CosmeticVertex
2019-12-16 20:36:10 -05:00