Commit Graph

1827 Commits

Author SHA1 Message Date
Chris Hennes
e30a768e0a Merged crowdin translations 2023-05-06 11:56:32 -05:00
Chris Hennes
c3a9b36a8a TechDraw: Add missing translation string 2023-05-05 09:11:57 -04:00
Chris Hennes
9149d17aaf Merge pull request #9437 from chennes/updateTranslations20230429
Update translations
2023-05-02 10:24:05 -05:00
Chris Hennes
1b2bbbf06b Update translations 2023-04-29 11:10:27 -05:00
wandererfan
b8ac648215 [TD]fix minimum width in TaskCustomizeFormat 2023-04-28 19:13:39 -04:00
wandererfan
73b986d6a5 [TD]handle escaped unicode annotation text
- v0.19 (and earlier?) stored annotation text as escaped unicode, but
  v0.20 stores the text as utf8.
- checks for "\x" in text to determine is text is escaped or utf8
2023-04-27 13:17:48 -04:00
wandererfan
817d7f6c35 [TD]add Py method to return QGScene for Page 2023-04-26 08:18:14 -04:00
wandererfan
69e401d675 [TD]add Py methods to add items to scene 2023-04-26 08:18:14 -04:00
luzpaz
4e2124e1d3 Fix misc. linting and typos
Trim whitespace; move imports to separate lines, fix typos
2023-04-25 17:14:39 +02:00
luzpaz
38a01939e0 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
Chris Hennes
4252278dcd TechDraw: Add a few missing translation strings 2023-04-22 19:16:53 -04:00
Chris Hennes
b36e78658e TechDraw: Translate direction labels 2023-04-22 09:31:40 -04:00
Chris Hennes
05aee82490 TechDraw: Translate leader line arrow shapes 2023-04-22 09:29:09 -04:00
Chris Hennes
c9fad1b47f TechDraw: Preferences wording tweak 2023-04-21 09:19:54 -04:00
Yorik van Havre
faf98925f6 Merged crowdin translations 2023-04-20 14:04:19 +02:00
Yorik van Havre
0fd764454d Updated ts files 2023-04-20 13:53:35 +02:00
wandererfan
3d0d65b41c [TD]make scrubbing count a property of view 2023-04-17 20:43:20 -04:00
wandererfan
52754ffde5 [TD]Add preference for overlapping edge cleaning 2023-04-15 15:24:28 -04:00
Benjamin Bræstrup Sayoc
ddff39dbac [TechDraw] Add customizability for dimension line spacing 2023-04-15 10:20:38 -04:00
wandererfan
96cef771c7 [TD]Correct default extension line gaps 2023-04-14 08:44:38 -04:00
wandererfan
f10d1cdb83 [TD]add preference for new face finder 2023-04-12 16:38:54 -04:00
Benjamin Bræstrup Sayoc
a93060c6b9 [TechDraw] Simplify return logic
Normal warmup
2023-04-11 13:49:57 -04:00
Benjamin Bræstrup Sayoc
6df0a20214 [TechDraw] Simplify return logic
Easy warmup
2023-04-11 13:00:45 -04:00
Benjamin Bræstrup Sayoc
f11fced78b [TD]resolve merge conflicts re Preference retrieval #2 2023-04-10 23:34:05 -04:00
Benjamin Bræstrup Sayoc
3794897699 [TechDraw] Simplify return logic 2023-04-10 23:34:05 -04:00
Benjamin Bræstrup Sayoc
5d05acc87e [TechDraw] Simplify retrievement of user preferences
for all TechDraw files
2023-04-10 23:34:05 -04:00
wandererfan
50c2b7e9d8 [TD]fix missing selection guard
- Area dimension extension was not checking that only
  faces were in the selection.
