simulation dialog for the TaskView More...
#include <TaskDlgEdge2Trac.h>
Public Member Functions | |
virtual bool | accept () |
is called by the framework if the dialog is accepted (Ok) | |
virtual void | clicked (int) |
is called by the framework if an button is clicked which has no accept or rject role | |
virtual QDialogButtonBox::StandardButtons | getStandardButtons (void) const |
returns for Close and Help button | |
virtual void | helpRequested () |
is called by the framework if the user press the help button | |
virtual void | open () |
is called the TaskView when the dialog is opened | |
virtual bool | reject () |
is called by the framework if the dialog is rejected (Cancel) | |
TaskDlgEdge2Trac (Robot::Edge2TracObject *) | |
~TaskDlgEdge2Trac () | |
Protected Attributes | |
Robot::Edge2TracObject * | Edge2TaskObject |
TaskEdge2TracParameter * | param |
Gui::TaskView::TaskSelectLinkProperty * | select |
simulation dialog for the TaskView
Definition at line 42 of file TaskDlgEdge2Trac.h.
TaskDlgEdge2Trac::TaskDlgEdge2Trac | ( | Robot::Edge2TracObject * | obj | ) |
Definition at line 46 of file TaskDlgEdge2Trac.cpp.
References Gui::TaskView::TaskDialog::Content, param, select, and Robot::Edge2TracObject::Source.
TaskDlgEdge2Trac::~TaskDlgEdge2Trac | ( | ) |
Definition at line 56 of file TaskDlgEdge2Trac.cpp.
bool TaskDlgEdge2Trac::accept | ( | void | ) | [virtual] |
is called by the framework if the dialog is accepted (Ok)
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 93 of file TaskDlgEdge2Trac.cpp.
References Gui::TaskView::TaskSelectLinkProperty::accept(), Base::Console(), Edge2TaskObject, Gui::Application::Instance, Gui::TaskView::TaskSelectLinkProperty::isSelectionValid(), App::DocumentObject::recompute(), Gui::Document::resetEdit(), select, and Base::Exception::what().
void TaskDlgEdge2Trac::clicked | ( | int | button | ) | [virtual] |
is called by the framework if an button is clicked which has no accept or rject role
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 72 of file TaskDlgEdge2Trac.cpp.
References Base::Console(), Edge2TaskObject, Robot::Edge2TracObject::execute(), Gui::TaskView::TaskSelectLinkProperty::isSelectionValid(), Robot::Edge2TracObject::NbrOfCluster, Robot::Edge2TracObject::NbrOfEdges, param, select, Gui::TaskView::TaskSelectLinkProperty::sendSelection2Property(), RobotGui::TaskEdge2TracParameter::setEdgeAndClusterNbr(), and Base::Exception::what().
virtual QDialogButtonBox::StandardButtons RobotGui::TaskDlgEdge2Trac::getStandardButtons | ( | void | ) | const [inline, virtual] |
returns for Close and Help button
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 63 of file TaskDlgEdge2Trac.h.
void TaskDlgEdge2Trac::helpRequested | ( | ) | [virtual] |
is called by the framework if the user press the help button
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 121 of file TaskDlgEdge2Trac.cpp.
void TaskDlgEdge2Trac::open | ( | ) | [virtual] |
is called the TaskView when the dialog is opened
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 64 of file TaskDlgEdge2Trac.cpp.
References Gui::TaskView::TaskSelectLinkProperty::activate(), Edge2TaskObject, Robot::Edge2TracObject::execute(), Robot::Edge2TracObject::NbrOfCluster, Robot::Edge2TracObject::NbrOfEdges, param, select, and RobotGui::TaskEdge2TracParameter::setEdgeAndClusterNbr().
bool TaskDlgEdge2Trac::reject | ( | void | ) | [virtual] |
is called by the framework if the dialog is rejected (Cancel)
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 114 of file TaskDlgEdge2Trac.cpp.
References Edge2TaskObject, Robot::Edge2TracObject::execute(), Gui::TaskView::TaskSelectLinkProperty::reject(), and select.
TaskEdge2TracParameter* RobotGui::TaskDlgEdge2Trac::param [protected] |
Definition at line 67 of file TaskDlgEdge2Trac.h.
Referenced by clicked(), open(), and TaskDlgEdge2Trac().
Definition at line 68 of file TaskDlgEdge2Trac.h.
Referenced by accept(), clicked(), open(), reject(), and TaskDlgEdge2Trac().