Benjamin Bræstrup Sayoc
835905f76e
TechDraw: Use QStringLiteral
2025-02-10 18:32:44 +01:00
Ladislav Michl
0ee3c9f8e6
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
a1ff05f382
[TD] Fix win file spec backslash ( fix #16646 ) ( #16689 )
...
* [TD]add method to clean win filespecs
- '\' in strings passed to Python as filespecs is interpreted as
an escape of the following character.
- replace '\' with '/'
* [TD]remove '\' from filespecs before use
2024-09-23 17:40:05 +02:00
wandererfan
55968bbf6c
[TD]assorted Preference updates
...
- section line convention label
- remove superfluous save/restore on changeEvent
- change default scrub count
- add preference for default symbol dir
- add preference for display of section cut line
2024-05-19 09:42:47 -04:00
wandererfan
414e06d54d
[TD]apply translateLabel after all addObject calls
2023-08-17 19:23:29 -04:00
Chris Hennes
94426e1f54
TD: Translate default labels
2023-08-17 19:23:29 -04:00
wmayer
25a63f8750
TD: move to new style connect()
2023-02-01 01:33:34 +01:00
Uwe
cbd0140dcd
[TD] Task*, part 2/2: remove unused includes
...
- also some sorting
- also take care of PreCompiled.h
2022-12-07 19:49:05 +01:00
wandererfan
276e6c45b9
[TD]allow rotation of hatch directions
...
- faces can have their svg and bitmap hatches rotated to match
the view rotation or special situations
- section cut face can have svg hatch rotated
2022-12-03 15:15:25 -05:00
wandererfan
fe4a402b04
[TD]simplify section hatch file handling
2022-11-12 11:35:22 -05:00
wandererfan
75e163213a
[TD]simplify embedded hatch file handling
2022-11-12 11:35:22 -05:00
wandererfan
acf17905ed
[TD]CI clang warnings
2022-09-05 17:48:38 -04:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
Uwe
2e5e4dced8
[TD] Gui: remove some superfluous nullptr checks
2022-07-19 02:49:46 +02:00
Wanderer Fan
ac4fa39ad4
[TD]fix bitmap hatch
2022-07-03 10:18:37 -04:00
wmayer
fd8719c85c
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
a99be14233
TD: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
bitacovir
468af0e714
[TD] Name uniformity for Tree Icons
2021-05-07 12:07:35 -04:00
Benjamin Nauck
d358e13cd6
TechDraw: [skip ci] convert source files from iso-8859 to utf-8
...
All other source files are either plain ascii or utf-8, this converts
the last few to utf-8.
2021-03-25 18:02:12 +01:00
donovaly
b5f57ed2f0
[TD] make pointers to the UI std::unique_ptr
...
as noted in https://github.com/FreeCAD/FreeCAD/pull/4271#discussion_r554673632
the pointer to the UI should be a unique pointer.
This PR does this for all TD dialogs that don't already use a unique_ptr.
2021-01-19 19:24:27 +01:00
donovaly
9726ad3f4a
[TD] add dialog for hatches
...
as discussed in the forum, the hatch feature misses a dialog. So here it is. The code is more or less just the one of the existing GeomHatch dialog
2020-06-12 08:12:37 -04:00