Commit Graph

38 Commits

Author SHA1 Message Date
wmayer
dbac90022d split compound command in separate commands to make shortcus customizable 2016-09-10 14:47:01 +02:00
wmayer
4686997786 fix more Coverity issues 2016-08-17 21:55:00 +02:00
wmayer
a2a8a517a9 + use QString's vsprintf to avoid to truncate the output string 2016-06-04 10:37:08 +02:00
wmayer
c438c9b9d0 + simplify fix to avoid memory leaks in keySequenceToAccel 2016-03-09 17:19:19 +01:00
Eivind Kvedalen
1e8b678cb3 Fixed leak. 2016-03-08 16:09:25 +01:00
Abdullah Tahiri
89e89c8b2d Gui: Extension of CommandMacro for system-wide macros
=====================================================

What?
Extension of the CommandMacro constructor to take an additional optional argument to indicate that the macro
is located in the system-wide directory, and shall be executed accordingly.
2016-01-11 19:25:53 +01:00
Abdullah Tahiri
2c884ab5f5 Gui Enhancement: Support for macros in AppUserHome/Macro
=====================================================

What?
It was suggested that the macros should be moved to AppUserHome/Macro
http://forum.freecadweb.org/viewtopic.php?f=10&t=13433

Solution:
The solution is backwards compatible in the sense that if you have a running
configuration, updating should not change anything.

For new installations the macro directory will default to AppUserHome/Macro. However
this would break all the installation scripts (probably also ME's plugin manager).

Conflicts:
	src/Mod/Path/Gui/AppPathGuiPy.cpp
2016-01-11 19:24:22 +01: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
Mateusz Skowroński
0695552cff QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
wmayer
32377b7635 + use Python's inspect module to get calling instance of addCommand 2015-12-16 23:07:24 +01:00
wmayer
19bbce6413 + when running a bound macro check if file exists, proper unicode handling of macros in customize dialog 2015-10-08 12:37:30 +02:00
wmayer
de41dc46ec + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 13:38:17 +02:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
96bee2fa47 + allow to set a default action for an exclusive group 2015-09-20 15:47:11 +02:00
wmayer
1d8b7f3582 + duplicate string array for Python commands 2015-09-20 14:11:53 +02:00
wmayer
eb4040d6d0 + support of exclusive Python command groups 2015-09-02 22:52:04 +02:00
wmayer
fc9d1e86ac + support of checkable commands 2015-08-25 18:01:37 +02:00
wmayer
3fb5a2918b + improve formatting 2015-08-25 15:11:42 +02:00
wmayer
45d793a1af + include missing header files 2015-06-30 17:48:03 +02:00
wmayer
3f13a32afd + issue #0002053: Support of themes 2015-06-28 23:30:42 +02:00
wmayer
fac5884b45 + return 0 for empty icon names of Python commands 2015-06-27 19:24:11 +02:00
wmayer
448ded204a + implement class PythonGroupCommand 2015-06-27 17:21:02 +02:00
wmayer
95a0633774 + Extend Command framework to allow to update QAction 2015-06-03 18:30:36 +02:00
wmayer
5b0164364a + Handle PyCXX exception in Command::invoke 2015-01-17 16:36:19 +01: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
wmayer
353d481281 + Add StackWalker to get log messages on crashes (MSVC only) 2014-09-03 11:48:34 +02:00
wmayer
c94403412d + fixes #0001719: Show current shortcuts (S) in menus and hover text. 2014-08-31 14:28:33 +02:00
wmayer
a50743041b + fix -Wnull-conversion, -Woverloaded-virtual, -Wlogical-not-parentheses, -Wsometimes-uninitialized 2014-08-26 19:14:13 +02:00
wmayer
f3a1825e73 + implement hexagon sketch 2014-06-03 14:54:27 +02:00
wmayer
b69b9ad6d9 + allow to always run macros, fix disappearing grid in sketcher 2014-05-13 16:20:51 +02:00
wmayer
656ded32f6 0000965: Tooltips should include shortcuts keys in parentheses 2013-05-14 16:26:44 +02:00
jriegel
61914bc772 Add all base system changes from the Assembly branch 2013-02-10 20:02:33 +01:00
wmayer
268805fd58 Fix a couple of issues with macro recording 2012-12-13 15:02:15 +01:00
wmayer
9c61558ffc Add thickness function 2012-11-26 21:10:09 +01:00
wmayer
40a997217b Proper handling of SystemExitException in Python 2012-08-11 10:58:54 +02:00
wmayer
e2e77f1539 + use UTF8-encoding of degree symbol
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5408 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-14 15:44:05 +00:00
wmayer
0cf2548cf8 + fix overflow problem with string buffer in fuse and common command
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5391 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-05 18:59:14 +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