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) More... | |
virtual void clicked (int) | |
is called by the framework if an button is clicked which has no accept or rject role More... | |
virtual QDialogButtonBox::StandardButtons getStandardButtons (void) const | |
returns for Close and Help button More... | |
virtual void helpRequested () | |
is called by the framework if the user press the help button More... | |
virtual void open () | |
is called the TaskView when the dialog is opened More... | |
virtual bool reject () | |
is called by the framework if the dialog is rejected (Cancel) More... | |
TaskDlgEdge2Trac (Robot::Edge2TracObject *) | |
~TaskDlgEdge2Trac () | |
![]() | |
ButtonPosition buttonPosition () const | |
bool canClose () const | |
void emitDestructionSignal () | |
const std::vector< QWidget * > & getDialogContent (void) const | |
const std::string & getDocumentName () const | |
virtual bool isAllowedAlterDocument (void) const | |
virtual bool isAllowedAlterSelection (void) const | |
virtual bool isAllowedAlterView (void) const | |
bool isEscapeButtonEnabled () const | |
virtual void modifyStandardButtons (QDialogButtonBox *) | |
virtual bool needsFullSpace () const | |
void setButtonPosition (ButtonPosition p) | |
void setDocumentName (const std::string &doc) | |
void setEscapeButtonEnabled (bool on) | |
Defines whether a task dialog can be rejected by pressing Esc. More... | |
TaskDialog () | |
~TaskDialog () | |
Protected Attributes | |
Robot::Edge2TracObject * Edge2TaskObject | |
TaskEdge2TracParameter * param | |
Gui::TaskView::TaskSelectLinkProperty * select | |
![]() | |
std::vector< QWidget * > Content | |
List of TaskBoxes of that dialog. More... | |
ButtonPosition pos | |
Additional Inherited Members | |
![]() | |
enum ButtonPosition { North, South } | |
![]() | |
void aboutToBeDestroyed () | |
Detailed Description
simulation dialog for the TaskView
Constructor & Destructor Documentation
◆ TaskDlgEdge2Trac()
TaskDlgEdge2Trac::TaskDlgEdge2Trac | ( | Robot::Edge2TracObject * | obj | ) |
References Gui::TaskView::TaskDialog::Content, and select.
◆ ~TaskDlgEdge2Trac()
TaskDlgEdge2Trac::~TaskDlgEdge2Trac | ( | ) |
Member Function Documentation
◆ accept()
|
virtual |
is called by the framework if the dialog is accepted (Ok)
Reimplemented from Gui::TaskView::TaskDialog.
References Gui::TaskView::TaskSelectLinkProperty::accept(), Gui::Application::activeDocument(), Base::Console(), Edge2TaskObject, Gui::Application::Instance, Gui::TaskView::TaskSelectLinkProperty::isSelectionValid(), App::DocumentObject::recomputeFeature(), select, and Base::ConsoleSingleton::Warning().
◆ clicked()
|
virtual |
is called by the framework if an button is clicked which has no accept or rject role
Reimplemented from Gui::TaskView::TaskDialog.
References Base::Console(), Edge2TaskObject, Robot::Edge2TracObject::execute(), Gui::TaskView::TaskSelectLinkProperty::isSelectionValid(), Robot::Edge2TracObject::NbrOfCluster, Robot::Edge2TracObject::NbrOfEdges, select, Gui::TaskView::TaskSelectLinkProperty::sendSelection2Property(), and Base::ConsoleSingleton::Warning().
◆ getStandardButtons()
|
virtual |
returns for Close and Help button
Reimplemented from Gui::TaskView::TaskDialog.
◆ helpRequested()
|
virtual |
is called by the framework if the user press the help button
Reimplemented from Gui::TaskView::TaskDialog.
◆ open()
|
virtual |
is called the TaskView when the dialog is opened
Reimplemented from Gui::TaskView::TaskDialog.
References Gui::TaskView::TaskSelectLinkProperty::activate(), Edge2TaskObject, Robot::Edge2TracObject::execute(), Robot::Edge2TracObject::NbrOfCluster, Robot::Edge2TracObject::NbrOfEdges, and select.
◆ reject()
|
virtual |
is called by the framework if the dialog is rejected (Cancel)
Reimplemented from Gui::TaskView::TaskDialog.
References Edge2TaskObject, Robot::Edge2TracObject::execute(), Gui::TaskView::TaskSelectLinkProperty::reject(), and select.
Member Data Documentation
◆ Edge2TaskObject
|
protected |
◆ param
|
protected |
◆ select
|
protected |
Referenced by accept(), clicked(), open(), reject(), and TaskDlgEdge2Trac().
The documentation for this class was generated from the following files:
- src/Mod/Robot/Gui/TaskDlgEdge2Trac.h
- src/Mod/Robot/Gui/TaskDlgEdge2Trac.cpp