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