#include <EditDatumDialog.h>
Public Member Functions | |
EditDatumDialog (ViewProviderSketch *vp, int ConstrNbr) | |
void | exec (bool atCursor=true) |
~EditDatumDialog () | |
Static Public Member Functions | |
static void | run (void *data, SoSensor *sensor) |
Definition at line 34 of file EditDatumDialog.h.
EditDatumDialog::EditDatumDialog | ( | ViewProviderSketch * | vp, | |
int | ConstrNbr | |||
) |
Definition at line 48 of file EditDatumDialog.cpp.
References Sketcher::SketchObject::Constraints, SketcherGui::ViewProviderSketch::getSketchObject(), and Sketcher::PropertyConstraintList::getValues().
EditDatumDialog::~EditDatumDialog | ( | ) |
Definition at line 54 of file EditDatumDialog.cpp.
void EditDatumDialog::exec | ( | bool | atCursor = true |
) |
Definition at line 64 of file EditDatumDialog.cpp.
References Gui::Command::abortCommand(), Py::abs(), Sketcher::Angle, Gui::Command::commitCommand(), Sketcher::Distance, Sketcher::DistanceX, Sketcher::DistanceY, Gui::Command::Doc, Gui::Command::doCommand(), Sketcher::Constraint::FirstPos, Sketcher::Constraint::GeoUndef, App::DocumentObject::getNameInDocument(), Gui::ViewProviderDocumentObject::getObject(), SketcherGui::ViewProviderSketch::getSketchObject(), Sketcher::SketchObject::hasConflicts(), Gui::Application::Instance, Sketcher::none, Gui::Command::openCommand(), RobotExample::pos, Sketcher::Radius, Sketcher::Constraint::Second, Sketcher::Constraint::Type, Sketcher::Constraint::Value, Base::Exception::what(), and MovieTool::x.
Referenced by SketcherGui::TaskSketcherConstrains::on_listWidgetConstraints_itemActivated().
void EditDatumDialog::run | ( | void * | data, | |
SoSensor * | sensor | |||
) | [static] |
Definition at line 56 of file EditDatumDialog.cpp.
Referenced by SketcherGui::ViewProviderSketch::editDoubleClicked().