simulation dialog for the TaskView More...
#include <TaskDlgEditSketch.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 reject role More... | |
ViewProviderSketch * getSketchView () const | |
virtual QDialogButtonBox::StandardButtons getStandardButtons (void) const | |
returns for Close and Help button More... | |
virtual bool isAllowedAlterDocument (void) const | |
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... | |
TaskDlgEditSketch (ViewProviderSketch *sketchView) | |
~TaskDlgEditSketch () | |
![]() | |
ButtonPosition buttonPosition () const | |
bool canClose () const | |
void emitDestructionSignal () | |
const std::vector< QWidget * > & getDialogContent (void) const | |
const std::string & getDocumentName () const | |
virtual void helpRequested () | |
is called by the framework if the user press the help button More... | |
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 Member Functions | |
void slotRedoDocument (const App::Document &) | |
void slotUndoDocument (const App::Document &) | |
Protected Attributes | |
Connection connectRedoDocument | |
Connection connectUndoDocument | |
TaskSketcherConstrains * Constraints | |
TaskSketcherElements * Elements | |
TaskSketcherGeneral * General | |
TaskSketcherMessages * Messages | |
ViewProviderSketch * sketchView | |
TaskSketcherSolverAdvanced * SolverAdvanced | |
![]() | |
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
◆ TaskDlgEditSketch()
TaskDlgEditSketch::TaskDlgEditSketch | ( | ViewProviderSketch * | sketchView | ) |
References connectRedoDocument, connectUndoDocument, Constraints, Gui::TaskView::TaskDialog::Content, Elements, General, App::GetApplication(), ParameterGrp::GetBool(), App::DocumentObject::getDocument(), Gui::ViewProviderDocumentObject::getObject(), App::Application::GetParameterGroupByPath(), Gui::TaskView::TaskBox::hideGroupBox(), Messages, Gui::TaskView::TaskDialog::setEscapeButtonEnabled(), App::Document::signalRedo, App::Document::signalUndo, sketchView, slotRedoDocument(), slotUndoDocument(), and SolverAdvanced.
◆ ~TaskDlgEditSketch()
TaskDlgEditSketch::~TaskDlgEditSketch | ( | ) |
Member Function Documentation
◆ accept()
|
virtual |
is called by the framework if the dialog is accepted (Ok)
Reimplemented from Gui::TaskView::TaskDialog.
◆ clicked()
|
virtual |
is called by the framework if an button is clicked which has no accept or reject role
Reimplemented from Gui::TaskView::TaskDialog.
◆ getSketchView()
ViewProviderSketch* SketcherGui::TaskDlgEditSketch::getSketchView | ( | ) | const |
Referenced by SketcherGui::ViewProviderSketch::setEdit().
◆ getStandardButtons()
|
virtual |
returns for Close and Help button
Reimplemented from Gui::TaskView::TaskDialog.
◆ isAllowedAlterDocument()
|
virtual |
Indicates whether this task dialog allows other commands to modify the document while it is open.
Reimplemented from Gui::TaskView::TaskDialog.
◆ open()
|
virtual |
is called the TaskView when the dialog is opened
Reimplemented from Gui::TaskView::TaskDialog.
◆ reject()
|
virtual |
is called by the framework if the dialog is rejected (Cancel)
Reimplemented from Gui::TaskView::TaskDialog.
References Constraints, Gui::Command::Doc, Elements, General, App::GetApplication(), Gui::TaskView::TaskDialog::getDocumentName(), App::Application::GetParameterGroupByPath(), Gui::Command::Gui, Gui::TaskView::TaskBox::isGroupVisible(), Messages, ParameterGrp::SetBool(), and SolverAdvanced.
◆ slotRedoDocument()
|
protected |
References Gui::ViewProviderDocumentObject::getObject(), and sketchView.
Referenced by TaskDlgEditSketch().
◆ slotUndoDocument()
|
protected |
References Gui::ViewProviderDocumentObject::getObject(), and sketchView.
Referenced by TaskDlgEditSketch().
Member Data Documentation
◆ connectRedoDocument
|
protected |
Referenced by TaskDlgEditSketch(), and ~TaskDlgEditSketch().
◆ connectUndoDocument
|
protected |
Referenced by TaskDlgEditSketch(), and ~TaskDlgEditSketch().
◆ Constraints
|
protected |
Referenced by reject(), and TaskDlgEditSketch().
◆ Elements
|
protected |
Referenced by reject(), and TaskDlgEditSketch().
◆ General
|
protected |
Referenced by reject(), and TaskDlgEditSketch().
◆ Messages
|
protected |
Referenced by reject(), and TaskDlgEditSketch().
◆ sketchView
|
protected |
Referenced by slotRedoDocument(), slotUndoDocument(), and TaskDlgEditSketch().
◆ SolverAdvanced
|
protected |
Referenced by reject(), TaskDlgEditSketch(), and ~TaskDlgEditSketch().
The documentation for this class was generated from the following files:
- src/Mod/Sketcher/Gui/TaskDlgEditSketch.h
- src/Mod/Sketcher/Gui/TaskDlgEditSketch.cpp