#include <ViewProviderPocket.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 | |
| ViewProviderPocket () | |
| constructor | |
| virtual | ~ViewProviderPocket () |
| 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 ViewProviderPocket.h.
| ViewProviderPocket::ViewProviderPocket | ( | ) |
constructor
Definition at line 42 of file ViewProviderPocket.cpp.
| ViewProviderPocket::~ViewProviderPocket | ( | ) | [virtual] |
destructor
Definition at line 46 of file ViewProviderPocket.cpp.
| std::vector< App::DocumentObject * > ViewProviderPocket::claimChildren | ( | void | ) | const [virtual] |
grouping handling
Reimplemented from Gui::ViewProvider.
Definition at line 50 of file ViewProviderPocket.cpp.
References Gui::ViewProviderDocumentObject::getObject().
| void * PartDesignGui::ViewProviderPocket::create | ( | void | ) | [static] |
Reimplemented from PartDesignGui::ViewProvider.
Definition at line 40 of file ViewProviderPocket.cpp.
| Base::Type PartDesignGui::ViewProviderPocket::getClassTypeId | ( | void | ) | [static] |
Reimplemented from PartDesignGui::ViewProvider.
Definition at line 40 of file ViewProviderPocket.cpp.
| const App::PropertyData & PartDesignGui::ViewProviderPocket::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from PartDesignGui::ViewProvider.
Definition at line 40 of file ViewProviderPocket.cpp.
| const App::PropertyData * PartDesignGui::ViewProviderPocket::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from PartDesignGui::ViewProvider.
Definition at line 40 of file ViewProviderPocket.cpp.
| Base::Type PartDesignGui::ViewProviderPocket::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from PartDesignGui::ViewProvider.
Definition at line 40 of file ViewProviderPocket.cpp.
| void PartDesignGui::ViewProviderPocket::init | ( | void | ) | [static] |
Reimplemented from PartDesignGui::ViewProvider.
Definition at line 40 of file ViewProviderPocket.cpp.
Referenced by initPartDesignGui().
| bool ViewProviderPocket::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 ViewProviderPocket.cpp.
References Gui::ViewProviderDocumentObject::getObject(), App::PropertyLinkSub::getValue(), App::PropertyLink::getValue(), Gui::Application::Instance, PartDesign::SketchBased::Sketch, and Part::Part2DObject::Support.
| bool ViewProviderPocket::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 ViewProviderPocket.cpp.
References Gui::Control(), Gui::ViewProvider::Default, PartDesignGui::TaskDlgPocketParameters::getPocketView(), and Gui::Selection().
| void ViewProviderPocket::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 ViewProviderPocket.cpp.
References Gui::ViewProvider::Default.
| void ViewProviderPocket::unsetEdit | ( | int | ModNum | ) | [protected, virtual] |
is called when you loose the edit mode
Reimplemented from PartGui::ViewProviderPartExt.
Definition at line 107 of file ViewProviderPocket.cpp.
References Gui::Control(), and Gui::ViewProvider::Default.
1.6.1