NorMIT-nav  22.09
An IGT application
cx::ViewGroupTreeNode Class Reference

#include <cxViewGroupTreeNode.h>

Inheritance diagram for cx::ViewGroupTreeNode:
cx::TreeNodeImpl cx::TreeNode

Public Member Functions

 ViewGroupTreeNode (TreeRepositoryWeakPtr repo, int groupIndex)
 
virtual ~ViewGroupTreeNode ()
 
virtual QString getUid () const
 
virtual QString getName () const
 
virtual QString getType () const
 
virtual TreeNodePtr getParent () const
 
virtual void activate ()
 
virtual QIcon getIcon () const
 
virtual boost::shared_ptr< QWidget > createPropertiesWidget () const
 
virtual QVariant getColor () const
 
virtual bool useColoredName () const
 
virtual QVariant getFont () const
 
- Public Member Functions inherited from cx::TreeNodeImpl
 TreeNodeImpl (TreeRepositoryWeakPtr repo)
 
virtual ~TreeNodeImpl ()
 
virtual std::vector< TreeNodePtrgetChildren () const
 
virtual bool isVisibleNode () const
 
virtual QVariant getViewGroupVisibility (int index) const
 
virtual void setViewGroupVisibility (int index, bool value)
 
virtual bool isDefaultExpanded () const
 
virtual bool isRemovable () const
 
virtual void remove ()
 
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 24 of file cxViewGroupTreeNode.h.

Constructor & Destructor Documentation

◆ ViewGroupTreeNode()

cx::ViewGroupTreeNode::ViewGroupTreeNode ( TreeRepositoryWeakPtr  repo,
int  groupIndex 
)

Definition at line 27 of file cxViewGroupTreeNode.cpp.

◆ ~ViewGroupTreeNode()

virtual cx::ViewGroupTreeNode::~ViewGroupTreeNode ( )
inlinevirtual

Definition at line 29 of file cxViewGroupTreeNode.h.

Member Function Documentation

◆ activate()

void cx::ViewGroupTreeNode::activate ( )
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 50 of file cxViewGroupTreeNode.cpp.

◆ createPropertiesWidget()

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 75 of file cxViewGroupTreeNode.cpp.

◆ getColor()

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 65 of file cxViewGroupTreeNode.cpp.

◆ getFont()

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 70 of file cxViewGroupTreeNode.cpp.

◆ getIcon()

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

Implements cx::TreeNode.

Definition at line 60 of file cxViewGroupTreeNode.cpp.

◆ getName()

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

Implements cx::TreeNode.

Definition at line 38 of file cxViewGroupTreeNode.cpp.

◆ getParent()

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

Implements cx::TreeNode.

Definition at line 43 of file cxViewGroupTreeNode.cpp.

◆ getType()

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

Implements cx::TreeNode.

Definition at line 55 of file cxViewGroupTreeNode.cpp.

◆ getUid()

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

Implements cx::TreeNode.

Definition at line 33 of file cxViewGroupTreeNode.cpp.

◆ useColoredName()

virtual bool cx::ViewGroupTreeNode::useColoredName ( ) const
inlinevirtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 38 of file cxViewGroupTreeNode.h.


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