TreeItem Class Reference

#include <ArmarXGui/gui-plugins/ScenarioManager/gui/treeitem.h>

+ Inheritance diagram for TreeItem:

Public Member Functions

void appendChild (TreeItem *child)
 
TreeItemchild (int row)
 
int childCount () const
 
int columnCount () const
 
virtual QVariant data (int column) const
 
bool insertChild (int position, TreeItem *child)
 
bool insertColumn (int position, QVariant data)
 
bool isEnabled ()
 
TreeItemparent ()
 
bool removeChild (int position)
 
bool removeColumn (int position)
 
int row () const
 
bool setData (int column, const QVariant &value)
 
void setEnabled (bool enabled)
 
 TreeItem ()
 
virtual ~TreeItem ()
 

Protected Attributes

bool enabled
 
QVector< QVariant > m_itemData
 

Detailed Description

Definition at line 46 of file treeitem.h.

Constructor & Destructor Documentation

◆ TreeItem()

TreeItem ( )
explicit

Definition at line 34 of file treeitem.cpp.

◆ ~TreeItem()

~TreeItem ( )
virtual

Definition at line 38 of file treeitem.cpp.

Member Function Documentation

◆ appendChild()

void appendChild ( TreeItem child)

Definition at line 43 of file treeitem.cpp.

+ Here is the caller graph for this function:

◆ child()

TreeItem * child ( int  row)

Definition at line 49 of file treeitem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ childCount()

int childCount ( ) const

Definition at line 54 of file treeitem.cpp.

+ Here is the caller graph for this function:

◆ columnCount()

int columnCount ( ) const

Definition at line 59 of file treeitem.cpp.

+ Here is the caller graph for this function:

◆ data()

QVariant data ( int  column) const
virtual

Definition at line 64 of file treeitem.cpp.

+ Here is the caller graph for this function:

◆ insertChild()

bool insertChild ( int  position,
TreeItem child 
)

Definition at line 105 of file treeitem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ insertColumn()

bool insertColumn ( int  position,
QVariant  data 
)

Definition at line 130 of file treeitem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isEnabled()

bool isEnabled ( )

Definition at line 89 of file treeitem.cpp.

+ Here is the caller graph for this function:

◆ parent()

TreeItem * parent ( )

Definition at line 69 of file treeitem.cpp.

+ Here is the caller graph for this function:

◆ removeChild()

bool removeChild ( int  position)

Definition at line 118 of file treeitem.cpp.

+ Here is the caller graph for this function:

◆ removeColumn()

bool removeColumn ( int  position)

Definition at line 147 of file treeitem.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ row()

int row ( ) const

Definition at line 74 of file treeitem.cpp.

+ Here is the caller graph for this function:

◆ setData()

bool setData ( int  column,
const QVariant &  value 
)

Definition at line 94 of file treeitem.cpp.

+ Here is the call graph for this function:

◆ setEnabled()

void setEnabled ( bool  enabled)

Definition at line 84 of file treeitem.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ enabled

bool enabled
protected

Definition at line 75 of file treeitem.h.

◆ m_itemData

QVector<QVariant> m_itemData
protected

Definition at line 74 of file treeitem.h.


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