FreeCAD C++
|
#include <Gui/Action.h>
The Action class is the link between Qt's QAction class and FreeCAD's command classes (Command). So, it is possible to have all actions (from toolbars, menus, ...) implemented in classes instead of many slot methods in the class MainWindow.
Public Member Functions | |
Action (Command *pcCmd, QAction *action, QObject *parent) | |
Action takes ownership of the 'action' object. | |