Commit Graph

48 Commits

Author SHA1 Message Date
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
PaddleStroke
57bc4babea TechDraw: Implement smart dimension tool. 2024-05-06 18:40:46 +02:00
Chris Hennes
f7a4ce6928 Gui: Move C++ pref pages to QObject context 2023-05-19 20:54:27 -05:00
wmayer
23a6eae698 TD: Create .qm out of .ts files 2023-05-07 08:51:17 +02:00
wmayer
16e27eecc7 TD: port to Qt6
* in QtConcurrent::run the order of 1st and 2nd argument are swapped
* QtConcurrent::run asserts that the argument of the passed function pointer is not non-const
* Used methods of QFontDatabase are static in Qt5 and Qt6
* QTextStream::setCodec() has been removed in Qt6
* Argument of enterEvent() has changed from QEvent to QEnterEvent
* QTextCharFormat::setFamily() is deprecated
2023-03-16 09:17:39 -04:00
wandererfan
58bef18aee [TD]add ANSI Y14.5 compatible font
- also add osifont-italic
- update osifont to latest version
2023-01-16 15:08:40 -05:00
wandererfan
437457e996 [TD]remove obsolete log messages 2023-01-13 12:15:33 -05:00
Uwe
c947055821 [TD] remove unused headers (#8155)
* [TD] remove unused headers

- also some sorting
- also improve readability by not using an abbreviation (we consistently don't abbreviate class names)
2023-01-09 14:55:22 +01:00
wandererfan
ff1147fbae [TD]add extensions for drag and drop 2022-12-27 19:43:44 -05:00
Uwe
a722122807 [TD] Gui, A*-C*: remove unused includes
- also sort includes
- also an addition to precompiled header
- TaskCenterLine: remove unused code that interferes with used code with the same name
2022-10-09 03:34:53 +02:00
wandererfan
d8be4398e3 [TD]implement view stacking 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
wmayer
e8f9c8a1d3 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
Uwe
f8191d1899 [TD] remove Python.h and Xerces
seems not to be necessary anymore
2022-03-21 02:53:47 +01:00
edi271
d09d0b6036 Next31TechDrawTools 2022-01-07 08:58:10 -05:00
wmayer
7a58b7cfb0 TD: make MDIViewPagePy acting as sub-class of MDIViewPy 2021-11-21 17:33:19 +01:00
edi271
e660403b17 renamed to CommandExtensionPack 2021-09-06 18:32:45 +02:00
edi271
186b542050 added TechDrawTools Commands 2021-09-06 18:32:45 +02:00
donovaly
de614285c4 fix a typo 2020-04-15 10:10:14 -04:00
donovaly
e68d1fd989 give all preferences dialogs a clear name
The numbering was somewhat artificial.
2020-04-15 10:10:14 -04:00
donovaly
f4e937d3e0 This commits splits the "General" dialog to "General" and "Colors". 2020-04-15 10:10:14 -04:00
donovaly
363031fc73 [TD] split too long preferences dialogs
- as once discussed 2 of the dialogs are too long for smaller screens.

This commits splits the "Dimensions" dialog to "Dimensions" and "Annotation".
2020-04-15 10:10:14 -04:00
wandererfan
79d5d35eb1 [TD]Preferences: reorganize and add missing 2020-01-27 08:02:29 -05: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
wandererfan
f63cd9255a [TD]Python routines & extension for CosmeticVertex 2019-12-16 20:36:10 -05:00
wmayer
5390266ac7 fixes #0004125: MDIViews not accessible correctly 2019-09-15 18:15:44 +02:00
wandererfan
7cb2713e8c [TD]Welding Symbol creation 2019-08-22 17:11:55 -04:00
wandererfan
3f7570ad80 Initial version addCosmeticVertex 2019-05-24 19:38:02 -04:00
wandererfan
c1f9f11c27 Leader and RichText block improvements 2019-05-05 21:01:31 -04:00
wandererfan
abf419f68c Text Leader initial version 2019-05-05 21:01:31 -04:00
Franck Jullien
c5942d6a78 TechDraw: add Balloons 2019-04-01 23:24:17 +02:00
WandererFan
15be0f285e Include osifont in TechDraw
- also use PropertyFont instead of PropertyString
2017-09-10 15:23:46 +02:00
WandererFan
62e657f71e Fix #2972 Export Pdf Page Not in Foreground
exposes TechDrawGui.exportPageAsPdf(page,file)
also adds TechDrawGui.exportPageAsSvg(page,file)
2017-05-10 17:43:48 +02:00
Yorik van Havre
5590acdfa5 py3: ported Measure and TechDraw 2017-02-21 13:59:30 +01:00
WandererFan
1c8395e229 fix naming conflicts 2017-01-29 19:40:34 -05:00
WandererFan
33479bd4e3 Initial working version of geometric crosshatch/PAT files 2017-01-29 19:40:34 -05:00
WandererFan
504633b7fe Add 2nd page of preferences 2016-11-24 14:44:37 -02:00
WandererFan
64a7c3f0e9 Basic working ViewImage 2016-11-07 17:20:20 -05:00
Yorik van Havre
0843237c69 TechDraw: Arch View 2016-10-28 14:58:22 -02:00
Yorik van Havre
6775227589 TechDraw: Extended Draft View 2016-09-14 12:38:34 -03:00
WandererFan
27aafada9c Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +02:00
WandererFan
82c86b24af Default font to Sans from osifont 2016-07-11 15:32:16 +02:00
WandererFan
e05912a0cb Svg DrawViewSpreadsheet 2016-07-11 15:32:16 +02:00
WandererFan
a9cd30c2db 1st cut PyClip functionality 2016-07-11 15:32:16 +02:00
WandererFan
66dd5ff122 Preferences "Drawing" -> "TechDraw" 2016-07-11 15:32:16 +02:00
WandererFan
05bca371dc more /Drawing/TechDraw/ edits. VP name conflicts 2016-07-11 15:32:16 +02:00
WandererFan
df13886349 Add Mod/TechDraw/Gui 2016-07-11 15:32:16 +02:00