simulation dialog for the TaskView More...
#include <TaskRevolutionParameters.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 | |
ViewProviderRevolution * | getRevolutionView () 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) | |
TaskDlgRevolutionParameters (ViewProviderRevolution *RevolutionView) | |
~TaskDlgRevolutionParameters () | |
Protected Attributes | |
TaskRevolutionParameters * | parameter |
ViewProviderRevolution * | RevolutionView |
simulation dialog for the TaskView
Definition at line 74 of file TaskRevolutionParameters.h.
TaskDlgRevolutionParameters::TaskDlgRevolutionParameters | ( | ViewProviderRevolution * | RevolutionView | ) |
Definition at line 131 of file TaskRevolutionParameters.cpp.
References Gui::TaskView::TaskDialog::Content, and parameter.
TaskDlgRevolutionParameters::~TaskDlgRevolutionParameters | ( | ) |
Definition at line 140 of file TaskRevolutionParameters.cpp.
bool TaskDlgRevolutionParameters::accept | ( | void | ) | [virtual] |
is called by the framework if the dialog is accepted (Ok)
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 158 of file TaskRevolutionParameters.cpp.
References Gui::Command::commitCommand(), Gui::Command::Doc, Gui::Command::doCommand(), PartDesignGui::TaskRevolutionParameters::getAngle(), PartDesignGui::TaskRevolutionParameters::getAxis(), App::DocumentObject::getNameInDocument(), Gui::ViewProviderDocumentObject::getObject(), Gui::Command::Gui, parameter, and RevolutionView.
void TaskDlgRevolutionParameters::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 153 of file TaskRevolutionParameters.cpp.
ViewProviderRevolution* PartDesignGui::TaskDlgRevolutionParameters::getRevolutionView | ( | ) | const [inline] |
Definition at line 82 of file TaskRevolutionParameters.h.
Referenced by PartDesignGui::ViewProviderRevolution::setEdit().
virtual QDialogButtonBox::StandardButtons PartDesignGui::TaskDlgRevolutionParameters::getStandardButtons | ( | void | ) | const [inline, virtual] |
returns for Close and Help button
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 100 of file TaskRevolutionParameters.h.
virtual bool PartDesignGui::TaskDlgRevolutionParameters::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 96 of file TaskRevolutionParameters.h.
void TaskDlgRevolutionParameters::open | ( | ) | [virtual] |
is called the TaskView when the dialog is opened
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 148 of file TaskRevolutionParameters.cpp.
bool TaskDlgRevolutionParameters::reject | ( | void | ) | [virtual] |
is called by the framework if the dialog is rejected (Cancel)
Reimplemented from Gui::TaskView::TaskDialog.
Definition at line 173 of file TaskRevolutionParameters.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, RevolutionView, Gui::ViewProvider::show(), PartDesign::SketchBased::Sketch, and Part::Part2DObject::Support.
Definition at line 106 of file TaskRevolutionParameters.h.
Referenced by accept(), and TaskDlgRevolutionParameters().
Definition at line 104 of file TaskRevolutionParameters.h.