Commit Graph

183 Commits

Author SHA1 Message Date
xtemp09
f20c1a0102 Simplify repr() function 2025-08-25 10:38:39 -05:00
Ryan K
4d6f0927fe TechDraw: Rework view frames (#22869)
Co-authored-by: Ryan Kembrey <ryan.kembrey@student.uts>
2025-08-11 11:04:58 -05:00
Ryan Kembrey
75b2ef67fc TechDraw: Update UI strings for consistency
Closes: #22143
2025-08-04 20:26:04 +02:00
bofdahof
998f4e4d45 Console: rename PascalCase named methods to camelCase 2025-05-06 17:50:21 +02:00
Benjamin Bræstrup Sayoc
b5885936d3 TechDraw: extract QGIDatumLabel 2025-02-25 14:25:31 +00:00
Andrea
de9bd5e1ce change MIN_boost_version
ubuntu version 20.04 is no longer supported.
The minimum boost version used for freecad is now 1.74 (ubuntu 22.04) https://launchpad.net/ubuntu/jammy/+package/libboost-system-dev
2025-02-15 13:33:32 -06:00
Benjamin Bræstrup Sayoc
835905f76e TechDraw: Use QStringLiteral 2025-02-10 18:32:44 +01:00
tritao
65466d580b Gui: Reorganize the selection files into a top Selection folder. 2025-02-03 17:56:57 +01:00
Pascal de Bruijn
11c77e4099 TechDraw: Export with default filename (#19033)
* TechDraw: Export with default filename

* TechDraw: templates consistent drawing_number/revision_index
2025-02-03 11:34:14 -05:00
Benjamin Nauck
dd6aa9f3c7 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
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
Benjamin Bræstrup Sayoc
36f2aa6152 [TechDraw] Translations and grammer (#16301)
Co-authored-by: WandererFan <WandererFan@gmail.com>
2024-12-02 12:27:39 -05:00
wandererfan
797c1180b0 [TD]prevent use of non-exist/hidden tab in exports 2024-11-29 12:28:25 -05:00
wandererfan
8581cd01e2 [TD]prevent crash on attempt to print hidden page 2024-11-29 12:28:25 -05:00
Benjamin Bræstrup Sayoc
cdb92768fe [TechDraw] Return logic simplification (#16504)
* [TechDraw] AppTechDrawPy.cpp return logic simplification

* [TechDraw] CosmeticExtension.cpp return logic simplification

* [TechDraw] DrawBrokenView.cpp return logic simplification

* [TechDraw] HatchLine.cpp return logic simplification

* [TechDraw] LineGenerator.cpp return logic simplification

* [TechDraw] Preferences.cpp return logic simplification

* [TechDraw] ShapeExtractor.cpp return logic simplification

* [TechDraw] MDIViewPage.cpp return logic simplification

* [TechDraw] QGILeaderLine.cpp return logic simplification

* [TechDraw] QGIRichAnno.cpp return logic simplification

* [TechDraw] QGTracker.cpp return logic simplification
2024-11-18 16:14:47 -03:00
wandererfan
58426c243a [TD]do not mark document as changed after print 2024-10-28 09:46:10 -05:00
wandererfan
d5d66b2c70 [TD]fix double pdf file on win (fix #16538) 2024-09-23 09:18:47 -05:00
wandererfan
ef2669deea [TD]allow SaveCopy from MDIViewPage (fix #16447) 2024-09-16 17:35:51 +02:00
Kacper Donat
bfdcc97158 Gui: Do not show overlay panels in Start 2024-08-26 11:24:19 -05:00
wandererfan
03db773181 [TD]fix multiselect handling of non-geometry objects 2024-07-06 12:49:18 -04:00
wandererfan
502207db31 [TD]Fix selection issue in DimensionRepair 2024-05-24 18:42:58 -04:00
wmayer
c7532cf496 TD: Fix several compiler warnings 2024-05-14 10:55:41 +02:00
Johannes Wüller
0e24e121eb Fix backwards-compatible Qt6 warnings 2024-05-13 11:39:24 -05:00
PaddleStroke
1aee2772f0 Techdraw: Smart Dimension: Fixes and simplifies code 2024-05-13 15:03:37 +02:00
PaddleStroke
7f67c4f30d TechDraw: Implement smart dimension tool. 2024-05-06 18:40:46 +02:00
Tomas Pavlicek
f3fa2ba9c9 [TechDraw] Implement proper selection of subitems (#11804) 2023-12-22 08:25:58 -05:00
wandererfan
f03461a85a [TD]spelling in comments 2023-11-26 16:42:06 -05:00
pavltom
87e2c36dda [TechDraw] Fix app selection not reflecting Qt selection 2023-11-16 20:45:02 -05:00
Zheng, Lei
07542c5660 Gui/TechDraw: declare 'panning' capability in views
OverlayManager queries this capability to determin whether to auto hide
the overlay docking widgets
2023-10-11 09:58:53 +02:00
wandererfan
4046e03cc6 [TD]refactor print routines out of MDIViewPage 2023-09-06 08:58:33 -04:00
wandererfan
ae7415c39e [TD]add support for view menu zoom 2023-09-05 08:47:40 -04:00
wandererfan
12f137397d [TD]revert change to PdfVersion_A1b 2023-08-19 17:18:42 -04:00
wmayer
d150fa7164 modernize C++: avoid bind
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
wmayer
68d22d864b modernize C++: move from boost::bind to std::bind 2023-08-08 17:36:13 +02:00
Tobias Falk
5965956293 added PDF/A-1b compliancy to all PDF export functions
for more details about this look at: https://www.kdab.com/creating-pdfa-documents-qt/
2023-08-05 14:46:11 -06:00
wandererfan
f83a3fbb6a [TD]fix rich text font size in pdf 2023-07-13 14:28:29 -04:00
wandererfan
35cedd6270 [TD]fix missing section svg hatch in pdf 2023-06-29 19:50:27 -04:00
wandererfan
62a681db8e [TD]fix lost parent on undo 2023-06-24 19:21:25 -04:00
Tobias Falk
127404d793 Update printAllPDF to print a PDF that complies with PDF/A-1b
More details can be found under: https://www.kdab.com/creating-pdfa-documents-qt/
2023-06-17 10:17:42 -04:00
wmayer
25a63f8750 TD: move to new style connect() 2023-02-01 01:33:34 +01:00
wandererfan
12db3618df [TD]remove obsolete log messages 2023-01-13 12:15:33 -05:00
wandererfan
d63ac0f7f6 [TD]add light text on dark page mode
- some visually impaired users need white graphics on
  dark page.

- revise Annotation dialog to respect dark style
2023-01-03 17:41:33 -05:00
Uwe
1b7e53acbc [TD] Gui, everything but Q*, Task* and ViewP*: remove unused includes
- also sort includes
2022-10-09 17:20:00 +02:00
wandererfan
3cb442b1c3 [TD]fix printall banner page 2022-09-15 07:48:03 -04:00
wandererfan
f337a0f9d4 [TD]fix PrintAll output to printer 2022-09-12 19:20:07 -04:00
wandererfan
41944b2e2f [TD]fix PrintAll context menu entry 2022-09-10 12:00:31 -04:00
wandererfan
20f5db1ad1 [TD]fix extent dimension 2022-09-09 13:02:08 -04:00
wandererfan
d6330b7103 [TD]add PrintAll command 2022-09-07 16:06:54 -04:00
wandererfan
acf17905ed [TD]CI clang warnings 2022-09-05 17:48:38 -04:00
wandererfan
5ea33e9c4b [TD]fix too large page on print 2022-08-30 12:20:56 -04:00