FreeCAD C++
Public Member Functions | List of all members
Gui::Action Class Reference

#include <Gui/Action.h>

Detailed Description

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.

Author
Werner Mayer

Public Member Functions

 Action (Command *pcCmd, QAction *action, QObject *parent)
 Action takes ownership of the 'action' object.