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
c9beae7ef3
[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
wmayer
25beef481c
TD: move to new style connect()
2023-02-01 01:33:34 +01:00
Uwe
7e70d28761
[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
6cc849fb73
[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
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
Wanderer Fan
391bdcccaa
[TD]fix GeomHatch change file name
2022-04-23 10:00:02 -04:00
wmayer
ccc0d54d97
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
e8f9c8a1d3
TD: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
bitacovir
b26069a508
[TD] Name uniformity for Tree Icons
2021-05-07 12:07:35 -04:00
donovaly
691eaa6e8f
[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
8a1ea82cdd
[TD] geometric Hatch dialog
...
- use Gui::QuantitySpinBox
- some UI file size policy adjustments
2020-03-30 13:28:47 -04:00
donovaly
4fadf793a7
[TD] make GeomHatch dialog show changes immediately
...
also change SpineEdit step to better values
2020-03-22 09:37:42 -04:00
wandererfan
d210c14167
[TD]GeomHatch - handle empty parameter
2020-03-20 18:42:48 -04:00
WandererFan
0ce1a6f730
fix confusing class name
2017-05-10 17:43:48 +02:00
WandererFan
bf4a80dad5
clean up GeomHatch feature, gui & dialog
...
Refactor code, allow dialog to edit feature, update graphics on change
prep for dash line start positioning.
2017-05-10 17:43:48 +02:00
WandererFan
7f5fa162b8
Add dialog for GeomHatch creation
2017-01-29 19:40:34 -05:00