Johannes Wüller
0e24e121eb
Fix backwards-compatible Qt6 warnings
2024-05-13 11:39:24 -05:00
wmayer
5a153e50ff
Gui: modernize C++: use default member init
2023-08-23 19:51:44 +02:00
wmayer
5ba1f1f5d4
Gui: refactor MacroManager
2023-03-26 18:41:56 +02:00
berniev
656ef8961f
Gui: redundant void 2
2022-08-08 10:21:44 +02:00
berniev
d88729d2c4
Gui: use empty
2022-08-06 16:35:45 +02:00
wmayer
e53e231677
Gui: remove some superfluous const_cast
2022-06-24 14:48:52 +02:00
wmayer
97330443a2
All: modernize C++11
...
* replace deprecated headers
2022-03-23 22:44:18 +01:00
wmayer
96adb98f46
Gui: modernize C++11
...
* use nullptr
2022-03-23 18:41:21 +01:00
Uwe
10380abd95
[Gui] Manual alignment etc.: remove unused includes
2022-03-02 04:22:48 +01:00
luz paz
298c677873
Gui: Fix header uniformity, whitespace, and doxygen fixes
2020-11-26 10:14:56 +01:00
Zheng, Lei
e97b89b4c7
Gui: output Cmt type macro line as comment in python console
2019-10-08 10:15:18 +02:00
Zheng, Lei
b1c0de8dae
Gui: Command API changes
...
* invoke(), distinguish between command triggering source. Also add
support of auto transaction using App::AutoTransaction. Now all
command will support undo/redo by default.
* setupCheckable(), a helper function to Improve support of
PythonGroupCommand
* getObjectCmd(), helper function to output Python command to refer to
an object without ambiguity. Because with introduction of external
linking, an object can no longer be safely referred through the
current active document.
* Support auto MacroManager command logger. For commands that does not
log any output to MacroManager, a log entry of 'Gui.runCommand()' will
be auto generated.
* Support linked object in copyVisual()
* Modified do/runCommand() to print calling file and line number.
* Add various helper macros for run command involving a document or
object.
2019-08-17 14:52:10 +02:00
wmayer
5f12a043fa
fix several gcc warnings
2016-11-08 14:31:08 +01:00
wmayer
f19d424d8b
fix -Wextra in FreeCADGui
2016-09-21 20:54:52 +02:00
wmayer
0824c5fd3c
fix Coverity issues
2016-08-21 14:03:02 +02:00
Yorik van Havre
7675a8effa
Made Redirect python output options True by default - fixes #2454
2016-02-26 13:43:51 -03:00
Mateusz Skowroński
cd2db00f22
QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
43a4a5938c
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
wmayer
0ea718177d
+ set utf-8 encoding when recording a macro
2015-06-19 14:52:20 +02:00
wmayer
946bd02df4
Improve reporting of Python exceptions
2013-05-04 14:23:53 +02:00
wmayer
23afef0b78
Fix a couple of issues with macro recording
2012-12-13 15:02:15 +01:00
wmayer
0d351e98e2
Proper handling of SystemExitException in Python
2012-08-11 10:58:54 +02:00
wmayer
857454aad5
0000777: Shared libraries call exit
2012-07-05 15:24:28 +02:00
wmayer
487a041c89
Allow to run script in global environment
2012-06-29 13:57:22 +02:00
wmayer
d23f9a854e
Redirect output and errors only if set in preferences
2012-02-15 12:03:26 +01:00
wmayer
21d3c0c81b
Print pythons exceptions in macros to output window
2012-02-07 12:18:10 +01:00
wmayer
048528b886
+ handle Python's SystemExit exception when running script or macro
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5398 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-11 18:39:27 +00:00
wmayer
1884ee3881
0000528: Need a way to reset the Python instance
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5250 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-10 13:42:32 +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