CustusX  2023.01.05-dev+develop.0da12
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

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

Definition at line 27 of file cxViewGroupTreeNode.cpp.

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

Definition at line 29 of file cxViewGroupTreeNode.h.

Member Function Documentation

void cx::ViewGroupTreeNode::activate ( )
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 50 of file cxViewGroupTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 75 of file cxViewGroupTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 65 of file cxViewGroupTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 70 of file cxViewGroupTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 60 of file cxViewGroupTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 38 of file cxViewGroupTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 43 of file cxViewGroupTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 55 of file cxViewGroupTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 33 of file cxViewGroupTreeNode.cpp.

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: