simulation dialog for the TaskView More...
#include <TaskPadParameters.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 | |
ViewProviderPad * | getPadView () 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) | |
TaskDlgPadParameters (ViewProviderPad *PadView) | |
~TaskDlgPadParameters () | |
Protected Attributes | |
ViewProviderPad * | PadView |
TaskPadParameters * | parameter |
simulation dialog for the TaskView
Definition at line 76 of file TaskPadParameters.h.
TaskDlgPadParameters::TaskDlgPadParameters | ( | ViewProviderPad * | PadView | ) |
Definition at line 148 of file TaskPadParameters.cpp.
References Gui::TaskView::TaskDialog::Content, and parameter.
TaskDlgPadParameters::~TaskDlgPadParameters | ( | ) |
Definition at line 157 of file TaskPadParameters.cpp.
bool TaskDlgPadParameters::accept | ( | void | ) | [virtual] |
is called by the framework if the dialog is accepted (Ok)
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 175 of file TaskPadParameters.cpp.
References Gui::Command::commitCommand(), Gui::Command::Doc, Gui::Command::doCommand(), PartDesignGui::TaskPadParameters::getLength(), PartDesignGui::TaskPadParameters::getMirroredExtent(), App::DocumentObject::getNameInDocument(), Gui::ViewProviderDocumentObject::getObject(), PartDesignGui::TaskPadParameters::getReversed(), Gui::Command::Gui, PadView, parameter, and Base::Exception::what().
void TaskDlgPadParameters::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 170 of file TaskPadParameters.cpp.
ViewProviderPad* PartDesignGui::TaskDlgPadParameters::getPadView | ( | ) | const [inline] |
Definition at line 84 of file TaskPadParameters.h.
Referenced by PartDesignGui::ViewProviderPad::setEdit().
virtual QDialogButtonBox::StandardButtons PartDesignGui::TaskDlgPadParameters::getStandardButtons | ( | void | ) | const [inline, virtual] |
returns for Close and Help button
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 102 of file TaskPadParameters.h.
virtual bool PartDesignGui::TaskDlgPadParameters::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 98 of file TaskPadParameters.h.
void TaskDlgPadParameters::open | ( | ) | [virtual] |
is called the TaskView when the dialog is opened
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 165 of file TaskPadParameters.cpp.
bool TaskDlgPadParameters::reject | ( | void | ) | [virtual] |
is called by the framework if the dialog is rejected (Cancel)
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 196 of file TaskPadParameters.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, PadView, Gui::ViewProvider::show(), PartDesign::SketchBased::Sketch, and Part::Part2DObject::Support.
Definition at line 106 of file TaskPadParameters.h.
Definition at line 108 of file TaskPadParameters.h.
Referenced by accept(), and TaskDlgPadParameters().