Gui::TaskView::TaskDialog Class Reference

Father class of content with header and Icon. More...

#include <TaskDialog.h>

Inheritance diagram for Gui::TaskView::TaskDialog:
DrawingGui::TaskProjection Gui::Dialog::TaskPlacement Gui::Dialog::TaskTextureMapping Gui::Dialog::TaskTransform Gui::TaskDlgRelocation Gui::TaskView::TaskDialogPython MeshGui::TaskRemoveComponents MeshPartGui::TaskTessellation PartDesignGui::TaskChamfer PartDesignGui::TaskDlgFilletParameters PartDesignGui::TaskDlgHoleParameters PartDesignGui::TaskDlgPadParameters PartDesignGui::TaskDlgPatternRectangularParameters PartDesignGui::TaskDlgPocketParameters PartDesignGui::TaskDlgRevolutionParameters PartGui::TaskBooleanOperation PartGui::TaskCrossSections PartGui::TaskExtrusion PartGui::TaskFaceColors PartGui::TaskFilletEdges PartGui::TaskLoft PartGui::TaskMirroring PartGui::TaskRevolution PartGui::TaskShapeBuilder RobotGui::TaskDlgEdge2Trac RobotGui::TaskDlgSimulate RobotGui::TaskDlgTrajectoryCompound RobotGui::TaskDlgTrajectoryDressUp SketcherGui::TaskDlgEditSketch

List of all members.

Public Types

enum  ButtonPosition { North, South }

Public Member Functions

virtual bool accept ()
 is called by the framework if the dialog is accepted (Ok)
ButtonPosition buttonPosition () const
virtual void clicked (int)
 is called by the framework if a button is clicked which has no accept or reject role
const std::vector< QWidget * > & getDialogContent (void) const
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)
void setButtonPosition (ButtonPosition p)
 TaskDialog ()
 ~TaskDialog ()

Protected Attributes

std::vector< QWidget * > Content
 List of TaskBoxes of that dialog.
ButtonPosition pos

Detailed Description

Father class of content with header and Icon.

Definition at line 46 of file Gui/TaskView/TaskDialog.h.


Member Enumeration Documentation

Enumerator:
North 
South 

Definition at line 51 of file Gui/TaskView/TaskDialog.h.


Constructor & Destructor Documentation

TaskDialog::TaskDialog (  ) 

Definition at line 39 of file Gui/TaskView/TaskDialog.cpp.

TaskDialog::~TaskDialog (  ) 

Definition at line 45 of file Gui/TaskView/TaskDialog.cpp.

References Content.


Member Function Documentation

bool TaskDialog::accept ( void   )  [virtual]
ButtonPosition Gui::TaskView::TaskDialog::buttonPosition (  )  const [inline]

Definition at line 60 of file Gui/TaskView/TaskDialog.h.

References RobotExample::pos.

Referenced by Gui::TaskView::TaskView::showDialog().

void TaskDialog::clicked ( int   )  [virtual]
const std::vector< QWidget * > & TaskDialog::getDialogContent ( void   )  const
virtual QDialogButtonBox::StandardButtons Gui::TaskView::TaskDialog::getStandardButtons ( void   )  const [inline, virtual]
void TaskDialog::helpRequested (  )  [virtual]
virtual bool Gui::TaskView::TaskDialog::isAllowedAlterDocument ( void   )  const [inline, virtual]
virtual bool Gui::TaskView::TaskDialog::isAllowedAlterSelection ( void   )  const [inline, virtual]
virtual bool Gui::TaskView::TaskDialog::isAllowedAlterView ( void   )  const [inline, virtual]
virtual void Gui::TaskView::TaskDialog::modifyStandardButtons ( QDialogButtonBox *   )  [inline, virtual]
virtual bool Gui::TaskView::TaskDialog::needsFullSpace (  )  const [inline, virtual]
void TaskDialog::open (  )  [virtual]
bool TaskDialog::reject ( void   )  [virtual]
void Gui::TaskView::TaskDialog::setButtonPosition ( ButtonPosition  p  )  [inline]

Member Data Documentation

std::vector<QWidget*> Gui::TaskView::TaskDialog::Content [protected]

List of TaskBoxes of that dialog.

Definition at line 93 of file Gui/TaskView/TaskDialog.h.

Referenced by getDialogContent(), PartGui::TaskBooleanOperation::TaskBooleanOperation(), PartDesignGui::TaskChamfer::TaskChamfer(), PartGui::TaskCrossSections::TaskCrossSections(), Gui::TaskView::TaskDialogPython::TaskDialogPython(), RobotGui::TaskDlgEdge2Trac::TaskDlgEdge2Trac(), SketcherGui::TaskDlgEditSketch::TaskDlgEditSketch(), PartDesignGui::TaskDlgFilletParameters::TaskDlgFilletParameters(), PartDesignGui::TaskDlgHoleParameters::TaskDlgHoleParameters(), PartDesignGui::TaskDlgPadParameters::TaskDlgPadParameters(), PartDesignGui::TaskDlgPatternRectangularParameters::TaskDlgPatternRectangularParameters(), PartDesignGui::TaskDlgPocketParameters::TaskDlgPocketParameters(), PartDesignGui::TaskDlgRevolutionParameters::TaskDlgRevolutionParameters(), RobotGui::TaskDlgSimulate::TaskDlgSimulate(), RobotGui::TaskDlgTrajectoryCompound::TaskDlgTrajectoryCompound(), RobotGui::TaskDlgTrajectoryDressUp::TaskDlgTrajectoryDressUp(), PartGui::TaskExtrusion::TaskExtrusion(), PartGui::TaskFaceColors::TaskFaceColors(), PartGui::TaskFilletEdges::TaskFilletEdges(), PartGui::TaskLoft::TaskLoft(), PartGui::TaskMirroring::TaskMirroring(), Gui::Dialog::TaskPlacement::TaskPlacement(), DrawingGui::TaskProjection::TaskProjection(), MeshGui::TaskRemoveComponents::TaskRemoveComponents(), PartGui::TaskRevolution::TaskRevolution(), PartGui::TaskShapeBuilder::TaskShapeBuilder(), MeshPartGui::TaskTessellation::TaskTessellation(), Gui::Dialog::TaskTextureMapping::TaskTextureMapping(), Gui::Dialog::TaskTransform::TaskTransform(), ~TaskDialog(), and Gui::TaskView::TaskDialogPython::~TaskDialogPython().

Definition at line 94 of file Gui/TaskView/TaskDialog.h.


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