Public Member Functions | |
virtual const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
StdCmdToggleClipPlane () | |
virtual | ~StdCmdToggleClipPlane () |
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 457 of file CommandView.cpp.
StdCmdToggleClipPlane::StdCmdToggleClipPlane | ( | ) |
Definition at line 459 of file CommandView.cpp.
References Gui::Command::Alter3DView, Gui::Command::eType, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sStatusTip, Gui::CommandBase::sToolTipText, and Gui::CommandBase::sWhatsThis.
virtual StdCmdToggleClipPlane::~StdCmdToggleClipPlane | ( | ) | [inline, virtual] |
Definition at line 457 of file CommandView.cpp.
void StdCmdToggleClipPlane::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 477 of file CommandView.cpp.
References Gui::MainWindow::activeWindow(), Gui::getMainWindow(), Gui::View3DInventor::hasClippingPlane(), and Gui::View3DInventor::toggleClippingPlane().
virtual const char* StdCmdToggleClipPlane::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 457 of file CommandView.cpp.
Action * StdCmdToggleClipPlane::createAction | ( | void | ) | [protected, virtual] |
Creates the used Action.
Reimplemented from Gui::Command.
Definition at line 470 of file CommandView.cpp.
References Gui::Action::setCheckable().
bool StdCmdToggleClipPlane::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 488 of file CommandView.cpp.
References Gui::CommandBase::_pcAction, Gui::MainWindow::activeWindow(), Gui::getMainWindow(), Gui::View3DInventor::hasClippingPlane(), Gui::Action::isChecked(), and Gui::Action::setChecked().