Commit Graph

1790 Commits

Author SHA1 Message Date
Wanderer Fan
10888e7aad [TD]fix handling of translated enumeration 2022-05-17 20:04:19 -04:00
Wanderer Fan
3e56f88404 [TD]mark literals for translation 2022-05-13 13:41:37 -04:00
Wanderer Fan
00c8916341 [TD]Fix group item moving when locked 2022-05-13 13:41:37 -04:00
Wanderer Fan
ef37abc441 [TD]fix dimension special characters 2022-05-11 14:16:56 -04:00
Wanderer Fan
23a1f08624 [TD]add blank space for legibility 2022-05-11 14:16:56 -04:00
Wanderer Fan
f0f0124f76 [TD]allow more room for section name
- section title label too short for translations
  of GD&T
2022-05-11 09:57:53 -04:00
Wanderer Fan
bb2590e2bd [TD]use PyArg_ParseTuple type check
- replace PyObject_TypeCheck with O! in PyArg_ParseTuple
2022-05-11 09:57:53 -04:00
Wanderer Fan
584af812ad [TD]fix extra undo on TaskCenterLine cancel 2022-05-11 09:57:53 -04:00
Wanderer Fan
ccad0fac90 [TD]add Python QGraphicsObject to Page 2022-05-08 09:01:04 -04:00
Yorik van Havre
0680ad5558 Merged crowdin translations 2022-05-05 15:46:09 +02:00
Yorik van Havre
ab5a6d83a1 Updated ts files 2022-05-05 15:20:57 +02:00
Wanderer Fan
ccc8ac65c5 [TD]fix X,Y change propagation
- X,Y changes to object1 were not propagated to
  object2 linked by expression
2022-05-02 17:51:51 -04:00
Zheng, Lei
3ef438eaf0 Fix mixed line endings 2022-04-26 12:52:55 -05:00
Wanderer Fan
d36cbb522a [TD]fix ExtendShorten handling of CenterLine 2022-04-23 18:43:27 -04:00
Wanderer Fan
abd8e3a46e [TD]fix ExtendLine changes CenterLine
- extendShortenLine converts CenterLines to CosmeticEdges
2022-04-23 18:43:27 -04:00
Wanderer Fan
30faedfce2 [TD]fix GeomHatch change file name 2022-04-23 10:00:02 -04:00
Yorik van Havre
a4a0d11eca Merged crowdin translations 2022-04-21 14:18:33 +02:00
wmayer
23eb600774 TD: fixes warning: local variable will be copied despite being returned by name [-Wreturn-std-move] 2022-04-17 17:21:37 +02:00
Yorik van Havre
35bb6278ea merged crowdin translations 2022-04-13 13:47:06 +02:00
wmayer
9eac35cf5d Gui: clean-up Selection API
Replace the int of the 'resolve' argument of several functions with a proper enum class.
* This avoids the inconsistencies in client code where often true/false is passed when an int is expected
* This avoids the use of magic numbers like 0, 1, 2 or the undocumented 3
2022-04-09 17:03:43 +02:00
Wanderer Fan
15917cd60f [TD]fix artifact in PDF export 2022-04-07 08:46:11 -04:00
Yorik van Havre
cb9dda7084 Merged crowdin translations 2022-03-31 11:41:28 +02:00
Wanderer Fan
1cd952fc09 [TD]Fix Extension Icons
- icons were causing an error msg from Qt
2022-03-29 19:08:29 -04:00
Chris Hennes
c44ccc0ff2 TD: PR6497 move return statement to new line 2022-03-29 13:26:01 -05:00
Wanderer Fan
7c24e54704 [TD]skip LCS infinite shapes 2022-03-29 08:21:36 -04:00
Chris Hennes
44eb19f631 TD: PR4556 Step 3: sort QGridLayout by row-col 2022-03-28 10:43:24 -05:00
Chris Hennes
3a87c4d50e TD: PR4556 Step 2: remove native=true 2022-03-28 10:43:21 -05:00
wmayer
fd8719c85c TD: [skip ci] activate PCH of TechDraw (Gui) and use forward declarations
For MSVC this reduces compile time by ~20%
2022-03-25 13:54:47 +01:00
wmayer
ca9fb5400c TD: [skip ci] activate PCH of TechDraw (App)
For MSVC this reduces compile time by ~50%
2022-03-25 13:34:07 +01:00
Uwe
2e7cb2c3fb [TD] remove a single-header file 2022-03-25 04:11:53 +01:00
Uwe
ab682628c6 [TD] Gui Headers: remove unused header - part 4/4 2022-03-25 03:43:44 +01:00
Uwe
bf04eabb2d [TD] add missing header 2022-03-25 03:04:39 +01:00
Uwe
b0ba3c756a [TD] Gui Headers: remove unused header - part 3 2022-03-25 02:47:09 +01:00
Uwe
ef4274007a [TD] Gui Headers: remove unused header - part 2 2022-03-25 02:34:36 +01:00
Uwe
68052db4da [TD] Gui Headers: remove unused header - part 1 2022-03-25 01:58:33 +01:00
Uwe
b219c50ed6 [TD] App Headers: remove unused header - part 3/3 2022-03-25 01:13:34 +01:00
Uwe
5f817f64da [TD] EdgeWalker: try to fix CI compilation issue 2022-03-25 00:29:29 +01:00
Uwe
4193686594 [TD] App Headers: remove unused header - part 2 2022-03-25 00:01:49 +01:00
Uwe
f1a4c703b4 [TD] App Headers: remove unused header - part 1 2022-03-24 23:06:08 +01:00
Wanderer Fan
36a46f0cb6 [TD]fix diameter dim alignment in DXF 2022-03-24 15:22:23 -04:00
wmayer
97330443a2 All: modernize C++11
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
a99be14233 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
Yorik van Havre
1dd773e7b3 Translations: Merged crowdin strings 2022-03-23 10:37:50 +01:00
Stefan Brüns
043e6c8ba3 [TechDraw] Replace XQuery based SVG cleanup with DOM traversal
Evaluation of the XQuery has a complexity of more than O(3), as the
underlying QDomNodeModel::compareOrder is quite expensive.

Traversing the DOM tree directly is significantly faster, i.e. it now
takes constantly less time than the actual drawing via QPainter, while
previously it could take several magnitudes more time.

Fixes #6638

Also replace the XQuery used for reparenting the drawing group. Not
performance critical, but significantly simpler code.
2022-03-22 08:44:39 -04:00
Wanderer Fan
1620fd5a69 [TD]fix double units in dxf page export 2022-03-22 08:41:36 -04:00
Uwe
5e6699e48d [TD] remove Python.h and Xerces
seems not to be necessary anymore
2022-03-21 02:53:47 +01:00
andrea reale
13e09b36f8 remove QT4 references 2022-03-19 23:07:38 +01:00
Wanderer Fan
c9f6aea463 [TD]fix default scale 2022-03-18 08:21:21 -04:00
wmayer
d69defaa3c Py: replace BaseExceptionFreeCADError with more suitable exception types 2022-03-17 13:54:23 +01:00
Wanderer Fan
aa4ba37a6c [TD]fix update suppression logic 2022-03-16 09:31:29 -04:00