Fraxinus  16.5.0-fx-rc1
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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)
 
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 46 of file cxShowDataTreeNode.h.

Constructor & Destructor Documentation

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

Definition at line 56 of file cxShowDataTreeNode.cpp.

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

Definition at line 51 of file cxShowDataTreeNode.h.

Member Function Documentation

void cx::ShowDataTreeNodeBase::activate ( )
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 73 of file cxShowDataTreeNode.cpp.

QWidget * cx::ShowDataTreeNodeBase::createPropertiesWidget ( ) const
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 119 of file cxShowDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 83 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 89 of file cxShowDataTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 78 of file cxShowDataTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 68 of file cxShowDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 94 of file cxShowDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 61 of file cxShowDataTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 106 of file cxShowDataTreeNode.cpp.

Member Data Documentation

DataPtr cx::ShowDataTreeNodeBase::mData
protected

Definition at line 67 of file cxShowDataTreeNode.h.


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