Fraxinus  16.5.0-fx-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::TreeNodeImpl Class Reference

#include <cxTreeNodeImpl.h>

Inheritance diagram for cx::TreeNodeImpl:
cx::TreeNode cx::DataTreeNode cx::GroupTreeNode cx::ShowDataTreeNodeBase cx::SpaceTreeNode cx::ToolTreeNode cx::TopTreeNode cx::ViewGroupTreeNode cx::ViewServiceTreeNode cx::ShowSlice2DDataTreeNode cx::ShowSlice3DDataTreeNode cx::ShowVolumeDataTreeNode

Public Member Functions

 TreeNodeImpl (TreeRepositoryWeakPtr repo)
 
virtual ~TreeNodeImpl ()
 
virtual std::vector< TreeNodePtrgetChildren () const
 
virtual bool isVisibleNode () 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 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 ()
 
virtual QString getUid () const =0
 
virtual QString getName () const =0
 
virtual QString getType () const =0
 
virtual TreeNodePtr getParent () const =0
 
virtual QIcon getIcon () const =0
 

Protected Member Functions

VisServicesPtr getServices () const
 
TreeRepositoryPtr repo ()
 
const TreeRepositoryPtr repo () const
 
QIcon addBackgroundColorToIcon (QIcon input, QColor color) const
 

Protected Attributes

TreeRepositoryWeakPtr mRepository
 

Additional Inherited Members

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

Detailed Description

Definition at line 47 of file cxTreeNodeImpl.h.

Constructor & Destructor Documentation

cx::TreeNodeImpl::TreeNodeImpl ( TreeRepositoryWeakPtr  repo)

Definition at line 43 of file cxTreeNodeImpl.cpp.

virtual cx::TreeNodeImpl::~TreeNodeImpl ( )
inlinevirtual

Definition at line 52 of file cxTreeNodeImpl.h.

Member Function Documentation

virtual void cx::TreeNodeImpl::activate ( )
inlinevirtual

Implements cx::TreeNode.

Reimplemented in cx::DataTreeNode, cx::ShowDataTreeNodeBase, cx::ToolTreeNode, and cx::ViewGroupTreeNode.

Definition at line 56 of file cxTreeNodeImpl.h.

QIcon cx::TreeNodeImpl::addBackgroundColorToIcon ( QIcon  input,
QColor  color 
) const
protected

Definition at line 133 of file cxTreeNodeImpl.cpp.

virtual QWidget* cx::TreeNodeImpl::createPropertiesWidget ( ) const
inlinevirtual

Implements cx::TreeNode.

Reimplemented in cx::DataTreeNode, cx::ShowDataTreeNodeBase, cx::ToolTreeNode, and cx::ViewGroupTreeNode.

Definition at line 62 of file cxTreeNodeImpl.h.

std::vector< TreeNodePtr > cx::TreeNodeImpl::getChildren ( ) const
virtual

Implements cx::TreeNode.

Definition at line 49 of file cxTreeNodeImpl.cpp.

virtual QVariant cx::TreeNodeImpl::getColor ( ) const
inlinevirtual

Implements cx::TreeNode.

Reimplemented in cx::DataTreeNode, cx::ShowDataTreeNodeBase, cx::ToolTreeNode, and cx::ViewGroupTreeNode.

Definition at line 59 of file cxTreeNodeImpl.h.

virtual QVariant cx::TreeNodeImpl::getFont ( ) const
inlinevirtual

Implements cx::TreeNode.

Reimplemented in cx::DataTreeNode, cx::ShowDataTreeNodeBase, cx::ToolTreeNode, and cx::ViewGroupTreeNode.

Definition at line 61 of file cxTreeNodeImpl.h.

VisServicesPtr cx::TreeNodeImpl::getServices ( ) const
protected

Definition at line 118 of file cxTreeNodeImpl.cpp.

virtual QVariant cx::TreeNodeImpl::getViewGroupVisibility ( int  index) const
inlinevirtual

Implements cx::TreeNode.

Reimplemented in cx::DataTreeNode, and cx::ShowDataTreeNodeBase.

Definition at line 57 of file cxTreeNodeImpl.h.

std::vector< TreeNodePtr > cx::TreeNodeImpl::getVisibleChildren ( ) const
virtual

Implements cx::TreeNode.

Definition at line 81 of file cxTreeNodeImpl.cpp.

TreeNodePtr cx::TreeNodeImpl::getVisibleParent ( ) const
virtual

Implements cx::TreeNode.

Definition at line 95 of file cxTreeNodeImpl.cpp.

virtual bool cx::TreeNodeImpl::isDefaultExpanded ( ) const
inlinevirtual

Implements cx::TreeNode.

Reimplemented in cx::DataTreeNode.

Definition at line 63 of file cxTreeNodeImpl.h.

virtual bool cx::TreeNodeImpl::isRemovable ( ) const
inlinevirtual

Implements cx::TreeNode.

Reimplemented in cx::DataTreeNode.

Definition at line 65 of file cxTreeNodeImpl.h.

bool cx::TreeNodeImpl::isVisibleNode ( ) const
virtual
virtual void cx::TreeNodeImpl::remove ( )
inlinevirtual

Implements cx::TreeNode.

Reimplemented in cx::DataTreeNode.

Definition at line 66 of file cxTreeNodeImpl.h.

TreeRepositoryPtr cx::TreeNodeImpl::repo ( )
protected

Definition at line 123 of file cxTreeNodeImpl.cpp.

const TreeRepositoryPtr cx::TreeNodeImpl::repo ( ) const
protected

Definition at line 128 of file cxTreeNodeImpl.cpp.

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

Implements cx::TreeNode.

Reimplemented in cx::DataTreeNode, and cx::ShowDataTreeNodeBase.

Definition at line 58 of file cxTreeNodeImpl.h.

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

Implements cx::TreeNode.

Reimplemented in cx::ToolTreeNode, and cx::ViewGroupTreeNode.

Definition at line 60 of file cxTreeNodeImpl.h.

Member Data Documentation

TreeRepositoryWeakPtr cx::TreeNodeImpl::mRepository
protected

Definition at line 72 of file cxTreeNodeImpl.h.


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