Gui::TaskView::TaskDialogPython Class Reference

#include <TaskDialogPython.h>

Inheritance diagram for Gui::TaskView::TaskDialogPython:
Gui::TaskView::TaskDialog

List of all members.

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 ()

Detailed Description

Definition at line 68 of file TaskDialogPython.h.


Constructor & Destructor Documentation

TaskDialogPython::TaskDialogPython ( const Py::Object o  ) 
TaskDialogPython::~TaskDialogPython (  ) 

Definition at line 301 of file TaskDialogPython.cpp.

References Gui::TaskView::TaskDialog::Content, and Sketcher::None.


Member Function Documentation

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]
bool TaskDialogPython::isAllowedAlterSelection ( void   )  const [virtual]
bool TaskDialogPython::isAllowedAlterView ( void   )  const [virtual]
void TaskDialogPython::modifyStandardButtons ( QDialogButtonBox *   )  [virtual]

Reimplemented from Gui::TaskView::TaskDialog.

Definition at line 418 of file TaskDialogPython.cpp.

bool TaskDialogPython::needsFullSpace (  )  const [virtual]
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().


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:12 2011 for FreeCAD by  doxygen 1.6.1