Gui::DocumentObjectItem Class Reference

The link between the tree and a document object. More...

#include <Tree.h>

List of all members.

Public Member Functions

void displayStatusInfo ()
 DocumentObjectItem (Gui::ViewProviderDocumentObject *pcViewProvider, QTreeWidgetItem *parent)
Gui::ViewProviderDocumentObjectobject () const
void setData (int column, int role, const QVariant &value)
void testStatus ()
 ~DocumentObjectItem ()

Protected Member Functions

void slotChangeIcon ()
void slotChangeStatusTip (const QString &)
void slotChangeToolTip (const QString &)

Friends

class TreeWidget

Detailed Description

The link between the tree and a document object.

Every object in the document gets its associated DocumentObjectItem which controls the visibility and the functions of the object.

Author:
Werner Mayer

Definition at line 150 of file Tree.h.


Constructor & Destructor Documentation

DocumentObjectItem::DocumentObjectItem ( Gui::ViewProviderDocumentObject pcViewProvider,
QTreeWidgetItem *  parent 
)
DocumentObjectItem::~DocumentObjectItem (  ) 

Definition at line 1053 of file Gui/Tree.cpp.


Member Function Documentation

void DocumentObjectItem::displayStatusInfo (  ) 
Gui::ViewProviderDocumentObject * DocumentObjectItem::object (  )  const
void DocumentObjectItem::setData ( int  column,
int  role,
const QVariant &  value 
)

Definition at line 1174 of file Gui/Tree.cpp.

References Gui::ViewProviderDocumentObject::getObject(), and App::DocumentObject::Label.

Referenced by testStatus().

void DocumentObjectItem::slotChangeIcon (  )  [protected]

Definition at line 1183 of file Gui/Tree.cpp.

References testStatus().

Referenced by DocumentObjectItem().

void DocumentObjectItem::slotChangeStatusTip ( const QString &  tip  )  [protected]

Definition at line 1194 of file Gui/Tree.cpp.

Referenced by DocumentObjectItem().

void DocumentObjectItem::slotChangeToolTip ( const QString &  tip  )  [protected]

Definition at line 1189 of file Gui/Tree.cpp.

Referenced by DocumentObjectItem().

void DocumentObjectItem::testStatus ( void   ) 

Friends And Related Function Documentation

friend class TreeWidget [friend]

Definition at line 174 of file Tree.h.


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

Generated on Wed Nov 23 19:01:59 2011 for FreeCAD by  doxygen 1.6.1