PartDesignGui::ViewProviderPad Class Reference

#include <ViewProviderPad.h>

Inheritance diagram for PartDesignGui::ViewProviderPad:
PartDesignGui::ViewProvider PartGui::ViewProviderPart PartGui::ViewProviderPartExt Gui::ViewProviderGeometryObject Gui::ViewProviderDocumentObject Gui::ViewProvider App::PropertyContainer Base::Persistence Base::BaseClass

List of all members.

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
 ViewProviderPad ()
 constructor
virtual ~ViewProviderPad ()
 destructor

Static Public Member Functions

static void * create (void)
static Base::Type getClassTypeId (void)
static void init (void)

Protected Member Functions

virtual const App::PropertyDatagetPropertyData (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::PropertyDatagetPropertyDataPtr (void)

Detailed Description

Definition at line 31 of file ViewProviderPad.h.


Constructor & Destructor Documentation

ViewProviderPad::ViewProviderPad (  ) 

constructor

Definition at line 41 of file ViewProviderPad.cpp.

ViewProviderPad::~ViewProviderPad (  )  [virtual]

destructor

Definition at line 45 of file ViewProviderPad.cpp.


Member Function Documentation

std::vector< App::DocumentObject * > ViewProviderPad::claimChildren ( void   )  const [virtual]

grouping handling

Reimplemented from Gui::ViewProvider.

Definition at line 49 of file ViewProviderPad.cpp.

References Gui::ViewProviderDocumentObject::getObject().

void * PartDesignGui::ViewProviderPad::create ( void   )  [static]

Reimplemented from PartDesignGui::ViewProvider.

Definition at line 39 of file ViewProviderPad.cpp.

Base::Type PartDesignGui::ViewProviderPad::getClassTypeId ( void   )  [static]

Reimplemented from PartDesignGui::ViewProvider.

Definition at line 39 of file ViewProviderPad.cpp.

const App::PropertyData & PartDesignGui::ViewProviderPad::getPropertyData ( void   )  const [protected, virtual]

Reimplemented from PartDesignGui::ViewProvider.

Definition at line 39 of file ViewProviderPad.cpp.

const App::PropertyData * PartDesignGui::ViewProviderPad::getPropertyDataPtr ( void   )  [static, protected]

Reimplemented from PartDesignGui::ViewProvider.

Definition at line 39 of file ViewProviderPad.cpp.

Base::Type PartDesignGui::ViewProviderPad::getTypeId ( void   )  const [virtual]

Reimplemented from PartDesignGui::ViewProvider.

Definition at line 39 of file ViewProviderPad.cpp.

void PartDesignGui::ViewProviderPad::init ( void   )  [static]

Reimplemented from PartDesignGui::ViewProvider.

Definition at line 39 of file ViewProviderPad.cpp.

Referenced by initPartDesignGui().

bool ViewProviderPad::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 120 of file ViewProviderPad.cpp.

References Gui::ViewProviderDocumentObject::getObject(), App::PropertyLinkSub::getValue(), App::PropertyLink::getValue(), Gui::Application::Instance, PartDesign::SketchBased::Sketch, and Part::Part2DObject::Support.

bool ViewProviderPad::setEdit ( int  ModNum  )  [protected, virtual]

is called by the document when the provider goes in edit mode

Reimplemented from PartGui::ViewProviderPartExt.

Definition at line 65 of file ViewProviderPad.cpp.

References Gui::Control(), Gui::ViewProvider::Default, PartDesignGui::TaskDlgPadParameters::getPadView(), and Gui::Selection().

void ViewProviderPad::setupContextMenu ( QMenu *  ,
QObject *  ,
const char *   
) [virtual]

set up the context-menu with the supported edit modes

Reimplemented from PartGui::ViewProviderPartExt.

Definition at line 57 of file ViewProviderPad.cpp.

References Gui::ViewProvider::Default.

void ViewProviderPad::unsetEdit ( int  ModNum  )  [protected, virtual]

is called when you loose the edit mode

Reimplemented from PartGui::ViewProviderPartExt.

Definition at line 106 of file ViewProviderPad.cpp.

References Gui::Control(), and Gui::ViewProvider::Default.


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:39 2011 for FreeCAD by  doxygen 1.6.1