Florian Foinant-Willig
1d8a51b47b
TechDraw: modernize type checking
2023-10-23 18:08:59 +02:00
wandererfan
4dd2b8d757
[TD]refactor print routines out of MDIViewPage
2023-09-06 08:58:33 -04:00
wandererfan
817d7f6c35
[TD]add Py method to return QGScene for Page
2023-04-26 08:18:14 -04:00
wandererfan
69e401d675
[TD]add Py methods to add items to scene
2023-04-26 08:18:14 -04: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
Wanderer Fan
0fd189a153
[TD]simplify ActiveView
...
- remove copyActiveViewToSvgFile
- use bitmap image instead of Svg
- upgrade Task with crop options
2022-09-09 19:58:40 -04:00
wandererfan
aa2b1b8392
[TD]CI clang warnings
2022-09-05 17:48:38 -04:00
berniev
71dc5ead2f
Mod: Use override etc 2
2022-08-09 12:52:26 +02:00
Uwe
b514f47c21
[TD] Gui: remove some superfluous nullptr checks
2022-07-19 02:49:46 +02: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
1512bc02a6
[TD]add Python QGraphicsObject to Page
2022-05-08 09:01:04 -04: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
wmayer
e8f9c8a1d3
TD: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
Uwe
f8191d1899
[TD] remove Python.h and Xerces
...
seems not to be necessary anymore
2022-03-21 02:53:47 +01:00
wmayer
1f12dca2b4
Py: replace BaseExceptionFreeCADError with more suitable exception types
2022-03-17 13:54:23 +01:00
wmayer
0f9768fb33
Fix coverity issue:
...
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
wmayer
21ba35adab
Gui: move PythonWrapper class to its own source file
2021-09-22 23:30:03 +02:00
Andreas Brinner
63f7aa3b66
Check return value of getMDIViewPage() a second time
...
When exporting a hidden TechDraw::Page with exportPageAs[Pdf|SVG] a
Segmentation Fault occured.
The return value of getMDIViewPage() was only checked for the first call, but
not for the second call. showMDIViewPage() silently returns, when the
TechDraw::Page is hidden and does not load the page.
2020-12-09 11:21:59 +01:00
wandererfan
303335e8af
[TD]accept QGraphicsItem from Python
2020-03-12 07:58:38 -04:00
wandererfan
b26b95da4d
[TD]improve export error message
2020-01-16 18:15:22 -05:00
luz.paz
d1dc813a80
TD: fix header uniformity
...
This PR fixes header uniformity across all TechDraw WB.
2019-12-21 09:57:45 -05:00
wandererfan
6c629a8805
[TD]Fix printBackground param in copyActiveViewToSvgFile (Py)
2019-09-10 21:38:52 -04:00
wandererfan
ab180c761e
[TD]Make TD View from ActiveView
2019-08-28 08:38:27 -04:00
wandererfan
b50b8e7661
Fix #3800 Connect TD export to FC Gui Export
...
- TD did not define export types for the general Export
command in Gui.
2019-02-14 21:14:11 +01:00
wmayer
99ec96acd5
prepare for PyCXX 7.0
2018-04-18 19:20:50 +02:00
WandererFan
62e657f71e
Fix #2972 Export Pdf Page Not in Foreground
...
exposes TechDrawGui.exportPageAsPdf(page,file)
also adds TechDrawGui.exportPageAsSvg(page,file)
2017-05-10 17:43:48 +02:00
wmayer
6148bf4df5
fix -Wextra & -Wdeprecated in TechDraw
2016-09-22 19:32:16 +02:00
WandererFan
27aafada9c
Include file cleanup per cppclean analysis
2016-07-14 14:39:06 +02:00
WandererFan
a40fc9bc61
note re module level functions
2016-07-11 15:32:16 +02:00
WandererFan
041bf25cf0
use Mod/TechDraw for preferences
2016-07-11 15:32:16 +02:00
WandererFan
09e1c57bff
Mod/Drawing includes -> Mod/TechDraw
2016-07-11 15:32:16 +02:00
WandererFan
2fbc4025cd
ProjectionAlgo & DrawingExport renames
2016-07-11 15:32:16 +02:00
WandererFan
df13886349
Add Mod/TechDraw/Gui
2016-07-11 15:32:16 +02:00