Benjamin Bræstrup Sayoc
4e95213e0a
TechDraw: centralize usertype constants
2025-05-25 20:42:02 +02:00
tetektoza
bbcdb77003
TechDraw: Return text fields directly as childs of QGISVGTemplate
...
As the title says. I've noticed during reproducing of #18921 , that
after in `PagePrinter::renderPage` we call `setTemplateMarkers`
twice, which results in deleting `childItems` allocated memory
(in `setTemplateMarkers`->`setMarkers`->`updateView`->`clearClickHandles`),
and then we are calling `setTemplateMarkers` (also in `PagePrinter::renderPage`) second time,
accessing `textFields` in `setMarkers` method, which still contain hanging pointers
from the previous deallocation. This results in segfaults as we iterate through `textFields`.
So, instead of keeping sychronization between childs of QGISVGTemplate
and textFields vector - this patch removes this variable at all and uses
childs directly to return text fields.
2025-04-23 16:32:31 +02:00
Benjamin Bræstrup Sayoc
8e7d3325b3
TechDraw: refactor click handles for editable fields
...
Fixes #19387
2025-04-14 10:46:09 -05:00
wandererfan
1bc72ce3bb
[TD]clean up editable field length and click area
2024-06-23 09:48:25 -04:00
wmayer
90b7b461b8
TD: [skip ci] fix -Winconsistent-missing-override
2023-01-05 11:14:30 +01:00
wandererfan
0e402ae075
[TD]add light text on dark page mode
...
- some visually impaired users need white graphics on
dark page.
- revise Annotation dialog to respect dark style
2023-01-03 17:41:33 -05:00
Uwe
75b8a4264d
[TD] QGIL - QGIVE:remove unused includes
...
- also some sorting
2022-12-04 03:29:19 +01:00
wandererfan
1cf51ec1c3
[TD]fix embedded template file handling
2022-11-12 11:35:22 -05:00
berniev
180edfa3cc
Mod: Single arg ctors must be explicit
2022-08-24 16:55:20 +02: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
Benjamin Bræstrup Sayoc
b498e85f43
[TechDraw] Remove uneeded redefinitions of inherited functions
2022-08-12 18:13:52 -04:00
Wanderer Fan
db89eec8e3
[TD]implement navigation styles
2022-06-24 10:03:02 -04:00
luz paz
ae71abd1cc
TechDraw: Header uniformity and whitespace fixes
2020-11-14 16:59:51 +01:00
Tomas Pavlicek
068ef5b0a9
TechDraw: SVG export refactoring - Keep correct font sizes
2019-06-11 15:46:46 -04:00
wandererfan
925145a8b7
Fix #3695 Frame toggle sync
2019-05-13 12:29:15 -04:00
Ian Rees
950ac44f9f
TechDraw: Tidy, and fix Qt5 template text edition
2017-04-26 18:23:21 +12:00
WandererFan
9c99584682
Prevent creation of superflous QGItems for Text Fields
2016-08-12 10:01:16 +02:00
WandererFan
32e624c108
Handle non-latin1 chars in template
2016-08-12 10:01:16 +02:00
WandererFan
381c1e120e
Qt item parenting and garbage collection
...
Remove dupl/obsolete code
2016-08-01 19:27:52 -03:00
WandererFan
e2976b2ef5
Remove unconnected signals
2016-07-14 14:39:06 +02:00
WandererFan
27aafada9c
Include file cleanup per cppclean analysis
2016-07-14 14:39:06 +02:00
WandererFan
3dec1bd3b6
Fix template field dialog multiple instances
2016-07-11 15:32:16 +02:00
WandererFan
5591161e82
dlgTemplateField parentage
...
cosmetic: move button box
2016-07-11 15:32:16 +02:00
WandererFan
ffbaf79f4a
/QGI/QGraphicsItem/
2016-07-11 15:32:16 +02:00
WandererFan
df13886349
Add Mod/TechDraw/Gui
2016-07-11 15:32:16 +02:00