Commit Graph

2117 Commits

Author SHA1 Message Date
Uwe
c585fc565b [TD] QGIA - QGIH:remove unused includes
- also some sorting
2022-12-04 03:10:56 +01:00
Uwe
c2ff5475c7 [TD] QGV*:remove unused includes
- also some sorting
2022-12-04 02:29:20 +01:00
Uwe
6dd2327711 [TD] QGC* - QGE:remove unused includes
- also some sorting
2022-12-04 02:16:43 +01:00
Uwe
3645edf142 [TD] QGIW* - QGT:remove unused includes
- also some sorting
2022-12-04 01:45:12 +01:00
wandererfan
6cc849fb73 [TD]allow rotation of hatch directions
- faces can have their svg and bitmap hatches rotated to match
  the view rotation or special situations
- section cut face can have svg hatch rotated
2022-12-03 15:15:25 -05:00
luz paz
07d34012dd L10N: Don't translate strings that dont contain any alphabetic character
Per 0penBrain's suggestion
2022-12-02 11:57:34 +01:00
luz paz
772fe258b9 L10N: Don't translate "..." string
Follow-up to 1d001afcc7
2022-12-02 11:57:34 +01:00
berniev
89ced8e8a7 QString.midRef is removed in Qt6 2022-12-01 12:17:49 +01:00
Bruno Bigras
f0faec613d fix typo: 'instead if' -> 'instead of' 2022-11-30 21:52:10 -06:00
wmayer
3df86553f8 TD: [skip ci] fix warnings reported by GH actions 2022-11-27 16:51:15 +01:00
wandererfan
4b02daa895 [TD]fix ComplexSection null cut shape 2022-11-27 08:21:40 -05:00
wandererfan
02008c8877 [TD]fix fail on missing base view (#7856) 2022-11-22 20:38:46 -05:00
wandererfan
f072315656 [TD]Separate test scripts which require QApplication 2022-11-21 18:24:57 -05:00
wandererfan
894f6408a4 [TD]Add tests for geometry creation
- check that edge geometry count is correct
- handle delay waiting for threads to complete
- add test for DrawViewDetail
2022-11-21 18:24:57 -05:00
Aapo
d0d511f940 [TD] DrawViewPart: Fix Dimension attachment for Coarse Views and faceless Views 2022-11-20 08:08:33 -05:00
Aapo
300ca5b206 [TD] DrawViewPart: Fix Dimension attachment on Cosmetic CenterLines upon document restore 2022-11-17 19:25:43 -05:00
wandererfan
59e2aa9189 [TD]fix alignment of section line marks on rotated base view 2022-11-16 08:56:00 -05:00
wmayer
77bae9c9a0 TD: fix memory leaks with raw pointers of GeometryObject
Replacing the use of raw pointers of GeometryObject with shared pointers fixes the observed memory leaks when running the unit tests of TechDraw
2022-11-15 16:16:08 -05:00
luz paz
2d94a99740 TechDraw: remove trailing whitespace 2022-11-15 16:17:22 +01:00
wandererfan
356faf94da [TD]prevent Complex Section with no Base View 2022-11-14 19:41:12 -05:00
wandererfan
33bee19d81 [TD]add section line marks for simple section 2022-11-14 19:41:12 -05:00
marioalexis
232b27517c TechDraw: Improve and clean up code in some Python classes 2022-11-14 16:40:07 -05:00
wandererfan
1349a7120a [TD]fix handling of multiple pages
- the routines for retrieving a view's parent page
  did not correctly deal with duplicate page entries
2022-11-14 16:38:27 -05:00
wandererfan
4774c432c5 [TD]apply review comments from @chennes
- also delete empty execute method
2022-11-12 11:35:22 -05:00
wandererfan
edf7d93188 [TD]simplify section hatch file handling 2022-11-12 11:35:22 -05:00
wandererfan
ecac894248 [TD]simplify embedded image handling 2022-11-12 11:35:22 -05:00
wandererfan
7e59f3ea30 [TD]simplify embedded file handling 2022-11-12 11:35:22 -05:00
wandererfan
a2976bcfbc [TD]simplify embedded hatch file handling 2022-11-12 11:35:22 -05:00
wandererfan
1cf51ec1c3 [TD]fix embedded template file handling 2022-11-12 11:35:22 -05:00
wandererfan
0bf5d67906 [TD]fix vertical alignment of section pieces 2022-11-11 19:37:42 -05:00
wandererfan
101a25185a [TD]Section dialog gui tweaks 2022-11-11 08:53:29 -05:00
wandererfan
9a07c52aff [TD]fix XDirection rotation of simple sections 2022-11-10 19:19:22 -05:00
wandererfan
bc0c95259c [TD]fix oblique section line ends 2022-11-10 19:19:22 -05:00
wandererfan
48996a15a9 [TD]Section dialogs minor fixes
- make simple and complex dialogs consistent
- fix translation contexts
2022-11-10 19:19:22 -05:00
wandererfan
b8eee9c0f2 [TD]fix fail in calculating section line length 2022-11-10 19:19:22 -05:00
wandererfan
9b4b91ede4 [TD]fix rotation of complex section 2022-11-09 10:05:23 -05:00
wandererfan
76f92e8568 [TD]fix rotation of cut face hatch 2022-11-09 10:05:23 -05:00
marioalexis
d924a93782 TechDraw: Fix reference counting in format attribute of CenterLinePy and CosmeticEdgePy 2022-11-08 19:46:00 -05:00
wandererfan
cdce4fc74d [TD]fix read only scale property in DraftView
- also affects DrawViewSymbol and derivatives
2022-11-08 19:31:29 -05:00
luz paz
e75ffa0566 Fix typos in TD and FEM source comments/documentation [skip ci] 2022-11-07 08:03:39 -05:00
marioalexis
308fa5b73a TechDraw: Improve code in Python CosmeticEdgePy class 2022-11-07 08:01:45 -05:00
wandererfan
67ec157e59 [TD]Prevent ComplexSection creation without valid direction 2022-11-07 07:57:37 -05:00
wandererfan
7d7a1474d5 [TD]fix exception on empty compound
- if the intersection of the segment tool and
  source shape is empty, processing should
  continue with next segment
2022-11-07 07:57:37 -05:00
wandererfan
895c3a88dd [TD]fix hatch test script
- test was erroneously adding hatch to page. Hatches only
  belong to DrawViewPart.
2022-11-07 07:56:43 -05:00
marioalexis
e07c80a1db TechDraw: Improve code in Python DrawPagePy class 2022-11-06 19:37:55 -05:00
wandererfan
3a120c22d5 [TD]fix tooltip for Equal Tolerance 2022-11-03 10:11:50 -04:00
wandererfan
290a19e773 [TD]fix view drag and drop to page 2022-11-03 10:10:41 -04:00
Roy-043
158142d641 TechDraw: "Alternate Decimals" label in prefs should be italic 2022-11-02 16:26:50 -04:00
Chris Hennes
1fac3fead0 cMake: Add support for compiling against Qt6 (#7647)
Removes the BUILD_QT5 flag and adds a new FREECAD_QT_VERSION option,
which can be set to either "Auto" (default), 5, or 6. Auto detects which
version of Qt is installed on the system and chooses it. If both version
are installed, Qt5 is used.

Note that this DOES NOT implement compiling against Qt6, it only adds
the necessary cMake infrastructure to begin work on the source code
changes that will be required.
2022-10-31 09:24:09 -05:00
marioalexis
b64d987ac1 TechDraw: Improve code in Python CenterLinePy class 2022-10-31 09:08:52 -04:00