#include <TaskDialogPython.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 a button is clicked which has no accept or reject role | |
virtual QDialogButtonBox::StandardButtons | getStandardButtons (void) const |
tells the framework which buttons whisched for the dialog | |
virtual void | helpRequested () |
is called by the framework if the user press the help button | |
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 | |
virtual bool | reject () |
is called by the framework if the dialog is rejected (Cancel) | |
TaskDialogPython (const Py::Object &) | |
~TaskDialogPython () |
Definition at line 68 of file TaskDialogPython.h.
TaskDialogPython::TaskDialogPython | ( | const Py::Object & | o | ) |
Definition at line 252 of file TaskDialogPython.cpp.
References Py::Callable::apply(), Base::Console(), Gui::TaskView::TaskDialog::Content, DrawingExample::file, Py::Object::getAttr(), iisTaskBox::groupLayout(), Py::Object::hasAttr(), Py::Object::ptr(), and result.
TaskDialogPython::~TaskDialogPython | ( | ) |
Definition at line 301 of file TaskDialogPython.cpp.
References Gui::TaskView::TaskDialog::Content, and Sketcher::None.
bool TaskDialogPython::accept | ( | void | ) | [virtual] |
is called by the framework if the dialog is accepted (Ok)
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 344 of file TaskDialogPython.cpp.
References Base::Console(), Py::Object::getAttr(), Py::Object::hasAttr(), and Base::Exception::what().
void TaskDialogPython::clicked | ( | int | ) | [virtual] |
is called by the framework if a button is clicked which has no accept or reject role
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 327 of file TaskDialogPython.cpp.
References Base::Console(), Py::Object::getAttr(), Py::Object::hasAttr(), and Base::Exception::what().
QDialogButtonBox::StandardButtons TaskDialogPython::getStandardButtons | ( | void | ) | const [virtual] |
tells the framework which buttons whisched for the dialog
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 398 of file TaskDialogPython.cpp.
References Base::Console(), Py::Object::getAttr(), Py::Object::hasAttr(), Py::int, Py::value(), and Base::Exception::what().
void TaskDialogPython::helpRequested | ( | ) | [virtual] |
is called by the framework if the user press the help button
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 382 of file TaskDialogPython.cpp.
References Base::Console(), Py::Object::getAttr(), Py::Object::hasAttr(), and Base::Exception::what().
bool TaskDialogPython::isAllowedAlterDocument | ( | void | ) | const [virtual] |
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 422 of file TaskDialogPython.cpp.
References Base::Console(), Py::Object::getAttr(), Py::Object::hasAttr(), and Base::Exception::what().
bool TaskDialogPython::isAllowedAlterSelection | ( | void | ) | const [virtual] |
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 460 of file TaskDialogPython.cpp.
References Base::Console(), Py::Object::getAttr(), Py::Object::hasAttr(), and Base::Exception::what().
bool TaskDialogPython::isAllowedAlterView | ( | void | ) | const [virtual] |
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 441 of file TaskDialogPython.cpp.
References Base::Console(), Py::Object::getAttr(), Py::Object::hasAttr(), and Base::Exception::what().
void TaskDialogPython::modifyStandardButtons | ( | QDialogButtonBox * | ) | [virtual] |
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 418 of file TaskDialogPython.cpp.
bool TaskDialogPython::needsFullSpace | ( | ) | const [virtual] |
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 479 of file TaskDialogPython.cpp.
References Base::Console(), Py::Object::getAttr(), Py::Object::hasAttr(), and Base::Exception::what().
void TaskDialogPython::open | ( | ) | [virtual] |
is called by the framework when the dialog is opened
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 311 of file TaskDialogPython.cpp.
References Base::Console(), Py::Object::getAttr(), Py::Object::hasAttr(), and Base::Exception::what().
bool TaskDialogPython::reject | ( | void | ) | [virtual] |
is called by the framework if the dialog is rejected (Cancel)
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 363 of file TaskDialogPython.cpp.
References Base::Console(), Py::Object::getAttr(), Py::Object::hasAttr(), and Base::Exception::what().