CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::ShowDataTreeNodeBase Class Referenceabstract

#include <cxShowDataTreeNode.h>

Inheritance diagram for cx::ShowDataTreeNodeBase:
cx::TreeNodeImpl cx::TreeNode cx::ShowSlice2DDataTreeNode cx::ShowSlice3DDataTreeNode cx::ShowVolumeDataTreeNode

Public Member Functions

 ShowDataTreeNodeBase (TreeRepositoryWeakPtr repo, DataPtr data)
 
virtual ~ShowDataTreeNodeBase ()
 
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)
 
virtual boost::shared_ptr< QWidget > createPropertiesWidget () const
 
virtual QVariant getColor () const
 
virtual QVariant getFont () const
 
- Public Member Functions inherited from cx::TreeNodeImpl
 TreeNodeImpl (TreeRepositoryWeakPtr repo)
 
virtual ~TreeNodeImpl ()
 
virtual std::vector< TreeNodePtrgetChildren () const
 
virtual bool useColoredName () 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 ()
 
virtual QString getUid () const =0
 
virtual QString getName () const =0
 
virtual QString getType () const =0
 

Protected Member Functions

virtual DataViewProperties getDefiningDataViewProperties () const =0
 
- 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

DataPtr mData
 
- Protected Attributes inherited from cx::TreeNodeImpl
TreeRepositoryWeakPtr mRepository
 

Additional Inherited Members

- Signals inherited from cx::TreeNode
void parentChanged (TreeNodePtr prev, TreeNodePtr next)
 
void changed ()
 

Detailed Description

Definition at line 25 of file cxShowDataTreeNode.h.

Constructor & Destructor Documentation

cx::ShowDataTreeNodeBase::ShowDataTreeNodeBase ( TreeRepositoryWeakPtr  repo,
DataPtr  data 
)

Definition at line 35 of file cxShowDataTreeNode.cpp.

virtual cx::ShowDataTreeNodeBase::~ShowDataTreeNodeBase ( )
inlinevirtual

Definition at line 30 of file cxShowDataTreeNode.h.

Member Function Documentation

void cx::ShowDataTreeNodeBase::activate ( )
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 52 of file cxShowDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 98 of file cxShowDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 62 of file cxShowDataTreeNode.cpp.

virtual DataViewProperties cx::ShowDataTreeNodeBase::getDefiningDataViewProperties ( ) const
protectedpure virtual
QVariant cx::ShowDataTreeNodeBase::getFont ( ) const
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 68 of file cxShowDataTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 57 of file cxShowDataTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 47 of file cxShowDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 73 of file cxShowDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 40 of file cxShowDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 85 of file cxShowDataTreeNode.cpp.

Member Data Documentation

DataPtr cx::ShowDataTreeNodeBase::mData
protected

Definition at line 46 of file cxShowDataTreeNode.h.


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