2023-04-10 14:18:34 -04:00
Benjamin Bræstrup Sayoc
7118d5cc10 [TechDraw] Improve readability of PreferencesGui.cpp 2023-04-09 11:59:43 -04:00
Benjamin Bræstrup Sayoc
1aa837ae0a [TechDraw] Simplify retrievement of user preferences 2023-04-09 11:59:43 -04:00
Benjamin Bræstrup Sayoc
0bfae905d9 [TechDraw] Move CenterLine into own file 2023-04-06 13:51:35 -04:00
edi271
c9c82960ab Manage rotated section views 2023-04-05 08:23:47 -04:00
edi271
c9d9284fb1 Move getTrianglePoint to DrawUtil 2023-04-05 08:23:47 -04:00
wandererfan
c9c872d187 [TD]fix oversight in PR9129 2023-03-31 20:14:38 -04:00
wmayer
5f73ab8923 TD: remove deprecation warning 2023-03-31 11:03:10 -04:00
Benjamin Bræstrup Sayoc
8196ca323e Improve readability of QGIView.cpp 2023-03-31 08:45:05 -04:00
Uwe
9af1a451ba [TD] QGIViewDimension.h: fix compiler warning
- about unused private field
2023-03-25 21:03:40 +01:00
wandererfan
354480e9a4 [TD]Lint/Tidy/Review comments applied 2023-03-22 20:09:35 -04:00
wandererfan
fd26842001 [TD]autocorrect default to true 2023-03-22 20:09:35 -04:00
wandererfan
8a11528a7e [TD]corrupt dim reference detect and correct 2023-03-22 20:09:35 -04:00
luzpaz
f1bbcd9e13 Fix typos and whitespace 2023-03-22 17:10:38 +01:00
wmayer
6fb167582a TD: move all XML query handling to a single function 2023-03-18 19:26:01 -04:00
wandererfan
d76efcd0cf [TD]prevent bleed through on Detail mat 2023-03-16 10:37:14 -04:00
wandererfan
aa93708439 [TD]skip center marks for view frame 2023-03-16 10:37:14 -04: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
65a3637891 [TD]add autocorrect preference 2023-03-13 19:03:32 -04:00
wandererfan
a0f98a35df [TD]allow loading SVG item from file 2023-03-12 22:05:16 -04:00
xtemp09
a1ac89f422 [TechDraw] Minor improvement of TaskLineDecor.cpp 2023-03-12 13:57:45 -04:00
wmayer
2a0e52e71e clang: fix -Wunused-but-set-variable 2023-03-12 15:05:21 +01:00
wandererfan
62953f1a8e [TD]remove unused override methods 2023-03-11 08:08:58 -05:00
Abdullah Tahiri
ee0c3ad5c1 Console/ILogger: Refactor and extension
=======================================

Refactor:
 - Substitute the use of variadic templates with parameter packs.
 - Use recently incorporated external library "fmt" to handle printf like formating.
 - Extensive cleaning of pragmas and unnecessary forward declarations.
 - Parameter packs and libfmt provide a much stronger type checking now, so
   conversions that are by standard implicit as bool to int need an explicit static_cast
   to avoid compilation warnings.

Extension:
 - Include a notifier field, so that the originator of the message can be provided. E.g. Document#DocumentObject
 - Include a new type of message called CriticalMessage, this message is intended to have
   special behaviour in the future. Namely, it will be used to notify forward compatilibity issues.
   It will be used to substitute the current signal/slot mechanism.
 - Include two new types of messages for user notifications (Notification and TranslatedNotification). This messages
   will be use to convey UI notifications intended for the user (such as non-intrusive message about the usage of a tool). There
   are two versions to mark whether the string provided as a message is already translated or not. When using the console system for
   notifications, these notifications may originate from the App or the Gui. In the former, it is generally the case that the strings
   of messages are not (yet) translated (but they can be marked with QT_TRANSLATE_NOOP). In the latter, often the messages to be provided
   are already translated.

Python support for CriticalMessage, Notification and TranslatedNofification, including shortcuts:

    Crt = FreeCAD.Console.PrintCritical
    Ntf = FreeCAD.Console.PrintNotification
    Tnf = FreeCAD.Console.PrintTranslatedNotification
2023-03-07 16:13:23 +01:00