OpenStructure
Public Member Functions
SceneNode Class Reference

#include <scene_node.hh>

Inherits QObject.

Inherited by EntityPartNode, GfxSceneNode, LabelNode, and RootNode.

Public Member Functions

 SceneNode (SceneNode *node_parent)
 
 SceneNode (QObject *parent=0)
 
virtual ~SceneNode ()
 
SceneNodeGetParent () const
 
void AddChild (SceneNode *node)
 
virtual SceneNodeGetChild (int row) const
 
virtual int GetChildRow (const SceneNode *node) const
 
virtual int GetRow () const
 
virtual QVariant GetData (int column, int role)
 
virtual bool SetData (int column, const QVariant &value, int role)
 
virtual Qt::ItemFlags Flags (int column) const
 
virtual int GetColumnCount () const
 

Detailed Description

Definition at line 37 of file scene_node.hh.

Constructor & Destructor Documentation

◆ SceneNode() [1/2]

SceneNode ( SceneNode node_parent)

◆ SceneNode() [2/2]

SceneNode ( QObject *  parent = 0)

◆ ~SceneNode()

virtual ~SceneNode ( )
virtual

Member Function Documentation

◆ AddChild()

void AddChild ( SceneNode node)
inline

Definition at line 45 of file scene_node.hh.

◆ Flags()

virtual Qt::ItemFlags Flags ( int  column) const
virtual

◆ GetChild()

virtual SceneNode* GetChild ( int  row) const
virtual

◆ GetChildRow()

virtual int GetChildRow ( const SceneNode node) const
virtual

◆ GetColumnCount()

virtual int GetColumnCount ( ) const
virtual

◆ GetData()

virtual QVariant GetData ( int  column,
int  role 
)
virtual

◆ GetParent()

SceneNode* GetParent ( ) const
inline

Definition at line 44 of file scene_node.hh.

◆ GetRow()

virtual int GetRow ( ) const
virtual

◆ SetData()

virtual bool SetData ( int  column,
const QVariant &  value,
int  role 
)
virtual

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