Father class of content with header and Icon. More...
#include <TaskDialog.h>
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 |
Father class of content with header and Icon.
Definition at line 46 of file Gui/TaskView/TaskDialog.h.
Definition at line 51 of file Gui/TaskView/TaskDialog.h.
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.
bool TaskDialog::accept | ( | void | ) | [virtual] |
is called by the framework if the dialog is accepted (Ok)
Reimplemented in Gui::Dialog::TaskPlacement, Gui::TaskDlgRelocation, Gui::TaskView::TaskDialogPython, Gui::Dialog::TaskTextureMapping, Gui::Dialog::TaskTransform, DrawingGui::TaskProjection, MeshGui::TaskRemoveComponents, MeshPartGui::TaskTessellation, PartGui::TaskCrossSections, PartGui::TaskExtrusion, PartGui::TaskFilletEdges, PartGui::TaskRevolution, PartGui::TaskMirroring, PartGui::TaskFaceColors, PartGui::TaskLoft, PartGui::TaskShapeBuilder, PartDesignGui::TaskChamfer, PartDesignGui::TaskDlgFilletParameters, PartDesignGui::TaskDlgHoleParameters, PartDesignGui::TaskDlgPadParameters, PartDesignGui::TaskDlgPatternRectangularParameters, PartDesignGui::TaskDlgPocketParameters, PartDesignGui::TaskDlgRevolutionParameters, RobotGui::TaskDlgEdge2Trac, RobotGui::TaskDlgSimulate, RobotGui::TaskDlgTrajectoryCompound, RobotGui::TaskDlgTrajectoryDressUp, and SketcherGui::TaskDlgEditSketch.
Definition at line 72 of file Gui/TaskView/TaskDialog.cpp.
Referenced by Gui::TaskView::TaskView::accept().
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] |
is called by the framework if a button is clicked which has no accept or reject role
Reimplemented in Gui::Dialog::TaskPlacement, Gui::TaskDlgRelocation, Gui::TaskView::TaskDialogPython, Gui::Dialog::TaskTransform, MeshGui::TaskRemoveComponents, MeshPartGui::TaskTessellation, PartGui::TaskCrossSections, PartGui::TaskBooleanOperation, PartGui::TaskExtrusion, PartGui::TaskFilletEdges, PartGui::TaskFaceColors, PartGui::TaskLoft, PartGui::TaskShapeBuilder, PartDesignGui::TaskChamfer, PartDesignGui::TaskDlgFilletParameters, PartDesignGui::TaskDlgHoleParameters, PartDesignGui::TaskDlgPadParameters, PartDesignGui::TaskDlgPatternRectangularParameters, PartDesignGui::TaskDlgPocketParameters, PartDesignGui::TaskDlgRevolutionParameters, RobotGui::TaskDlgEdge2Trac, RobotGui::TaskDlgSimulate, RobotGui::TaskDlgTrajectoryDressUp, and SketcherGui::TaskDlgEditSketch.
Definition at line 67 of file Gui/TaskView/TaskDialog.cpp.
Referenced by Gui::TaskView::TaskView::clicked().
const std::vector< QWidget * > & TaskDialog::getDialogContent | ( | void | ) | const |
Definition at line 55 of file Gui/TaskView/TaskDialog.cpp.
References Content.
Referenced by Gui::TaskView::TaskView::removeDialog(), and Gui::TaskView::TaskView::showDialog().
virtual QDialogButtonBox::StandardButtons Gui::TaskView::TaskDialog::getStandardButtons | ( | void | ) | const [inline, virtual] |
tells the framework which buttons whisched for the dialog
Reimplemented in Gui::Dialog::TaskPlacement, Gui::TaskDlgRelocation, Gui::TaskView::TaskDialogPython, Gui::Dialog::TaskTextureMapping, Gui::Dialog::TaskTransform, DrawingGui::TaskProjection, MeshGui::TaskRemoveComponents, MeshPartGui::TaskTessellation, PartGui::TaskCrossSections, PartGui::TaskBooleanOperation, PartGui::TaskExtrusion, PartGui::TaskFilletEdges, PartGui::TaskRevolution, PartGui::TaskMirroring, PartGui::TaskFaceColors, PartGui::TaskLoft, PartGui::TaskShapeBuilder, PartDesignGui::TaskChamfer, PartDesignGui::TaskDlgFilletParameters, PartDesignGui::TaskDlgHoleParameters, PartDesignGui::TaskDlgPadParameters, PartDesignGui::TaskDlgPatternRectangularParameters, PartDesignGui::TaskDlgPocketParameters, PartDesignGui::TaskDlgRevolutionParameters, RobotGui::TaskDlgEdge2Trac, RobotGui::TaskDlgSimulate, RobotGui::TaskDlgTrajectoryCompound, RobotGui::TaskDlgTrajectoryDressUp, and SketcherGui::TaskDlgEditSketch.
Definition at line 65 of file Gui/TaskView/TaskDialog.h.
Referenced by Gui::TaskView::TaskView::showDialog().
void TaskDialog::helpRequested | ( | ) | [virtual] |
is called by the framework if the user press the help button
Reimplemented in Gui::TaskDlgRelocation, Gui::TaskView::TaskDialogPython, PartDesignGui::TaskDlgHoleParameters, PartDesignGui::TaskDlgPatternRectangularParameters, RobotGui::TaskDlgEdge2Trac, RobotGui::TaskDlgSimulate, RobotGui::TaskDlgTrajectoryCompound, RobotGui::TaskDlgTrajectoryDressUp, and SketcherGui::TaskDlgEditSketch.
Definition at line 82 of file Gui/TaskView/TaskDialog.cpp.
Referenced by Gui::TaskView::TaskView::helpRequested().
virtual bool Gui::TaskView::TaskDialog::isAllowedAlterDocument | ( | void | ) | const [inline, virtual] |
Reimplemented in Gui::TaskView::TaskDialogPython, DrawingGui::TaskProjection, MeshGui::TaskRemoveComponents, PartGui::TaskBooleanOperation, PartGui::TaskMirroring, PartDesignGui::TaskDlgFilletParameters, PartDesignGui::TaskDlgHoleParameters, PartDesignGui::TaskDlgPadParameters, PartDesignGui::TaskDlgPatternRectangularParameters, PartDesignGui::TaskDlgPocketParameters, PartDesignGui::TaskDlgRevolutionParameters, and SketcherGui::TaskDlgEditSketch.
Definition at line 70 of file Gui/TaskView/TaskDialog.h.
Referenced by Gui::ControlSingleton::isAllowedAlterDocument().
virtual bool Gui::TaskView::TaskDialog::isAllowedAlterSelection | ( | void | ) | const [inline, virtual] |
Reimplemented in Gui::TaskView::TaskDialogPython.
Definition at line 74 of file Gui/TaskView/TaskDialog.h.
Referenced by Gui::ControlSingleton::isAllowedAlterSelection().
virtual bool Gui::TaskView::TaskDialog::isAllowedAlterView | ( | void | ) | const [inline, virtual] |
Reimplemented in Gui::TaskView::TaskDialogPython.
Definition at line 72 of file Gui/TaskView/TaskDialog.h.
Referenced by Gui::ControlSingleton::isAllowedAlterView().
virtual void Gui::TaskView::TaskDialog::modifyStandardButtons | ( | QDialogButtonBox * | ) | [inline, virtual] |
Reimplemented in Gui::TaskView::TaskDialogPython, and MeshGui::TaskRemoveComponents.
Definition at line 67 of file Gui/TaskView/TaskDialog.h.
Referenced by Gui::TaskView::TaskView::showDialog().
virtual bool Gui::TaskView::TaskDialog::needsFullSpace | ( | ) | const [inline, virtual] |
Reimplemented in Gui::TaskView::TaskDialogPython, PartGui::TaskBooleanOperation, and PartGui::TaskMirroring.
Definition at line 76 of file Gui/TaskView/TaskDialog.h.
Referenced by Gui::TaskView::TaskView::showDialog().
void TaskDialog::open | ( | ) | [virtual] |
is called by the framework when the dialog is opened
Reimplemented in Gui::TaskDlgRelocation, Gui::TaskView::TaskDialogPython, MeshPartGui::TaskTessellation, PartGui::TaskFilletEdges, PartGui::TaskFaceColors, PartGui::TaskLoft, PartGui::TaskShapeBuilder, PartDesignGui::TaskChamfer, PartDesignGui::TaskDlgFilletParameters, PartDesignGui::TaskDlgHoleParameters, PartDesignGui::TaskDlgPadParameters, PartDesignGui::TaskDlgPatternRectangularParameters, PartDesignGui::TaskDlgPocketParameters, PartDesignGui::TaskDlgRevolutionParameters, RobotGui::TaskDlgEdge2Trac, RobotGui::TaskDlgSimulate, RobotGui::TaskDlgTrajectoryCompound, RobotGui::TaskDlgTrajectoryDressUp, and SketcherGui::TaskDlgEditSketch.
Definition at line 62 of file Gui/TaskView/TaskDialog.cpp.
Referenced by Gui::TaskView::TaskView::showDialog().
bool TaskDialog::reject | ( | void | ) | [virtual] |
is called by the framework if the dialog is rejected (Cancel)
Reimplemented in Gui::Dialog::TaskPlacement, Gui::TaskDlgRelocation, Gui::TaskView::TaskDialogPython, Gui::Dialog::TaskTextureMapping, Gui::Dialog::TaskTransform, MeshPartGui::TaskTessellation, PartGui::TaskFilletEdges, PartGui::TaskFaceColors, PartGui::TaskLoft, PartGui::TaskShapeBuilder, PartDesignGui::TaskChamfer, PartDesignGui::TaskDlgFilletParameters, PartDesignGui::TaskDlgHoleParameters, PartDesignGui::TaskDlgPadParameters, PartDesignGui::TaskDlgPatternRectangularParameters, PartDesignGui::TaskDlgPocketParameters, PartDesignGui::TaskDlgRevolutionParameters, RobotGui::TaskDlgEdge2Trac, RobotGui::TaskDlgSimulate, RobotGui::TaskDlgTrajectoryCompound, RobotGui::TaskDlgTrajectoryDressUp, and SketcherGui::TaskDlgEditSketch.
Definition at line 77 of file Gui/TaskView/TaskDialog.cpp.
Referenced by Gui::TaskView::TaskView::reject().
void Gui::TaskView::TaskDialog::setButtonPosition | ( | ButtonPosition | p | ) | [inline] |
Definition at line 58 of file Gui/TaskView/TaskDialog.h.
References RobotExample::pos.
Referenced by CmdMeshRemoveComponents::activated(), CmdDrawingProjectShape::activated(), Gui::Dialog::TaskPlacement::TaskPlacement(), and Gui::Dialog::TaskTransform::TaskTransform().
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().
ButtonPosition Gui::TaskView::TaskDialog::pos [protected] |
Definition at line 94 of file Gui/TaskView/TaskDialog.h.