#include <TaskDialogPython.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 a button is clicked which has no accept or reject role More... | |
virtual QDialogButtonBox::StandardButtons getStandardButtons (void) const | |
tells the framework which buttons are wished for the dialog More... | |
virtual void helpRequested () | |
is called by the framework if the user press the help button More... | |
virtual bool isAllowedAlterDocument (void) const | |
virtual bool isAllowedAlterSelection (void) const | |
virtual bool isAllowedAlterView (void) const | |
virtual void modifyStandardButtons (QDialogButtonBox *) | |
virtual bool needsFullSpace () const | |
virtual void open () | |
is called by the framework when the dialog is opened More... | |
virtual bool reject () | |
is called by the framework if the dialog is rejected (Cancel) More... | |
TaskDialogPython (const Py::Object &) | |
~TaskDialogPython () | |
![]() | |
ButtonPosition buttonPosition () const | |
bool canClose () const | |
void emitDestructionSignal () | |
const std::vector< QWidget * > & getDialogContent (void) const | |
const std::string & getDocumentName () const | |
bool isEscapeButtonEnabled () 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 () | |
Additional Inherited Members | |
![]() | |
enum ButtonPosition { North, South } | |
![]() | |
void aboutToBeDestroyed () | |
![]() | |
std::vector< QWidget * > Content | |
List of TaskBoxes of that dialog. More... | |
ButtonPosition pos | |
Constructor & Destructor Documentation
◆ TaskDialogPython()
TaskDialogPython::TaskDialogPython | ( | const Py::Object & | o | ) |
◆ ~TaskDialogPython()
TaskDialogPython::~TaskDialogPython | ( | ) |
References Gui::TaskView::TaskDialog::Content.
Member Function Documentation
◆ accept()
|
virtual |
is called by the framework if the dialog is accepted (Ok)
Reimplemented from Gui::TaskView::TaskDialog.
References Gui::TaskView::TaskDialog::accept().
Referenced by ArchComponent.ComponentTaskPanel::editObject().
◆ clicked()
|
virtual |
is called by the framework if a button is clicked which has no accept or reject role
Reimplemented from Gui::TaskView::TaskDialog.
◆ getStandardButtons()
|
virtual |
tells the framework which buttons are wished for the dialog
Reimplemented from Gui::TaskView::TaskDialog.
References Gui::TaskView::TaskDialog::getStandardButtons().
◆ helpRequested()
|
virtual |
is called by the framework if the user press the 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.
References Gui::TaskView::TaskDialog::isAllowedAlterDocument().
◆ isAllowedAlterSelection()
|
virtual |
Indicates whether this task dialog allows other commands to modify the selection while it is open.
Reimplemented from Gui::TaskView::TaskDialog.
References Gui::TaskView::TaskDialog::isAllowedAlterSelection().
◆ isAllowedAlterView()
|
virtual |
Indicates whether this task dialog allows other commands to modify the 3d view while it is open.
Reimplemented from Gui::TaskView::TaskDialog.
References Gui::TaskView::TaskDialog::isAllowedAlterView().
◆ modifyStandardButtons()
|
virtual |
Reimplemented from Gui::TaskView::TaskDialog.
References Gui::PythonWrapper::fromQWidget(), Gui::PythonWrapper::loadGuiModule(), and Gui::PythonWrapper::loadWidgetsModule().
◆ needsFullSpace()
|
virtual |
Reimplemented from Gui::TaskView::TaskDialog.
References Gui::TaskView::TaskDialog::needsFullSpace().
◆ open()
|
virtual |
is called by the framework 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 Gui::TaskView::TaskDialog::reject().
Referenced by drafttaskpanels.task_shapestring.ShapeStringTaskPanel::action().
The documentation for this class was generated from the following files:
- src/Gui/TaskView/TaskDialogPython.h
- src/Gui/TaskView/TaskDialogPython.cpp