CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::GroupTreeNode Class Reference

#include <cxGroupTreeNode.h>

Inheritance diagram for cx::GroupTreeNode:
cx::TreeNodeImpl cx::TreeNode cx::ViewServiceTreeNode

Public Member Functions

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

Constructor & Destructor Documentation

cx::GroupTreeNode::GroupTreeNode ( TreeRepositoryWeakPtr  repo,
QString  typeName 
)

Definition at line 21 of file cxGroupTreeNode.cpp.

virtual cx::GroupTreeNode::~GroupTreeNode ( )
inlinevirtual

Definition at line 29 of file cxGroupTreeNode.h.

Member Function Documentation

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

Implements cx::TreeNode.

Definition at line 57 of file cxGroupTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 33 of file cxGroupTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 50 of file cxGroupTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 38 of file cxGroupTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 28 of file cxGroupTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 43 of file cxGroupTreeNode.cpp.


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