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

#include <cxToolTreeNode.h>

Inheritance diagram for cx::ToolTreeNode:
cx::TreeNodeImpl cx::TreeNode

Public Member Functions

 ToolTreeNode (TreeRepositoryWeakPtr repo, ToolPtr tool)
 
virtual ~ToolTreeNode ()
 
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 cxToolTreeNode.h.

Constructor & Destructor Documentation

cx::ToolTreeNode::ToolTreeNode ( TreeRepositoryWeakPtr  repo,
ToolPtr  tool 
)

Definition at line 26 of file cxToolTreeNode.cpp.

cx::ToolTreeNode::~ToolTreeNode ( )
virtual

Definition at line 33 of file cxToolTreeNode.cpp.

Member Function Documentation

void cx::ToolTreeNode::activate ( )
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 65 of file cxToolTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 109 of file cxToolTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 88 of file cxToolTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 98 of file cxToolTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 75 of file cxToolTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 42 of file cxToolTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 47 of file cxToolTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 70 of file cxToolTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 37 of file cxToolTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 38 of file cxToolTreeNode.h.


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