Public Member Functions | |
virtual const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
StdCmdViewExample1 () | |
virtual | ~StdCmdViewExample1 () |
Protected Member Functions | |
virtual void | activated (int iMsg) |
Methods which gets called when activated, needs to be reimplemented! | |
virtual bool | isActive (void) |
Overite this method if your Cmd is not always active. |
Definition at line 1482 of file CommandView.cpp.
StdCmdViewExample1::StdCmdViewExample1 | ( | ) |
Definition at line 1484 of file CommandView.cpp.
References Gui::Command::Alter3DView, Gui::Command::eType, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sPixmap, Gui::CommandBase::sStatusTip, Gui::CommandBase::sToolTipText, and Gui::CommandBase::sWhatsThis.
virtual StdCmdViewExample1::~StdCmdViewExample1 | ( | ) | [inline, virtual] |
Definition at line 1482 of file CommandView.cpp.
void StdCmdViewExample1::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 1496 of file CommandView.cpp.
References Gui::Command::doCommand(), and FreeCADGuiInit::Gui.
virtual const char* StdCmdViewExample1::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 1482 of file CommandView.cpp.
bool StdCmdViewExample1::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 1501 of file CommandView.cpp.
References Gui::Command::getGuiApplication(), and Gui::Application::sendHasMsgToActiveView().