Commit Graph

37 Commits

Author SHA1 Message Date
luz paz
a213071c87 Gui: remove Py2 code from several src/Gui .cpp files 2021-04-14 14:56:02 +02:00
Chris Hennes
d959bf1582 [Main] Remove deprecated Qt < 5.9 code 2021-04-01 19:29:44 +02:00
wmayer
f9a54c3385 Py3: fixes #0004081: Abillity to show console output when running under Python 2021-04-01 17:51:10 +02:00
luz paz
c52df25cf4 Main: fix header uniformity + trailing whitespace
[skip ci]
2020-12-12 08:17:58 +01:00
wmayer
8834e91502 [skip ci] do not set attribute WA_DeleteOnClose when loading FreeCAD GUI from Python 2020-06-26 13:52:55 +02:00
wmayer
3971c85130 [skip ci] make Jupyter notebook integration working again 2020-06-21 01:39:39 +02:00
wmayer
4b8cf63c14 [skip ci] improve possibility to create a QApplication in a thread 2020-06-21 00:07:21 +02:00
wmayer
278202eb6f GuiPy: [skip ci] handle some Qt warnings when using GUI from Python
+ avoid warning: QEventLoop: Cannot be used without QApplication
+ avoid warning: QObject::startTimer: Timers can only be used with threads started with QThread
2020-06-20 11:43:59 +02:00
wmayer
0f5d81872f Main: [skip ci] replace QThread with std::thread as it won't start without an event loop 2020-06-19 18:52:26 +02:00
triplus
f66f18c459 Update copyright information [skip ci] 2020-02-03 08:16:12 -05:00
howetuft
11008e9ae2 Increment year in copyright notice 2020-01-13 15:19:51 +01:00
Markus Lampert
d5820329c5 Added <last> as an option to the workbench selection. 2019-11-01 17:42:14 -03:00
wmayer
e23db2e313 PVS: V773 A memory leak is possible 2019-02-17 18:40:06 +01:00
wmayer
d27c884c71 Update copyright notice 2019-01-03 15:37:02 +01:00
wmayer
25ad0148ae adjust copyright text 2018-01-27 12:13:44 +01:00
wmayer
dbc777012f avoid to eventually try to init Gui twice 2017-07-10 20:51:30 +02:00
wmayer
729cfd8155 py3: fox compiler warnings
issue 0000995
2017-06-04 00:17:57 +02:00
wmayer
956b6ed08f py3: port external FreeCAD module to Python3
whitespace improvement
2017-06-02 10:18:41 +02:00
wmayer
d40d68d0cb py3: port external FreeCAD module to Python3
issue 0000995
2017-06-02 06:43:18 +02:00
wmayer
cc2199db51 Increment year in copyright info 2017-02-15 21:32:23 +01:00
wmayer
a34c441373 Qt4/Qt5 neutral changes:
+ replace Q_WS_WIN with Q_OS_WIN
+ replace Q_WS_X11 with Q_OS_LINUX
+ replace Q_WS_MACX with Q_OS_MACX
+ set explicit cast to HWND
2016-12-12 14:09:21 +01:00
wmayer
4a35f1662a fix -Wextra in Main & Complete 2016-09-22 14:24:38 +02:00
Mateusz Skowroński
c275b35d48 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
wmayer
9f053d72c9 + when using FreeCAD GUI as Python module handle attempt to re-create main window 2015-12-12 20:14:37 +01:00
wmayer
93a3dc0cdd + fix warnings with Win32 build 2015-12-01 00:51:57 +01:00
wmayer
788c78df68 + change copyright notice 2015-01-15 00:36:27 +01:00
wmayer
398546aecb + fix build problems with Python & MacOSX 2014-10-13 22:02:57 +02:00
wmayer
4449d1abdc + fixes #0001762: Update 'About FreeCAD' Screen 2014-09-23 19:31:37 +02:00
Stefan Tröger
512a2b94d2 Adaption of FreeCAD to QuarterWidget
-removes all soqtviewer references
-create a quarter adaptor class which implements missing functionality
-adopts freecad code to make use of SoRenderManager and changed View3DInventorViewer  interface
2014-09-23 10:11:11 +02:00
Sebastian Hoogen
d49528b27e issue #1700 replace PyExc_Exception 2014-09-17 11:15:57 +02:00
Sebastian Hoogen
af50cbf964 fixes #0001422: Subclass Exception
inherit Base.FreeCADError form RuntimeError
inherit Part.OCCError from Base.FreeCADError
inherit OCCDomainError from Part.OCCError
inherit OCCRangeError from Part.OCCError
inherit OCCConstructionError from OCCDomainError
inherit OCCDimensionError from OCCDomainError
Added PY_CATCH_OCC macro
replace PyExc_Exception
use FreeCADError in makeWireString
catch exception in BSplineCurve.increasedegree
2014-09-17 11:15:56 +02:00
wmayer
bda933a1ca + add further log messages at startup for better troubleshooting, fix possible crash, fix typos 2014-07-01 11:03:55 +02:00
wmayer
8189b9a869 Do not pass 0 to PyObject_IsTrue 2012-12-30 23:16:56 +01:00
wmayer
f165aaa222 Allow to run FreeCAD in its own thread 2012-12-30 12:33:53 +01:00
wmayer
c21ac1b6b0 Extend application branding 2012-02-23 20:25:33 +01:00
wmayer
bb726c4644 + changes to make working with ipython shell
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5162 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-23 21:04:51 +00:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00