NorMIT-nav  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
 
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 45 of file cxToolTreeNode.h.

Constructor & Destructor Documentation

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

Definition at line 47 of file cxToolTreeNode.cpp.

virtual cx::ToolTreeNode::~ToolTreeNode ( )
inlinevirtual

Definition at line 50 of file cxToolTreeNode.h.

Member Function Documentation

void cx::ToolTreeNode::activate ( )
virtual

Reimplemented from cx::TreeNodeImpl.

Definition at line 81 of file cxToolTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 127 of file cxToolTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 104 of file cxToolTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 116 of file cxToolTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 91 of file cxToolTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 58 of file cxToolTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 63 of file cxToolTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 86 of file cxToolTreeNode.cpp.

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

Implements cx::TreeNode.

Definition at line 53 of file cxToolTreeNode.cpp.

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

Reimplemented from cx::TreeNodeImpl.

Definition at line 59 of file cxToolTreeNode.h.


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