#include <ViewProviderRevolution.h>
Public Member Functions | |
std::vector < App::DocumentObject * > | claimChildren (void) const |
grouping handling | |
virtual Base::Type | getTypeId (void) const |
virtual bool | onDelete (const std::vector< std::string > &) |
get called if the object is about to get deleted. Here you can delete other objects to or switch visibility of others. | |
void | setupContextMenu (QMenu *, QObject *, const char *) |
set up the context-menu with the supported edit modes | |
ViewProviderRevolution () | |
constructor | |
virtual | ~ViewProviderRevolution () |
destructor | |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
virtual bool | setEdit (int ModNum) |
is called by the document when the provider goes in edit mode | |
virtual void | unsetEdit (int ModNum) |
is called when you loose the edit mode | |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 32 of file ViewProviderRevolution.h.
ViewProviderRevolution::ViewProviderRevolution | ( | ) |
constructor
Definition at line 42 of file ViewProviderRevolution.cpp.
ViewProviderRevolution::~ViewProviderRevolution | ( | ) | [virtual] |
destructor
Definition at line 46 of file ViewProviderRevolution.cpp.
std::vector< App::DocumentObject * > ViewProviderRevolution::claimChildren | ( | void | ) | const [virtual] |
grouping handling
Reimplemented from Gui::ViewProvider.
Definition at line 50 of file ViewProviderRevolution.cpp.
References Gui::ViewProviderDocumentObject::getObject().
void * PartDesignGui::ViewProviderRevolution::create | ( | void | ) | [static] |
Reimplemented from PartDesignGui::ViewProvider.
Definition at line 40 of file ViewProviderRevolution.cpp.
Base::Type PartDesignGui::ViewProviderRevolution::getClassTypeId | ( | void | ) | [static] |
Reimplemented from PartDesignGui::ViewProvider.
Definition at line 40 of file ViewProviderRevolution.cpp.
const App::PropertyData & PartDesignGui::ViewProviderRevolution::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from PartDesignGui::ViewProvider.
Definition at line 40 of file ViewProviderRevolution.cpp.
const App::PropertyData * PartDesignGui::ViewProviderRevolution::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from PartDesignGui::ViewProvider.
Definition at line 40 of file ViewProviderRevolution.cpp.
Base::Type PartDesignGui::ViewProviderRevolution::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from PartDesignGui::ViewProvider.
Definition at line 40 of file ViewProviderRevolution.cpp.
void PartDesignGui::ViewProviderRevolution::init | ( | void | ) | [static] |
Reimplemented from PartDesignGui::ViewProvider.
Definition at line 40 of file ViewProviderRevolution.cpp.
Referenced by initPartDesignGui().
bool ViewProviderRevolution::onDelete | ( | const std::vector< std::string > & | ) | [virtual] |
get called if the object is about to get deleted. Here you can delete other objects to or switch visibility of others.
Reimplemented from Gui::ViewProvider.
Definition at line 121 of file ViewProviderRevolution.cpp.
References Gui::ViewProviderDocumentObject::getObject(), App::PropertyLinkSub::getValue(), App::PropertyLink::getValue(), Gui::Application::Instance, PartDesign::SketchBased::Sketch, and Part::Part2DObject::Support.
bool ViewProviderRevolution::setEdit | ( | int | ModNum | ) | [protected, virtual] |
is called by the document when the provider goes in edit mode
Reimplemented from PartGui::ViewProviderPartExt.
Definition at line 66 of file ViewProviderRevolution.cpp.
References Gui::Control(), Gui::ViewProvider::Default, PartDesignGui::TaskDlgRevolutionParameters::getRevolutionView(), and Gui::Selection().
void ViewProviderRevolution::setupContextMenu | ( | QMenu * | , | |
QObject * | , | |||
const char * | ||||
) | [virtual] |
set up the context-menu with the supported edit modes
Reimplemented from PartGui::ViewProviderPartExt.
Definition at line 58 of file ViewProviderRevolution.cpp.
References Gui::ViewProvider::Default.
void ViewProviderRevolution::unsetEdit | ( | int | ModNum | ) | [protected, virtual] |
is called when you loose the edit mode
Reimplemented from PartGui::ViewProviderPartExt.
Definition at line 107 of file ViewProviderRevolution.cpp.
References Gui::Control(), and Gui::ViewProvider::Default.