Public Member Functions | |
| virtual const char * | className () const |
| The C++ class name is needed as context for the translation framework. | |
| virtual void | languageChange () |
| Translate command. | |
| StdCmdDrawStyle () | |
| virtual | ~StdCmdDrawStyle () |
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 505 of file CommandView.cpp.
| StdCmdDrawStyle::StdCmdDrawStyle | ( | ) |
Definition at line 507 of file CommandView.cpp.
References Gui::Command::Alter3DView, Gui::Command::eType, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sStatusTip, and Gui::CommandBase::sToolTipText.
| virtual StdCmdDrawStyle::~StdCmdDrawStyle | ( | ) | [inline, virtual] |
Definition at line 505 of file CommandView.cpp.
| void StdCmdDrawStyle::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 554 of file CommandView.cpp.
References Gui::MainWindow::activeWindow(), Gui::getMainWindow(), and Gui::View3DInventor::getViewer().
| virtual const char* StdCmdDrawStyle::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 505 of file CommandView.cpp.
| Gui::Action * StdCmdDrawStyle::createAction | ( | void | ) | [protected, virtual] |
Creates the used Action.
Reimplemented from Gui::Command.
Definition at line 517 of file CommandView.cpp.
References Gui::CommandBase::_pcAction, Gui::ActionGroup::addAction(), Gui::Command::applyCommandData(), Gui::getMainWindow(), languageChange(), and Gui::ActionGroup::setDropDownMenu().
| bool StdCmdDrawStyle::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 567 of file CommandView.cpp.
References Gui::Application::activeDocument(), and Gui::Application::Instance.
| void StdCmdDrawStyle::languageChange | ( | ) | [virtual] |
Translate command.
Reimplemented from Gui::Command.
Definition at line 530 of file CommandView.cpp.
References Gui::CommandBase::_pcAction, Gui::ActionGroup::actions(), and draftGui::translate().
Referenced by createAction().
1.6.1