Fraxinus  2023.01.05-dev+develop.0da12
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 25 of file cxDataTreeNode.h.

Constructor & Destructor Documentation

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

Definition at line 37 of file cxDataTreeNode.cpp.

cx::DataTreeNode::~DataTreeNode ( )
virtual

Definition at line 45 of file cxDataTreeNode.cpp.

Member Function Documentation

void cx::DataTreeNode::activate ( )
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 96 of file cxDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 161 of file cxDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 109 of file cxDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 121 of file cxDataTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 101 of file cxDataTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 55 of file cxDataTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 83 of file cxDataTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 60 of file cxDataTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 50 of file cxDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 142 of file cxDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 132 of file cxDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 45 of file cxDataTreeNode.h.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 65 of file cxDataTreeNode.cpp.

void cx::DataTreeNode::remove ( )
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 137 of file cxDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 153 of file cxDataTreeNode.cpp.


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