NorMIT-nav  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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)
 
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 56 of file cxDataTreeNode.cpp.

cx::DataTreeNode::~DataTreeNode ( )
virtual

Definition at line 62 of file cxDataTreeNode.cpp.

Member Function Documentation

void cx::DataTreeNode::activate ( )
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 113 of file cxDataTreeNode.cpp.

QWidget * cx::DataTreeNode::createPropertiesWidget ( ) const
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 178 of file cxDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 126 of file cxDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 138 of file cxDataTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 118 of file cxDataTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 72 of file cxDataTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 100 of file cxDataTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 77 of file cxDataTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 67 of file cxDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 159 of file cxDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 149 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 82 of file cxDataTreeNode.cpp.

void cx::DataTreeNode::remove ( )
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 154 of file cxDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 170 of file cxDataTreeNode.cpp.


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