Gui::UndoAction Class Reference
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. More... | |
void setEnabled (bool) | |
Sets whether the action is enabled. More... | |
void setVisible (bool) | |
UndoAction (Command *pcCmd, QObject *parent=0) | |
~UndoAction () | |
![]() | |
QAction * action () | |
Action (Command *pcCmd, QAction *action, QObject *parent) | |
Action takes ownership of the 'action' object. More... | |
Action (Command *pcCmd, QObject *parent=0) | |
Constructs an action called name with parent parent. More... | |
QIcon icon () const | |
bool isChecked () const | |
void setCheckable (bool) | |
void setChecked (bool, bool no_signal=false) | |
void setIcon (const QIcon &) | |
void setMenuRole (QAction::MenuRole menuRole) | |
void setShortcut (const QString &) | |
void setStatusTip (const QString &) | |
void setText (const QString &) | |
void setToolTip (const QString &) | |
void setWhatsThis (const QString &) | |
QKeySequence shortcut () const | |
QString statusTip () const | |
QString text () const | |
QString toolTip () const | |
QString whatsThis () const | |
virtual ~Action () | |
Additional Inherited Members | |
![]() | |
virtual void onActivated () | |
Activates the command. More... | |
virtual void onToggled (bool) | |
Sets whether the command is toggled. More... | |
Detailed Description
The UndoAction class reimplements a special behaviour to make a menu appearing when the button with the arrow is clicked.
Constructor & Destructor Documentation
◆ UndoAction()
References Gui::Action::onActivated().
◆ ~UndoAction()
UndoAction::~UndoAction | ( | ) |
Member Function Documentation
◆ addTo()
|
virtual |
Adds this action to widget w.
Reimplemented from Gui::Action.
Referenced by Mod.PartDesign.WizardShaft.Shaft.Shaft::equilibrium().
◆ setEnabled()
|
virtual |
Sets whether the action is enabled.
Reimplemented from Gui::Action.
References Gui::Action::setEnabled().
Referenced by PathScripts.PathDressupTagGui.HoldingTagMarker::setSelected().
◆ setVisible()
|
virtual |
Reimplemented from Gui::Action.
References Gui::Action::setVisible().
The documentation for this class was generated from the following files:
- src/Gui/Action.h
- src/Gui/Action.cpp