Commit Graph

27 Commits

Author SHA1 Message Date
Benjamin Bræstrup Sayoc
9a8bdbaf9f TechDraw: Use QStringLiteral 2025-02-10 18:32:44 +01:00
wandererfan
ff7fc0146f [TD]allow weld symbol on rotated leader 2024-12-16 18:16:03 +01:00
wandererfan
0540b473ec [TD]fix leader autohorizontal on rotated base view 2024-12-16 18:16:03 +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
24c1aaf148 [TD]fix weld symbol position 2024-06-20 09:08:32 -04:00
pavltom
6dd2a1d1ec [TechDraw] Reimplement Weld Symbol parent linking 2024-03-09 08:32:24 -05:00
wmayer
efe323395e TD: fix possible crash in QGIWeldSymbol::customBoundingRect()
Forum thread: https://forum.freecad.org/viewtopic.php?t=80203
2023-08-09 10:48:11 -04:00
Uwe
3645edf142 [TD] QGIW* - QGT:remove unused includes
- also some sorting
2022-12-04 01:45:12 +01:00
Wanderer Fan
99f2820712 [TD]fix Text sizes not exact 2022-09-07 16:06:54 -04: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
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
b514f47c21 [TD] Gui: remove some superfluous nullptr checks 2022-07-19 02:49:46 +02:00
wmayer
d21a60b294 All: modernize C++11
* replace deprecated headers
2022-03-23 22:44:18 +01:00
luz paz
738a697d94 [TD] remove Py2 code from TD 2021-04-22 13:08:56 +02:00
wmayer
611fd4088a fixes #0004318: Compilation fails with Qt 5.15 beta with QPainterPath errors [skip ci] 2020-07-02 13:19:43 +02:00
wandererfan
a3029fec74 [TD]Centralize preference getters 2020-04-24 11:13:49 -04:00
wandererfan
c3fbc24290 [TD]correct PropertyFileIncluded handling in Welding 2020-01-12 11:38:53 -05:00
wandererfan
b3a926f1d4 [TD]make symbol text adjustable
- also fix QGIWeldSymbol bounding rect
2019-12-26 08:56:21 -05:00
wandererfan
5720c2d0bb [TD]Fix welding text positions 2019-09-09 15:40:39 -04:00
wandererfan
f25bf04b8c [TD]Fix selection highlight for QGIPrimPath children 2019-09-09 15:40:39 -04:00
wandererfan
36c4998057 [TD]fix BRect on empty text items 2019-08-22 17:11:55 -04:00
wandererfan
e4d3909484 [TD] fix stale pointer in scene 2019-08-22 17:11:55 -04:00
wandererfan
bec1d493c8 [TD]Welding Symbol Editor alpha release 2019-08-22 17:11:55 -04:00
wandererfan
70a64afa53 [TD]Clean up Welding Symbol creation 2019-08-22 17:11:55 -04:00
wandererfan
7cb2713e8c [TD]Welding Symbol creation 2019-08-22 17:11:55 -04:00