Fraxinus  17.12-rc4
An IGT application
cx::DataTreeNode Class Reference

#include <cxDataTreeNode.h>

Inheritance diagram for cx::DataTreeNode:
cx::TreeNodeImpl cx::TreeNode

Public Member Functions

 DataTreeNode (TreeRepositoryWeakPtr repo, DataPtr data)
 
virtual ~DataTreeNode ()
 
virtual QString getUid () const
 
virtual QString getName () const
 
virtual QString getType () const
 
virtual TreeNodePtr getParent () const
 
virtual bool isVisibleNode () const
 
virtual void activate ()
 
virtual QIcon getIcon () const
 
virtual QVariant getViewGroupVisibility (int index) const
 
virtual void setViewGroupVisibility (int index, bool value)
 
virtual boost::shared_ptr< QWidget > createPropertiesWidget () const
 
virtual QVariant getColor () const
 
virtual QVariant getFont () const
 
virtual bool isDefaultExpanded () const
 
virtual bool isRemovable () const
 
virtual void remove ()
 
- Public Member Functions inherited from cx::TreeNodeImpl
 TreeNodeImpl (TreeRepositoryWeakPtr repo)
 
virtual ~TreeNodeImpl ()
 
virtual std::vector< TreeNodePtrgetChildren () const
 
virtual bool useColoredName () const
 
virtual std::vector< TreeNodePtrgetVisibleChildren () const
 
virtual TreeNodePtr getVisibleParent () const
 
- Public Member Functions inherited from cx::TreeNode
virtual ~TreeNode ()
 

Additional Inherited Members

- Signals inherited from cx::TreeNode
void parentChanged (TreeNodePtr prev, TreeNodePtr next)
 
void changed ()
 
- Protected Member Functions inherited from cx::TreeNodeImpl
VisServicesPtr getServices () const
 
TreeRepositoryPtr repo ()
 
const TreeRepositoryPtr repo () const
 
QIcon addBackgroundColorToIcon (QIcon input, QColor color) const
 
- Protected Attributes inherited from cx::TreeNodeImpl
TreeRepositoryWeakPtr mRepository
 

Detailed Description

Definition at line 46 of file cxDataTreeNode.h.

Constructor & Destructor Documentation

cx::DataTreeNode::DataTreeNode ( TreeRepositoryWeakPtr  repo,
DataPtr  data 
)

Definition at line 58 of file cxDataTreeNode.cpp.

cx::DataTreeNode::~DataTreeNode ( )
virtual

Definition at line 66 of file cxDataTreeNode.cpp.

Member Function Documentation

void cx::DataTreeNode::activate ( )
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 117 of file cxDataTreeNode.cpp.

boost::shared_ptr< QWidget > cx::DataTreeNode::createPropertiesWidget ( ) const
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 182 of file cxDataTreeNode.cpp.

QVariant cx::DataTreeNode::getColor ( ) const
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 130 of file cxDataTreeNode.cpp.

QVariant cx::DataTreeNode::getFont ( ) const
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 142 of file cxDataTreeNode.cpp.

QIcon cx::DataTreeNode::getIcon ( ) const
virtual

Implements cx::TreeNode.

Definition at line 122 of file cxDataTreeNode.cpp.

QString cx::DataTreeNode::getName ( ) const
virtual

Implements cx::TreeNode.

Definition at line 76 of file cxDataTreeNode.cpp.

TreeNodePtr cx::DataTreeNode::getParent ( ) const
virtual

Implements cx::TreeNode.

Definition at line 104 of file cxDataTreeNode.cpp.

QString cx::DataTreeNode::getType ( ) const
virtual

Implements cx::TreeNode.

Definition at line 81 of file cxDataTreeNode.cpp.

QString cx::DataTreeNode::getUid ( ) const
virtual

Implements cx::TreeNode.

Definition at line 71 of file cxDataTreeNode.cpp.

QVariant cx::DataTreeNode::getViewGroupVisibility ( int  index) const
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 163 of file cxDataTreeNode.cpp.

bool cx::DataTreeNode::isDefaultExpanded ( ) const
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 153 of file cxDataTreeNode.cpp.

virtual bool cx::DataTreeNode::isRemovable ( ) const
inlinevirtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 66 of file cxDataTreeNode.h.

bool cx::DataTreeNode::isVisibleNode ( ) const
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 86 of file cxDataTreeNode.cpp.

void cx::DataTreeNode::remove ( )
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 158 of file cxDataTreeNode.cpp.

void cx::DataTreeNode::setViewGroupVisibility ( int  index,
bool  value 
)
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 174 of file cxDataTreeNode.cpp.


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