Commit Graph

2095 Commits

Author SHA1 Message Date
wandererfan
53f5883ea1 [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
2a6bd73fc0 [TD]apply review comments from @chennes
- also delete empty execute method
2022-11-12 11:35:22 -05:00
wandererfan
fe4a402b04 [TD]simplify section hatch file handling 2022-11-12 11:35:22 -05:00
wandererfan
3ce218d1d7 [TD]simplify embedded image handling 2022-11-12 11:35:22 -05:00
wandererfan
199fd11623 [TD]simplify embedded file handling 2022-11-12 11:35:22 -05:00
wandererfan
75e163213a [TD]simplify embedded hatch file handling 2022-11-12 11:35:22 -05:00
wandererfan
9c9013810e [TD]fix embedded template file handling 2022-11-12 11:35:22 -05:00
wandererfan
d7ace29c75 [TD]fix vertical alignment of section pieces 2022-11-11 19:37:42 -05:00
wandererfan
a4fbb2d802 [TD]Section dialog gui tweaks 2022-11-11 08:53:29 -05:00
wandererfan
1a9637a384 [TD]fix XDirection rotation of simple sections 2022-11-10 19:19:22 -05:00
wandererfan
94c5888921 [TD]fix oblique section line ends 2022-11-10 19:19:22 -05:00
wandererfan
0ebf61184a [TD]Section dialogs minor fixes
- make simple and complex dialogs consistent
- fix translation contexts
2022-11-10 19:19:22 -05:00
wandererfan
674b341af6 [TD]fix fail in calculating section line length 2022-11-10 19:19:22 -05:00
wandererfan
eb407feb60 [TD]fix rotation of complex section 2022-11-09 10:05:23 -05:00
wandererfan
5cedb9ea4e [TD]fix rotation of cut face hatch 2022-11-09 10:05:23 -05:00
marioalexis
e9782bfe38 TechDraw: Fix reference counting in format attribute of CenterLinePy and CosmeticEdgePy 2022-11-08 19:46:00 -05:00
wandererfan
c6615a1af5 [TD]fix read only scale property in DraftView
- also affects DrawViewSymbol and derivatives
2022-11-08 19:31:29 -05:00
luz paz
7c5557b3cb Fix typos in TD and FEM source comments/documentation [skip ci] 2022-11-07 08:03:39 -05:00
marioalexis
1a27202b69 TechDraw: Improve code in Python CosmeticEdgePy class 2022-11-07 08:01:45 -05:00
wandererfan
c5a263bdd8 [TD]Prevent ComplexSection creation without valid direction 2022-11-07 07:57:37 -05:00
wandererfan
38f1906ae0 [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
4ea2cb4cc0 [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
5b015b7022 TechDraw: Improve code in Python DrawPagePy class 2022-11-06 19:37:55 -05:00
wandererfan
36d0a67a4a [TD]fix tooltip for Equal Tolerance 2022-11-03 10:11:50 -04:00
wandererfan
19a5301e24 [TD]fix view drag and drop to page 2022-11-03 10:10:41 -04:00
Roy-043
ec3a1838ca TechDraw: "Alternate Decimals" label in prefs should be italic 2022-11-02 16:26:50 -04:00
Chris Hennes
2f7be9e782 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
7c6684a821 TechDraw: Improve code in Python CenterLinePy class 2022-10-31 09:08:52 -04:00
wandererfan
1282fdb7e8 [TD]remove export macros from PreCompiled.h 2022-10-29 19:19:54 -04:00
wandererfan
3c8ee7725b [TD]fix windows compile warnings 2022-10-29 19:19:54 -04:00
marioalexis
5fe254e6f1 TechDraw: Improve code in Python DrawViewPartPy class 2022-10-29 09:01:52 -04:00
Chris Hennes
51f54bd3a0 TechDraw: Windows compilation fix 2022-10-29 08:49:16 -04:00
wandererfan
86b5000451 [TD]fix missing include for CI 2022-10-28 08:47:45 -04:00
wandererfan
99f67b8a40 [TD]SectionView/ComplexSection - preview, direction selection
- add preview/live update to TaskSectionView & TaskComplexSection
- add view direction selector to uis
- use SectionNormal as Direction.  Make Direction read-only
- simplify section line end point calculation
- section group command in toolbar
- make section and complex section icons consistent
- fix compsolid cutting tool
- terminology: single/piecewise to offset/aligned
2022-10-28 08:47:45 -04:00
wandererfan
5ddc6ce789 [TD]Complex Section - initial implementation 2022-10-28 08:47:45 -04:00
wandererfan
02fbf1334d [TD]fix check of wrong variable
- replace check of pages in selection with check of
  pages in document
- fix mixed {} conventions
- fix fail to exit on user cancel
2022-10-20 21:28:04 -04:00
wandererfan
16c52bb18c [TD]expose DVP projectPoint to Python 2022-10-19 20:00:27 -04:00
wandererfan
ce4ba703d9 [TD]ActiveView from different document 2022-10-18 09:04:28 -04:00
Yorik van Havre
d8d55a0e88 Merged crowdin translations 2022-10-17 15:12:16 +02:00
wandererfan
a22b0c89d3 [TD]update export icons 2022-10-16 07:55:35 -04:00
Ajinkya Dahale
5847d86017 [TD] Explicitly call std::signbit
Snaps are failing because `signbit` isn't declared. Probably because of
e29d1d0332.
2022-10-11 11:56:40 +05:30
Yorik van Havre
fce72e46c8 Merged crowdin translations 2022-10-10 11:06:08 +02:00
Yorik van Havre
df52f32c87 Updated ts files 2022-10-10 10:19:30 +02:00
Uwe
d8d9e21d23 [TD] Gui, PreCompiled.h: add missing OCC files 2022-10-10 03:00:57 +02:00
Uwe
a4f5518497 [TD] [skip CI] PreCompiled.h: add comments 2022-10-09 20:05:45 +02:00
Uwe
4a2aff82a6 [TD] Gui, Dlg*: remove unused includes
- also sort includes
- also two whitespace changes
2022-10-09 19:14:31 +02:00
Uwe
1b7e53acbc [TD] Gui, everything but Q*, Task* and ViewP*: remove unused includes
- also sort includes
2022-10-09 17:20:00 +02:00
Uwe
e29d1d0332 [TD] Gui, A*-C*: remove unused includes
- also sort includes
- also an addition to precompiled header
- TaskCenterLine: remove unused code that interferes with used code with the same name
2022-10-09 03:34:53 +02:00
wmayer
ab7b147066 TD: [skip ci] adding missing Qt header to PCH 2022-10-08 19:06:34 +02:00
Uwe
03a3ae8cd8 [TD] DrawD* - DrawT*: remove unused includes - part 2/2
- also sort includes
- also additions to precompiled header
2022-10-08 17:21:26 +02:00