Commit Graph

1325 Commits

Author SHA1 Message Date
Wanderer Fan
78c22e33de [TD]fix double draw on position change 2022-06-02 09:09:53 -04:00
Kuzemko Alexsandr
e08ce2f169 [TD] Fix incorrect using of QT_TRANSLATE_NOOP in setText 2022-06-01 13:41:00 -04:00
Kuzemko Alexsandr
700e6017e8 [TD] Add text to translate
This will fix https://github.com/FreeCAD/FreeCAD-translations/issues/47
2022-06-01 13:04:47 +02:00
Yorik van Havre
9d4ae629a3 Merged crowdin translations 2022-05-31 13:31:52 +02:00
Kuzemko Alexsandr
27e9818d37 [TD] Fix redefine text in .ui (that has translation on crowdin) with English text without translation ability.
This will fix https://github.com/FreeCAD/FreeCAD-translations/issues/50
2022-05-30 10:41:00 -04:00
Yorik van Havre
9cbe14f1d5 Merged crowdin translations 2022-05-30 10:01:02 +02:00
Wanderer Fan
3f34fff3c3 [TD]prevent spurious recompute on click/drag 2022-05-29 13:19:34 -04:00
Yorik van Havre
047b15cfe5 merged crowdin translations 2022-05-28 12:16:47 +02:00
Yorik van Havre
2dffe82cda Merged crowdin translations 2022-05-27 11:28:55 +02:00
Kuzemko Alexsandr
c266f16c53 Update .ts with lupdate ver 6.4.0. 2022-05-23 16:53:07 +02:00
Wanderer Fan
f90660eb12 [TD]fix handling of translated enumeration 2022-05-17 20:04:19 -04:00
Wanderer Fan
61526b83fc [TD]mark literals for translation 2022-05-13 13:41:37 -04:00
Wanderer Fan
e937e4b97f [TD]Fix group item moving when locked 2022-05-13 13:41:37 -04:00
Wanderer Fan
031bca185d [TD]fix dimension special characters 2022-05-11 14:16:56 -04:00
Wanderer Fan
b9969abc70 [TD]add blank space for legibility 2022-05-11 14:16:56 -04:00
Wanderer Fan
64cfee2a4f [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
f6935580de [TD]use PyArg_ParseTuple type check
- replace PyObject_TypeCheck with O! in PyArg_ParseTuple
2022-05-11 09:57:53 -04:00
Wanderer Fan
22a00cffda [TD]fix extra undo on TaskCenterLine cancel 2022-05-11 09:57:53 -04:00
Wanderer Fan
1512bc02a6 [TD]add Python QGraphicsObject to Page 2022-05-08 09:01:04 -04:00
Yorik van Havre
996994da55 Merged crowdin translations 2022-05-05 15:46:09 +02:00
Yorik van Havre
a62092d498 Updated ts files 2022-05-05 15:20:57 +02:00
Wanderer Fan
1c97b3d5df [TD]fix ExtendShorten handling of CenterLine 2022-04-23 18:43:27 -04:00
Wanderer Fan
f53ac146c0 [TD]fix ExtendLine changes CenterLine
- extendShortenLine converts CenterLines to CosmeticEdges
2022-04-23 18:43:27 -04:00
Wanderer Fan
391bdcccaa [TD]fix GeomHatch change file name 2022-04-23 10:00:02 -04:00
Yorik van Havre
1fbd1fb38d Merged crowdin translations 2022-04-21 14:18:33 +02:00
Yorik van Havre
914069ded4 merged crowdin translations 2022-04-13 13:47:06 +02:00
wmayer
0b2c73cf32 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
3ba8359d33 [TD]fix artifact in PDF export 2022-04-07 08:46:11 -04:00
Yorik van Havre
19feabd072 Merged crowdin translations 2022-03-31 11:41:28 +02:00
Wanderer Fan
a42a932e22 [TD]Fix Extension Icons
- icons were causing an error msg from Qt
2022-03-29 19:08:29 -04:00
Chris Hennes
84ae226ec6 TD: PR6497 move return statement to new line 2022-03-29 13:26:01 -05:00
Chris Hennes
7811d0e8ed TD: PR4556 Step 3: sort QGridLayout by row-col 2022-03-28 10:43:24 -05:00
Chris Hennes
5533f41241 TD: PR4556 Step 2: remove native=true 2022-03-28 10:43:21 -05:00
wmayer
ccc0d54d97 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
Uwe
5757cdf2ad [TD] remove a single-header file 2022-03-25 04:11:53 +01:00
Uwe
b25d7ad48d [TD] Gui Headers: remove unused header - part 4/4 2022-03-25 03:43:44 +01:00
Uwe
175484cf3f [TD] add missing header 2022-03-25 03:04:39 +01:00
Uwe
965868b799 [TD] Gui Headers: remove unused header - part 3 2022-03-25 02:47:09 +01:00
Uwe
093a8edec5 [TD] Gui Headers: remove unused header - part 2 2022-03-25 02:34:36 +01:00
Uwe
d0ec4aafdc [TD] Gui Headers: remove unused header - part 1 2022-03-25 01:58:33 +01:00
wmayer
d21a60b294 All: modernize C++11
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
e8f9c8a1d3 TD: modernize C++11
* use nullptr
2022-03-23 19:26:14 +01:00
Yorik van Havre
1563822763 Translations: Merged crowdin strings 2022-03-23 10:37:50 +01:00
Stefan Brüns
1e018f63d8 [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
Uwe
f8191d1899 [TD] remove Python.h and Xerces
seems not to be necessary anymore
2022-03-21 02:53:47 +01:00
andrea reale
83d3a916c0 remove QT4 references 2022-03-19 23:07:38 +01:00
wmayer
1f12dca2b4 Py: replace BaseExceptionFreeCADError with more suitable exception types 2022-03-17 13:54:23 +01:00
Wanderer Fan
62a670431a [TD]fix update suppression logic 2022-03-16 09:31:29 -04:00
Uwe
99191c6679 [Gui] So headers: remove unused includes
- also sort out some headers to be used in precompiled headers
- also move a boost header to precompiled headers
2022-03-16 02:01:32 +01:00
Wanderer Fan
cd663b9efd [TD]fix DetailView alignment 2022-03-14 20:03:08 -04:00