Gui::ViewProviderAnnotation Class Reference

#include <ViewProviderAnnotation.h>

Inheritance diagram for Gui::ViewProviderAnnotation:
Gui::ViewProviderDocumentObject Gui::ViewProvider App::PropertyContainer Base::Persistence Base::BaseClass

List of all members.

Public Member Functions

void attach (App::DocumentObject *)
std::vector< std::string > getDisplayModes (void) const
 Return a list of all possible modes.
virtual Base::Type getTypeId (void) const
void setDisplayMode (const char *ModeName)
 set the display mode
void updateData (const App::Property *)
 Gets called if some of the property hade bin changed.
 ViewProviderAnnotation (void)
 Constructor.
virtual ~ViewProviderAnnotation ()

Static Public Member Functions

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

Public Attributes

App::PropertyString FontName
App::PropertyFloat FontSize
App::PropertyEnumeration Justification
App::PropertyFloat LineSpacing
App::PropertyAngle Rotation
App::PropertyEnumeration RotationAxis
App::PropertyColor TextColor

Protected Member Functions

virtual const App::PropertyDatagetPropertyData (void) const
void onChanged (const App::Property *prop)
 Gets called by the container whenever a property has been changed.

Static Protected Member Functions

static const App::PropertyDatagetPropertyDataPtr (void)

Detailed Description

Definition at line 43 of file ViewProviderAnnotation.h.


Constructor & Destructor Documentation

ViewProviderAnnotation::ViewProviderAnnotation ( void   ) 

Constructor.

Definition at line 67 of file ViewProviderAnnotation.cpp.

References ADD_PROPERTY, and SketcherExample::f.

ViewProviderAnnotation::~ViewProviderAnnotation (  )  [virtual]

Definition at line 100 of file ViewProviderAnnotation.cpp.


Member Function Documentation

void ViewProviderAnnotation::attach ( App::DocumentObject f  )  [virtual]
void * Gui::ViewProviderAnnotation::create ( void   )  [static]

Reimplemented from Gui::ViewProviderDocumentObject.

Definition at line 64 of file ViewProviderAnnotation.cpp.

Base::Type Gui::ViewProviderAnnotation::getClassTypeId ( void   )  [static]

Reimplemented from Gui::ViewProviderDocumentObject.

Definition at line 64 of file ViewProviderAnnotation.cpp.

Referenced by updateData().

std::vector< std::string > ViewProviderAnnotation::getDisplayModes ( void   )  const [virtual]

Return a list of all possible modes.

Reimplemented from Gui::ViewProviderDocumentObject.

Definition at line 159 of file ViewProviderAnnotation.cpp.

const App::PropertyData & Gui::ViewProviderAnnotation::getPropertyData ( void   )  const [protected, virtual]

Reimplemented from Gui::ViewProviderDocumentObject.

Definition at line 64 of file ViewProviderAnnotation.cpp.

const App::PropertyData * Gui::ViewProviderAnnotation::getPropertyDataPtr ( void   )  [static, protected]

Reimplemented from Gui::ViewProviderDocumentObject.

Definition at line 64 of file ViewProviderAnnotation.cpp.

Base::Type Gui::ViewProviderAnnotation::getTypeId ( void   )  const [virtual]

Reimplemented from Gui::ViewProviderDocumentObject.

Definition at line 64 of file ViewProviderAnnotation.cpp.

void Gui::ViewProviderAnnotation::init ( void   )  [static]

Reimplemented from Gui::ViewProviderDocumentObject.

Definition at line 64 of file ViewProviderAnnotation.cpp.

Referenced by Gui::Application::initTypes().

void ViewProviderAnnotation::onChanged ( const App::Property prop  )  [protected, virtual]
void ViewProviderAnnotation::setDisplayMode ( const char *  ModeName  )  [virtual]

set the display mode

If you add new viewing modes in getDisplayModes() then you need to reimplement also seDisplaytMode() to handle these new modes by setting the appropriate display mode.

Reimplemented from Gui::ViewProvider.

Definition at line 168 of file ViewProviderAnnotation.cpp.

References Gui::ViewProvider::setDisplayMaskMode().

void ViewProviderAnnotation::updateData ( const App::Property  )  [virtual]

Member Data Documentation

Definition at line 56 of file ViewProviderAnnotation.h.

Referenced by onChanged().

Definition at line 55 of file ViewProviderAnnotation.h.

Referenced by onChanged().

Definition at line 54 of file ViewProviderAnnotation.h.

Referenced by onChanged().

Definition at line 57 of file ViewProviderAnnotation.h.

Referenced by onChanged().

Definition at line 58 of file ViewProviderAnnotation.h.

Referenced by onChanged().

Definition at line 59 of file ViewProviderAnnotation.h.

Referenced by onChanged().

Definition at line 53 of file ViewProviderAnnotation.h.

Referenced by onChanged().


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

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