simulation dialog for the TaskView More...
#include <TaskPocketParameters.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 an button is clicked which has no accept or reject role | |
ViewProviderPocket * | getPocketView () const |
virtual QDialogButtonBox::StandardButtons | getStandardButtons (void) const |
returns for Close and Help button | |
virtual bool | isAllowedAlterDocument (void) const |
is called by the framework if the user presses the help button | |
virtual void | open () |
is called the TaskView when the dialog is opened | |
virtual bool | reject () |
is called by the framework if the dialog is rejected (Cancel) | |
TaskDlgPocketParameters (ViewProviderPocket *PocketView) | |
~TaskDlgPocketParameters () | |
Protected Attributes | |
TaskPocketParameters * | parameter |
ViewProviderPocket * | PocketView |
simulation dialog for the TaskView
Definition at line 72 of file TaskPocketParameters.h.
TaskDlgPocketParameters::TaskDlgPocketParameters | ( | ViewProviderPocket * | PocketView | ) |
Definition at line 116 of file TaskPocketParameters.cpp.
References Gui::TaskView::TaskDialog::Content, and parameter.
TaskDlgPocketParameters::~TaskDlgPocketParameters | ( | ) |
Definition at line 125 of file TaskPocketParameters.cpp.
bool TaskDlgPocketParameters::accept | ( | void | ) | [virtual] |
is called by the framework if the dialog is accepted (Ok)
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 143 of file TaskPocketParameters.cpp.
References Gui::Command::commitCommand(), Gui::Command::Doc, Gui::Command::doCommand(), PartDesignGui::TaskPocketParameters::getLength(), App::DocumentObject::getNameInDocument(), Gui::ViewProviderDocumentObject::getObject(), Gui::Command::Gui, parameter, and PocketView.
void TaskDlgPocketParameters::clicked | ( | int | ) | [virtual] |
is called by the framework if an button is clicked which has no accept or reject role
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 138 of file TaskPocketParameters.cpp.
ViewProviderPocket* PartDesignGui::TaskDlgPocketParameters::getPocketView | ( | ) | const [inline] |
Definition at line 80 of file TaskPocketParameters.h.
Referenced by PartDesignGui::ViewProviderPocket::setEdit().
virtual QDialogButtonBox::StandardButtons PartDesignGui::TaskDlgPocketParameters::getStandardButtons | ( | void | ) | const [inline, virtual] |
returns for Close and Help button
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 98 of file TaskPocketParameters.h.
virtual bool PartDesignGui::TaskDlgPocketParameters::isAllowedAlterDocument | ( | void | ) | const [inline, virtual] |
is called by the framework if the user presses the help button
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 94 of file TaskPocketParameters.h.
void TaskDlgPocketParameters::open | ( | ) | [virtual] |
is called the TaskView when the dialog is opened
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 133 of file TaskPocketParameters.cpp.
bool TaskDlgPocketParameters::reject | ( | void | ) | [virtual] |
is called by the framework if the dialog is rejected (Cancel)
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 156 of file TaskPocketParameters.cpp.
References Gui::Command::abortCommand(), Gui::Command::doCommand(), Gui::ViewProviderDocumentObject::getObject(), App::PropertyLinkSub::getValue(), App::PropertyLink::getValue(), Gui::Application::getViewProvider(), Gui::Command::Gui, Gui::Application::Instance, PocketView, Gui::ViewProvider::show(), PartDesign::SketchBased::Sketch, and Part::Part2DObject::Support.
Definition at line 104 of file TaskPocketParameters.h.
Referenced by accept(), and TaskDlgPocketParameters().
Definition at line 102 of file TaskPocketParameters.h.