#include <list>
#include <map>
#include <string>
#include <vector>
#include <Base/Type.h>
Go to the source code of this file.
Classes | |
class | Gui::Command |
The Command class. More... | |
class | Gui::CommandBase |
The CommandBase class This lightweigt class is the base class of all commands in FreeCAD. More... | |
class | Gui::CommandManager |
The CommandManager class This class manage all available commands in FreeCAD. More... | |
class | Gui::MacroCommand |
The script command class This is a special type of command class. More... | |
class | Gui::PythonCommand |
The Python command class This is a special type of command class. More... | |
Namespaces | |
namespace | App |
The namespace of the FreeCAD Aplication layer library. | |
namespace | Gui |
The namespace of the FreeCAD Graphical interface layer library. | |
Defines | |
#define | DEF_3DV_CMD(X) |
The Command Macro view This macro makes it easier to define a new command for the 3D View It activate the command only when a 3DView is active. | |
#define | DEF_STD_CMD(X) |
The Command Macro Standard This macro makes it easier to define a new command. | |
#define | DEF_STD_CMD_A(X) |
The Command Macro Standard + isActive() This macro makes it easier to define a new command. | |
#define | DEF_STD_CMD_AC(X) |
The Command Macro Standard + isActive() + createAction() This macro makes it easier to define a new command. | |
#define | DEF_STD_CMD_ACL(X) |
The Command Macro Standard + isActive() + createAction() + languageChange() This macro makes it easier to define a new command. | |
#define | DEF_STD_CMD_C(X) |
The Command Macro Standard + createAction() This macro makes it easier to define a new command. | |
Typedefs | |
typedef struct _object | PyObject |
Functions | |
void | Gui::CreateDocCommands (void) |
void | Gui::CreateFeatCommands (void) |
void | Gui::CreateMacroCommands (void) |
void | Gui::CreateStdCommands (void) |
void | Gui::CreateTestCommands (void) |
void | Gui::CreateViewStdCommands (void) |
void | Gui::CreateWindowStdCommands (void) |
#define DEF_3DV_CMD | ( | X | ) |
class X : public Gui::Command \ {\ public:\ X();\ virtual ~X(){}\ virtual const char* className() const\ { return #X; }\ protected: \ virtual void activated(int iMsg);\ virtual bool isActive(void)\ {\ Gui::MDIView* view = Gui::getMainWindow()->activeWindow();\ return view && view->isDerivedFrom(Gui::View3DInventor::getClassTypeId());\ }\ };
The Command Macro view This macro makes it easier to define a new command for the 3D View It activate the command only when a 3DView is active.
The parameters are the class name
#define DEF_STD_CMD | ( | X | ) |
class X : public Gui::Command \ {\ public:\ X();\ virtual const char* className() const\ { return #X; }\ protected: \ virtual void activated(int iMsg);\ };
The Command Macro Standard This macro makes it easier to define a new command.
The parameters are the class name.
#define DEF_STD_CMD_A | ( | X | ) |
class X : public Gui::Command \ {\ public:\ X();\ virtual ~X(){}\ virtual const char* className() const\ { return #X; }\ protected: \ virtual void activated(int iMsg);\ virtual bool isActive(void);\ };
The Command Macro Standard + isActive() This macro makes it easier to define a new command.
The parameters are the class name
#define DEF_STD_CMD_AC | ( | X | ) |
class X : public Gui::Command \ {\ public:\ X();\ virtual ~X(){}\ virtual const char* className() const\ { return #X; }\ protected: \ virtual void activated(int iMsg);\ virtual bool isActive(void);\ virtual Gui::Action * createAction(void);\ };
The Command Macro Standard + isActive() + createAction() This macro makes it easier to define a new command.
The parameters are the class name
#define DEF_STD_CMD_ACL | ( | X | ) |
class X : public Gui::Command \ {\ public:\ X();\ virtual ~X(){}\ virtual void languageChange(); \ virtual const char* className() const\ { return #X; }\ protected: \ virtual void activated(int iMsg);\ virtual bool isActive(void);\ virtual Gui::Action * createAction(void);\ };
The Command Macro Standard + isActive() + createAction() + languageChange() This macro makes it easier to define a new command.
The parameters are the class name
#define DEF_STD_CMD_C | ( | X | ) |
class X : public Gui::Command \ {\ public:\ X();\ virtual ~X(){}\ virtual const char* className() const\ { return #X; }\ protected: \ virtual void activated(int iMsg);\ virtual Gui::Action * createAction(void);\ };
The Command Macro Standard + createAction() This macro makes it easier to define a new command.
The parameters are the class name