Commit Graph

2088 Commits

Author SHA1 Message Date
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
wandererfan
f6fc9554ec [TD]remove export macros from PreCompiled.h 2022-10-29 19:19:54 -04:00
wandererfan
ee2a4656a1 [TD]fix windows compile warnings 2022-10-29 19:19:54 -04:00
marioalexis
c8aef3b75b TechDraw: Improve code in Python DrawViewPartPy class 2022-10-29 09:01:52 -04:00
Chris Hennes
8ecb72ff74 TechDraw: Windows compilation fix 2022-10-29 08:49:16 -04:00
wandererfan
86e7f36791 [TD]fix missing include for CI 2022-10-28 08:47:45 -04:00
wandererfan
87cc3fe864 [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
0ff473a9b6 [TD]Complex Section - initial implementation 2022-10-28 08:47:45 -04:00
wandererfan
086de5430f [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
e9d988d43c [TD]expose DVP projectPoint to Python 2022-10-19 20:00:27 -04:00
wandererfan
30d2514020 [TD]ActiveView from different document 2022-10-18 09:04:28 -04:00
Yorik van Havre
1ae780d3b1 Merged crowdin translations 2022-10-17 15:12:16 +02:00
wandererfan
47db16d521 [TD]update export icons 2022-10-16 07:55:35 -04:00
Ajinkya Dahale
024114cb40 [TD] Explicitly call std::signbit
Snaps are failing because `signbit` isn't declared. Probably because of
42136ff0c48ae54edc48d1eff0cc9438f21e6786.
2022-10-11 11:56:40 +05:30
Yorik van Havre
9c24f0f5b8 Merged crowdin translations 2022-10-10 11:06:08 +02:00
Yorik van Havre
4ba1b0e4dc Updated ts files 2022-10-10 10:19:30 +02:00
Uwe
ce93dce31f [TD] Gui, PreCompiled.h: add missing OCC files 2022-10-10 03:00:57 +02:00
Uwe
aee2e64c2e [TD] [skip CI] PreCompiled.h: add comments 2022-10-09 20:05:45 +02:00
Uwe
f66263ec37 [TD] Gui, Dlg*: remove unused includes
- also sort includes
- also two whitespace changes
2022-10-09 19:14:31 +02:00
Uwe
afc4451a50 [TD] Gui, everything but Q*, Task* and ViewP*: remove unused includes
- also sort includes
2022-10-09 17:20:00 +02:00
Uwe
a722122807 [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
9f2d7ec51f TD: [skip ci] adding missing Qt header to PCH 2022-10-08 19:06:34 +02:00
Uwe
4d73bd5a50 [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
Uwe
0e9a9466e2 [TD] TaskSurfaceFinishSymbols.cpp: add missing include
- (I will not understand why this compiles for me without any warning also without this include)
2022-10-08 16:51:47 +02:00
Uwe
4a5cac2c52 [TD] DrawD* - DrawT*: remove unused includes - part 1
- also sort includes
2022-10-08 16:33:16 +02:00
wmayer
a7dc5c23e4 TD: replace QRegExp with QRegularExpression 2022-10-08 13:33:10 +02:00
Uwe
1640f01e34 [TD] [skip CI] DrawSVGTemplate.cpp: uniform whitespace 2022-10-08 12:33:12 +02:00
Uwe
a67f118d7f [TD] DrawR* - DrawT*: remove unused includes
- also sort includes
2022-10-08 12:21:25 +02:00
Uwe
fda14d45c2 [TD] Draw*Imp: remove unused includes
- also some sorting
2022-10-08 04:06:10 +02:00
Uwe
6b3a117d8a [TD] TaskRichAnno.cpp: add missing include
- also some sorting and removal of unused includes
2022-10-08 04:05:17 +02:00