Markus Reitböck
0019739095
TechDraw: use CMake to generate precompiled headers on all platforms
...
"Professional CMake" book suggest the following:
"Targets should build successfully with or without compiler support for precompiled headers. It
should be considered an optimization, not a requirement. In particular, do not explicitly include a
precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
generated precompile header on the compiler command line instead. This is more portable across
the major compilers and is likely to be easier to maintain. It will also avoid warnings being
generated from certain code checking tools like iwyu (include what you use)."
Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-23 00:50:59 +02: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
wmayer
0ea02d60c1
Gui: Add Action::setBlockedChecked
...
Remove the second parameter of Action::setChecked and
provide Action::setBlockedChecked instead.
2025-05-30 14:21:53 +02:00
Kacper Donat
216166d853
TechDraw: Replace dynamic_cast with qobject_cast
2025-04-26 14:23:25 +02:00
Kacper Donat
d9d518f905
TechDraw: Use freecad_cast whenever possible
2025-04-26 14:23:25 +02:00
bofdahof
20141d7f19
TechDraw: apply std::ranges
2025-03-16 17:18:23 -05:00
tritao
65466d580b
Gui: Reorganize the selection files into a top Selection folder.
2025-02-03 17:56:57 +01:00
WandererFan
93aa3b312f
[TD]Fix RichText parent in scene ( fix #18283 ) ( #18768 )
...
* [TD]allow DrawViewAnno to be attached to another view
* [TD]allow image and spreadsheet attach to view
* [TD]ensure correct parent in scene
* [TD]refactor command helpers to separate file
- gathering the helpers in one place
- helper redundancy to be address in another change
* [TD]create symbol, spreadsheet, image with parent
* [TD]fix claimChildren for some views
- also includes many lint fixes
2025-01-06 18:11:25 +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
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
Tomas Pavlicek
8d51d78ce7
[TechDraw] Tree view update refactoring ( #11815 )
2023-12-23 08:06:58 -05:00
pavltom
862eef57eb
[TechDraw] Checkable menu item for Turn View Frames On/Off - segfault fix
2023-11-01 13:55:38 -04:00
pavltom
0083799ac1
[TechDraw] - Checkable menu item for Turn View Frames On/Off
2023-11-01 13:55:38 -04:00
wandererfan
414e06d54d
[TD]apply translateLabel after all addObject calls
2023-08-17 19:23:29 -04:00
wandererfan
a669e4423a
[TD]allow bmp as image format
2023-05-09 13:41:11 -04:00
wandererfan
12db3618df
[TD]remove obsolete log messages
2023-01-13 12:15:33 -05:00
Uwe
e29d1d0332
[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
acf17905ed
[TD]CI clang warnings
2022-09-05 17:48:38 -04:00
Benjamin Bræstrup Sayoc
aa9a667506
[TechDraw] Clean up precompile in Gui
2022-08-14 09:20:38 -04:00
berniev
da9ebc572f
Mod: redundant void 2
2022-08-08 10:27:50 +02:00
berniev
b796a0d376
Mod: use empty
2022-08-06 19:30:13 +02:00
Uwe
8304a0942e
[TD] remove more superfluous nullptr checks
2022-07-20 02:32:52 +02:00
Benjamin Bræstrup Sayoc
43f6c17942
[TechDraw] Rename icon filenames for consistency
2022-07-09 14:38:30 -04:00
Benjamin Bræstrup Sayoc
8c0ab46b4d
[TechDraw] Improve readability of commands
2022-07-09 13:07:30 -04:00
Wanderer Fan
ac4fa39ad4
[TD]fix bitmap hatch
2022-07-03 10:18:37 -04:00
wmayer
1ca7429705
Gui: Optimize includes to reduce compile time
2022-03-07 20:29:18 +01:00
Tomas Pavlicek
ed8e632708
TechDraw - Remove code artifacts from CommandDecorate.cpp ( #4904 )
2021-08-11 11:33:59 -05:00
luz paz
73d330b0c8
[TD] Renamed ProjectionGroup, Hatch, GeomericHatch
2021-04-17 11:38:10 +02:00
luz paz
2befcd9502
TD: Issue #0004473 : Expose openCommand() to translation
...
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the TechDraw Wb.
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
luz paz
71d64a7bff
Crowdin: Fix superfluous newlines + uniformity [skip-ci]
...
https://crowdin.com/translate/freecad/27911/en-en#6578930
https://crowdin.com/translate/freecad/27911/en-en#6584458
https://crowdin.com/translate/freecad/27911/en-en#6584460
Note: Parts of the issue are handled with PR 3744
2020-07-30 12:42:31 +02:00
wmayer
c814eb1a50
Qt5: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations]
2020-06-12 17:51:33 +02: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
donovaly
0ccbad5c9d
[TD] fix default directory for bitmaps
...
see https://forum.freecadweb.org/viewtopic.php?f=35&t=43981
2020-03-07 19:32:25 -05:00
WandererFan
a92e157a9d
[TD]sync icon names and menu entries
...
- contributed by @uwe
2020-02-03 07:20:52 -05:00
donovaly
15e5b29c22
TD renaming tools, part 2/2
...
as discussed in https://forum.freecadweb.org/viewtopic.php?p=344899#p344800
we need a more consistent naming for the Wiki
2019-11-17 08:22:09 -05:00
wandererfan
5bb659e7e2
[TD]Transition to on demand page updates ph1
2019-10-23 14:19:52 -04:00
wmayer
2134086d4c
fix further file names vulnerabilities in TechDraw module
2019-10-03 02:45:38 +02:00
wmayer
d0d92b0801
force strict ISO C++ (-Wpedantic)
...
for Fem, Import, PartDesign, Robot, Sketcher, TechDraw
2019-09-18 14:18:07 +02:00
wandererfan
6a1b19739d
[TD]Remove old hatch on add new hatch
2019-09-07 07:32:24 -04:00
wandererfan
b2d8eeeb65
[TD]Allow forced redraw of Page
2019-08-29 21:03:39 -04:00
wandererfan
bf38ae958f
Fix point edit when attach point changed
2019-05-24 22:18:32 -04:00
wandererfan
59e47de506
Initial version addCosmeticVertex
2019-05-24 19:38:02 -04:00
wandererfan
d42c79c146
Fix #3695 Frame toggle sync
2019-05-13 12:29:15 -04:00
wandererfan
6c699887c0
Leader and RichText block improvements
2019-05-05 21:01:31 -04:00
wandererfan
7f07195f93
Text Leader initial version
2019-05-05 21:01:31 -04:00
luz.paz
4f67fae9e8
Refine TechDraw/Gui/CommandDecorate.cpp translation string
2019-01-20 00:29:18 +01:00