Public Member Functions | |
virtual const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
CmdDrawingNewPage () | |
virtual void | languageChange () |
Translate command. | |
virtual | ~CmdDrawingNewPage () |
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 75 of file Mod/Drawing/Gui/Command.cpp.
CmdDrawingNewPage::CmdDrawingNewPage | ( | ) |
Definition at line 77 of file Mod/Drawing/Gui/Command.cpp.
References Gui::Command::sAppModule, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sStatusTip, Gui::CommandBase::sToolTipText, and Gui::CommandBase::sWhatsThis.
virtual CmdDrawingNewPage::~CmdDrawingNewPage | ( | ) | [inline, virtual] |
Definition at line 75 of file Mod/Drawing/Gui/Command.cpp.
void CmdDrawingNewPage::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 88 of file Mod/Drawing/Gui/Command.cpp.
References Gui::Command::commitCommand(), Gui::Command::Doc, Gui::Command::doCommand(), Gui::getMainWindow(), Gui::Command::getUniqueObjectName(), and Gui::Command::openCommand().
virtual const char* CmdDrawingNewPage::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 75 of file Mod/Drawing/Gui/Command.cpp.
Gui::Action * CmdDrawingNewPage::createAction | ( | void | ) | [protected, virtual] |
Creates the used Action.
Reimplemented from Gui::Command.
Definition at line 105 of file Mod/Drawing/Gui/Command.cpp.
References Gui::CommandBase::_pcAction, Gui::ActionGroup::addAction(), Gui::Command::applyCommandData(), Gui::BitmapFactory(), Gui::getMainWindow(), languageChange(), Gui::ActionGroup::setDropDownMenu(), and Gui::Action::setIcon().
bool CmdDrawingNewPage::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 179 of file Mod/Drawing/Gui/Command.cpp.
References Gui::Command::getActiveGuiDocument().
void CmdDrawingNewPage::languageChange | ( | ) | [virtual] |
Translate command.
Reimplemented from Gui::Command.
Definition at line 134 of file Mod/Drawing/Gui/Command.cpp.
References Gui::CommandBase::_pcAction, Gui::ActionGroup::actions(), and draftGui::translate().
Referenced by createAction().