Public Member Functions | |
virtual const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
StdCmdUndo () | |
virtual | ~StdCmdUndo () |
Protected Member Functions | |
virtual void | activated (int iMsg) |
Methods which gets called when activated, needs to be reimplemented! | |
virtual Gui::Action * | createAction (void) |
Creates the used Action. | |
virtual bool | isActive (void) |
Overite this method if your Cmd is not always active. |
Definition at line 595 of file CommandDoc.cpp.
StdCmdUndo::StdCmdUndo | ( | ) |
Definition at line 597 of file CommandDoc.cpp.
References Gui::Command::eType, Gui::Command::ForEdit, Gui::Command::keySequenceToAccel(), Gui::CommandBase::sAccel, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sPixmap, Gui::CommandBase::sStatusTip, Gui::CommandBase::sToolTipText, and Gui::CommandBase::sWhatsThis.
virtual StdCmdUndo::~StdCmdUndo | ( | ) | [inline, virtual] |
Definition at line 595 of file CommandDoc.cpp.
void StdCmdUndo::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 610 of file CommandDoc.cpp.
References Gui::Command::getGuiApplication(), and Gui::Application::sendMsgToActiveView().
virtual const char* StdCmdUndo::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 595 of file CommandDoc.cpp.
Action * StdCmdUndo::createAction | ( | void | ) | [protected, virtual] |
Creates the used Action.
Reimplemented from Gui::Command.
Definition at line 621 of file CommandDoc.cpp.
References Gui::Command::applyCommandData(), Gui::BitmapFactory(), Gui::getMainWindow(), Gui::CommandBase::sAccel, Gui::Action::setIcon(), Gui::Action::setShortcut(), and Gui::CommandBase::sPixmap.
bool StdCmdUndo::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 616 of file CommandDoc.cpp.
References Gui::Command::getGuiApplication(), and Gui::Application::sendHasMsgToActiveView().