Public Member Functions | |
| virtual const char * | className () const |
| The C++ class name is needed as context for the translation framework. | |
| CmdSketcherConstrainDistanceX () | |
| virtual | ~CmdSketcherConstrainDistanceX () |
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 733 of file CommandConstraints.cpp.
| CmdSketcherConstrainDistanceX::CmdSketcherConstrainDistanceX | ( | ) |
Definition at line 735 of file CommandConstraints.cpp.
References Gui::Command::eType, Gui::Command::ForEdit, Gui::CommandBase::sAccel, Gui::Command::sAppModule, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sPixmap, Gui::CommandBase::sStatusTip, Gui::CommandBase::sToolTipText, and Gui::CommandBase::sWhatsThis.
| virtual CmdSketcherConstrainDistanceX::~CmdSketcherConstrainDistanceX | ( | ) | [inline, virtual] |
Definition at line 733 of file CommandConstraints.cpp.
| void CmdSketcherConstrainDistanceX::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 749 of file CommandConstraints.cpp.
References Gui::SelectionSingleton::clearSelection(), Gui::Command::commitCommand(), Gui::Command::Doc, Gui::Command::doCommand(), Sketcher::SketchObject::Geometry, Gui::Command::getActiveGuiDocument(), Part::GeomLineSegment::getClassTypeId(), Part::GeomLineSegment::getEndPoint(), Sketcher::SketchObject::getGeoVertexIndex(), Gui::getMainWindow(), Sketcher::SketchObject::getPoint(), Gui::Command::getSelection(), Gui::SelectionSingleton::getSelectionEx(), Part::GeomLineSegment::getStartPoint(), Part::Geometry::getTypeId(), Part::PropertyGeometryList::getValues(), Gui::Command::openCommand(), updateDatumDistance(), and Base::Vector3< _Precision >::x.
| virtual const char* CmdSketcherConstrainDistanceX::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 733 of file CommandConstraints.cpp.
| bool CmdSketcherConstrainDistanceX::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 862 of file CommandConstraints.cpp.
References Gui::Command::getActiveGuiDocument(), and isCreateConstraintActive().
1.6.1