Commit Graph

1615 Commits

Author SHA1 Message Date
Chris Hennes
b40eae83f0 TechDraw: Translate leader line arrow shapes 2023-04-22 09:29:09 -04:00
Chris Hennes
f5eccb11a1 TechDraw: Preferences wording tweak 2023-04-21 09:19:54 -04:00
Yorik van Havre
33c2e485e3 Merged crowdin translations 2023-04-20 14:04:19 +02:00
Yorik van Havre
d96042fc24 Updated ts files 2023-04-20 13:53:35 +02:00
wandererfan
470a9d6911 [TD]make scrubbing count a property of view 2023-04-17 20:43:20 -04:00
wandererfan
22aff5852d [TD]Add preference for overlapping edge cleaning 2023-04-15 15:24:28 -04:00
Benjamin Bræstrup Sayoc
098cd44f21 [TechDraw] Add customizability for dimension line spacing 2023-04-15 10:20:38 -04:00
wandererfan
12e46d7495 [TD]Correct default extension line gaps 2023-04-14 08:44:38 -04:00
wandererfan
2c8e67ad6b [TD]add preference for new face finder 2023-04-12 16:38:54 -04:00
Benjamin Bræstrup Sayoc
3f81006ac4 [TechDraw] Simplify return logic
Normal warmup
2023-04-11 13:49:57 -04:00
Benjamin Bræstrup Sayoc
70c9cf0fc0 [TechDraw] Simplify return logic
Easy warmup
2023-04-11 13:00:45 -04:00
Benjamin Bræstrup Sayoc
411122dbb6 [TD]resolve merge conflicts re Preference retrieval #2 2023-04-10 23:34:05 -04:00
Benjamin Bræstrup Sayoc
ef5fc4f237 [TechDraw] Simplify return logic 2023-04-10 23:34:05 -04:00
Benjamin Bræstrup Sayoc
15fe52a04b [TechDraw] Simplify retrievement of user preferences
for all TechDraw files
2023-04-10 23:34:05 -04:00
wandererfan
708f5e4930 [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
845a156410 [TechDraw] Improve readability of PreferencesGui.cpp 2023-04-09 11:59:43 -04:00
Benjamin Bræstrup Sayoc
3b2e44a274 [TechDraw] Simplify retrievement of user preferences 2023-04-09 11:59:43 -04:00
Benjamin Bræstrup Sayoc
a207822ee8 [TechDraw] Move CenterLine into own file 2023-04-06 13:51:35 -04:00
edi271
0c1ad63a49 Manage rotated section views 2023-04-05 08:23:47 -04:00
edi271
28def30592 Move getTrianglePoint to DrawUtil 2023-04-05 08:23:47 -04:00
wandererfan
31da3e7ecc [TD]fix oversight in PR9129 2023-03-31 20:14:38 -04:00
wmayer
f2aa219075 TD: remove deprecation warning 2023-03-31 11:03:10 -04:00
Benjamin Bræstrup Sayoc
9bb92be8ba Improve readability of QGIView.cpp 2023-03-31 08:45:05 -04:00
Uwe
5aeba7a46f [TD] QGIViewDimension.h: fix compiler warning
- about unused private field
2023-03-25 21:03:40 +01:00
wandererfan
85216bd127 [TD]Lint/Tidy/Review comments applied 2023-03-22 20:09:35 -04:00
wandererfan
68d739b061 [TD]autocorrect default to true 2023-03-22 20:09:35 -04:00
wandererfan
b9fa9cb33e [TD]corrupt dim reference detect and correct 2023-03-22 20:09:35 -04:00
luzpaz
eb852691df Fix typos and whitespace 2023-03-22 17:10:38 +01:00
wmayer
c585a9f430 TD: move all XML query handling to a single function 2023-03-18 19:26:01 -04:00
wandererfan
e3dcb24ebe [TD]prevent bleed through on Detail mat 2023-03-16 10:37:14 -04:00
wandererfan
0c5f476ad4 [TD]skip center marks for view frame 2023-03-16 10:37:14 -04:00
wmayer
a9694e1878 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
7ed22cc5f6 [TD]add autocorrect preference 2023-03-13 19:03:32 -04:00
wandererfan
5462c9de6f [TD]allow loading SVG item from file 2023-03-12 22:05:16 -04:00
xtemp09
37d7f7d570 [TechDraw] Minor improvement of TaskLineDecor.cpp 2023-03-12 13:57:45 -04:00
wmayer
2a970b3045 clang: fix -Wunused-but-set-variable 2023-03-12 15:05:21 +01:00
wandererfan
d0c5b7c045 [TD]remove unused override methods 2023-03-11 08:08:58 -05:00
Abdullah Tahiri
c604d1741d 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
wandererfan
01641433c1 [TD]getters and setters for geometry
- make attributes private (or protected) and use
  getters and setters instead of accessing attributes
  directly.
2023-02-28 08:15:06 -05:00
Yorik van Havre
46653420a6 merged crowdin translations 2023-02-27 16:01:15 +01:00
Yorik van Havre
3ad0e233d5 updated ts files 2023-02-27 15:35:51 +01:00
edi271
28fb8b7153 Changed files 2023-02-13 14:45:04 -05:00
edi271
333bd1a545 [TD] ui file hole /shaft fit 2023-02-13 14:45:04 -05:00
edi271
bd4219951b [TD] Icon file hole/shaft fit 2023-02-13 14:45:04 -05:00
Yorik van Havre
50fb6d6b46 merged crowdin translations 2023-02-13 15:45:26 +01:00
wandererfan
4dff7db187 [TD]fix face hatch location inSvg export 2023-02-12 11:50:20 -05:00
wandererfan
502ef8c9ba [TD]fix validation of hybrid dimension 2023-02-11 13:30:15 -05:00
Yorik van Havre
c71e551556 Merged crowdin translations 2023-02-07 15:55:31 +01:00
Yorik van Havre
f51a6f2cf9 updated ts files 2023-02-07 15:55:31 +01:00
edi271
2c931a88b0 [TD] Add Command Axo Length Dimension
Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
2023-02-05 14:50:44 -08:00