wmayer
f44df3cdf0
do not use doCommand without using format string, add overloaded method of runCommand
2016-09-15 18:53:37 +02:00
wmayer
a12ecd49bd
fix unicode <=> utf-8 conversion issue
2016-09-12 20:52:24 +02:00
wmayer
ef363f9390
split compound command in separate commands to make shortcus customizable
2016-09-10 14:47:01 +02:00
wmayer
13528b0aec
fix more Coverity issues
2016-08-17 21:55:00 +02:00
wmayer
3c269f4ccd
+ use QString's vsprintf to avoid to truncate the output string
2016-06-04 10:37:08 +02:00
wmayer
d8430f191f
+ simplify fix to avoid memory leaks in keySequenceToAccel
2016-03-09 17:19:19 +01:00
Eivind Kvedalen
e940274146
Fixed leak.
2016-03-08 16:09:25 +01:00
Abdullah Tahiri
8a3958ced5
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
7fc7bdc302
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
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
d5c074f80d
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
61e1a5ca2f
+ use Python's inspect module to get calling instance of addCommand
2015-12-16 23:07:24 +01:00
wmayer
c133457da5
+ 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
b7be7aec13
+ Prefer prefix ++/-- operators for non-primitive types
2015-10-07 13:38:17 +02:00
Mateusz Skowroński
43a4a5938c
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
wmayer
cda9bf9ed5
+ allow to set a default action for an exclusive group
2015-09-20 15:47:11 +02:00
wmayer
ec91085765
+ duplicate string array for Python commands
2015-09-20 14:11:53 +02:00
wmayer
26b424e776
+ support of exclusive Python command groups
2015-09-02 22:52:04 +02:00
wmayer
27dc80c846
+ support of checkable commands
2015-08-25 18:01:37 +02:00
wmayer
1e745a6a6f
+ improve formatting
2015-08-25 15:11:42 +02:00
wmayer
2b53da4eee
+ include missing header files
2015-06-30 17:48:03 +02:00
wmayer
cd0b369425
+ issue #0002053 : Support of themes
2015-06-28 23:30:42 +02:00
wmayer
eaa5b15291
+ return 0 for empty icon names of Python commands
2015-06-27 19:24:11 +02:00
wmayer
882ecd3ce3
+ implement class PythonGroupCommand
2015-06-27 17:21:02 +02:00
wmayer
c91018946c
+ Extend Command framework to allow to update QAction
2015-06-03 18:30:36 +02:00
wmayer
86882eec6a
+ Handle PyCXX exception in Command::invoke
2015-01-17 16:36:19 +01:00
Stefan Tröger
72cab0c002
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
2f4ce2bbc0
+ Add StackWalker to get log messages on crashes (MSVC only)
2014-09-03 11:48:34 +02:00
wmayer
ce528d1c4a
+ fixes #0001719 : Show current shortcuts (S) in menus and hover text.
2014-08-31 14:28:33 +02:00
wmayer
cc775f9254
+ fix -Wnull-conversion, -Woverloaded-virtual, -Wlogical-not-parentheses, -Wsometimes-uninitialized
2014-08-26 19:14:13 +02:00
wmayer
5917d21395
+ implement hexagon sketch
2014-06-03 14:54:27 +02:00
wmayer
c212e75fcc
+ allow to always run macros, fix disappearing grid in sketcher
2014-05-13 16:20:51 +02:00
wmayer
672e4d0feb
0000965: Tooltips should include shortcuts keys in parentheses
2013-05-14 16:26:44 +02:00
jriegel
d739a2e41b
Add all base system changes from the Assembly branch
2013-02-10 20:02:33 +01:00
wmayer
23afef0b78
Fix a couple of issues with macro recording
2012-12-13 15:02:15 +01:00
wmayer
72bba68c2b
Add thickness function
2012-11-26 21:10:09 +01:00
wmayer
0d351e98e2
Proper handling of SystemExitException in Python
2012-08-11 10:58:54 +02:00
wmayer
b4c91af000
+ 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
325d832010
+ 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