The UndoAction class reimplements a special behaviour to make a menu appearing when the button with the arrow is clicked. More...
#include <Action.h>
Public Member Functions | |
void | addTo (QWidget *w) |
Adds this action to widget w. | |
void | setEnabled (bool) |
Sets whether the action is enabled. | |
void | setVisible (bool) |
UndoAction (Command *pcCmd, QObject *parent=0) | |
~UndoAction () |
The UndoAction class reimplements a special behaviour to make a menu appearing when the button with the arrow is clicked.
Definition at line 205 of file Action.h.
UndoAction::UndoAction | ( | Command * | pcCmd, | |
QObject * | parent = 0 | |||
) |
Definition at line 711 of file Action.cpp.
References draftlibs::fcgeo::connect(), and Gui::Action::onActivated().
UndoAction::~UndoAction | ( | ) |
Definition at line 719 of file Action.cpp.
void UndoAction::addTo | ( | QWidget * | w | ) | [virtual] |
Adds this action to widget w.
Reimplemented from Gui::Action.
Definition at line 726 of file Action.cpp.
References Gui::Action::_action.
void UndoAction::setEnabled | ( | bool | b | ) | [virtual] |
Sets whether the action is enabled.
Reimplemented from Gui::Action.
Definition at line 744 of file Action.cpp.
void UndoAction::setVisible | ( | bool | b | ) | [virtual] |
Reimplemented from Gui::Action.
Definition at line 750 of file Action.cpp.