Benjamin Bræstrup Sayoc
9a8bdbaf9f
TechDraw: Use QStringLiteral
2025-02-10 18:32:44 +01:00
Benjamin Nauck
6f535f19fb
Prefer to use BaseClass's isDerivedFrom<T> over non template or Base::Type's
...
Regex based changes, manually verified
2025-01-27 16:08:18 +01:00
Ladislav Michl
0b3adee2ab
Base: Quantity: return std::string
2024-12-23 17:48:42 +01:00
Ladislav Michl
e62b91ada4
Base: Drop QString-std::string conversion functions from Tools
...
Convenience helpers function Tools::toStdString and Tools::fromStdString
were implemented for Qt4 or older to perform utf8 aware conversion as
QString::toStdString/QString::fromStdString were using toAscii/fromAscii
internally (see https://dreamswork.github.io/qt4/classQString.html ).
Since Qt5 QString uses toUtf8/fromUTf8, which makes the helper functions
obsolete (see https://doc.qt.io/qt-5/qstring.html#fromStdString ).
2024-12-02 23:30:53 -05:00
wandererfan
50eb2b5513
[TD]show autofill value in dialog
2024-06-30 09:32:20 -04:00
wandererfan
55515b1e7f
[TD]allow template fields to re-apply autofill
2024-06-23 09:48:25 -04:00
wandererfan
cb2573844f
[TD]allow manual update of autofill fields
2024-06-23 09:48:25 -04:00
wandererfan
1b669ee7b5
[TD]fix wrong xml namespace in some templates
2024-06-23 09:48:25 -04:00
wandererfan
ebdc3c255d
[TD]fix templated autofill for sheet
2024-04-07 14:32:02 -04:00
pavltom
2f04fce75e
[TechDraw] Issue #5903 - Autofill template information
2024-03-23 08:56:47 -04:00
wandererfan
b0b7df2424
[TD]fix 9990 page parms before display
2023-08-20 12:25:12 -04:00
wandererfan
d69551eccb
[TD]add label translation for Page and Template
2023-08-17 19:23:29 -04:00
wmayer
6fb167582a
TD: move all XML query handling to a single function
2023-03-18 19:26:01 -04:00
wandererfan
437457e996
[TD]remove obsolete log messages
2023-01-13 12:15:33 -05:00
wandererfan
4774c432c5
[TD]apply review comments from @chennes
...
- also delete empty execute method
2022-11-12 11:35:22 -05:00
wandererfan
1cf51ec1c3
[TD]fix embedded template file handling
2022-11-12 11:35:22 -05:00
Uwe
1640f01e34
[TD] [skip CI] DrawSVGTemplate.cpp: uniform whitespace
2022-10-08 12:33:12 +02:00
Uwe
a67f118d7f
[TD] DrawR* - DrawT*: remove unused includes
...
- also sort includes
2022-10-08 12:21:25 +02:00
wandererfan
aa2b1b8392
[TD]CI clang warnings
2022-09-05 17:48:38 -04:00
berniev
f4ffd15864
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
wmayer
e8f9c8a1d3
TD: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
luz.paz
d1dc813a80
TD: fix header uniformity
...
This PR fixes header uniformity across all TechDraw WB.
2019-12-21 09:57:45 -05:00
Tomas Pavlicek
c67ffc9f44
TechDraw - SVG changes via DOM manipulation instead of Regex replace
2019-10-06 07:31:34 -04:00
wandererfan
8736681edb
[TD]Fix #4085 Win File Rename Fail
2019-10-01 17:32:44 -04:00
wandererfan
1f4fb612dd
[TD]Apply filters to PropertyFile
2019-09-20 12:56:26 -04:00
wandererfan
d277bfbfa3
[TD]Possible fix for 4085 - rename on Win
2019-09-11 12:20:49 -04:00
Tomas Pavlicek
0a54126e56
TechDraw: SVG export refactoring - Fix russian templates rendering
2019-06-11 15:46:46 -04:00
Tomas Pavlicek
0856b8b19d
TechDraw: SVG export refactoring - Change tspan replacement strategy
2019-06-11 15:46:46 -04:00
Tomas Pavlicek
a562f6a129
TechDraw: SVG export refactoring - All XML modifications via DOM
2019-06-11 15:46:46 -04:00
wmayer
23bc00e1a1
PVS: V1024 The 'file' stream is checked for EOF before reading from it, but is not checked after reading. Potential use of invalid data
2019-03-13 13:34:45 +01:00
WandererFan
613ecd478d
Relax regex for editable text in Template
...
- the regex for finding editable text fields in
the svg code of Templates was too strict and
missed some fields if the svg had extra characters
between </tspan> & </text>.
2018-01-26 17:45:31 -05:00
Unknown
e3eca59173
Misc. typo fixes
...
Various workbenches
2017-12-23 14:30:30 +01:00
WandererFan
ddbbae9956
Allow DrawPage updates to be suspended
2017-09-10 15:21:54 +02:00
WandererFan
c5c42e74a7
Coverity fixes
...
151677
151789 - OK as is
152005
152508
154871 - false positive
156593
163235
2017-07-17 19:47:44 -03:00
Mateusz Skowroński
f06de8d916
QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
...
This change is Qt4/Qt5 neutral.
2016-08-15 14:14:40 +02:00
WandererFan
14329d9458
Remove obs property & code
2016-07-23 15:03:39 +02:00
WandererFan
27aafada9c
Include file cleanup per cppclean analysis
2016-07-14 14:39:06 +02:00
WandererFan
4b784975bb
regex_replace invalidates iterators
2016-07-11 15:32:16 +02:00
WandererFan
44f3a1a21e
Fix issue 53 Drawing templates
2016-07-11 15:32:16 +02:00
WandererFan
87f62ce89e
Handle malformed SVG in Template
...
Prevent invalid data input for Editable Text
2016-07-11 15:32:16 +02:00
WandererFan
9643fd022f
StatusBits -> setStatus
2016-07-11 15:32:16 +02:00
WandererFan
2fbc4025cd
ProjectionAlgo & DrawingExport renames
2016-07-11 15:32:16 +02:00
WandererFan
d24e9be1bf
Add Mod/TechDraw/App
2016-07-11 15:32:16 +02:00