rocs/RocsCore
#include <RootedTreeNode.h>

Public Slots | |
QScriptValue | add_child (RootedTreeNode *child, quint32 idx) const |
QScriptValue | add_left_child (RootedTreeNode *child) const |
QScriptValue | add_node_parent (RootedTreeNode *child) const |
QScriptValue | add_right_child (RootedTreeNode *child) const |
PointerPtr | addLeftChild (DataPtr child) const |
PointerPtr | addRigthChild (DataPtr child) const |
void | adjustPosition () |
DataPtr | child (const quint32 i) const |
QScriptValue | child_at (quint32 idx) const |
DataList | children () const |
QScriptValue | children_list () const |
QScriptValue | left_child () const |
DataPtr | leftChild () const |
QScriptValue | node_parent () const |
DataPtr | nodeParent () const |
quint32 | numberOfChilds () const |
QScriptValue | right_child () const |
DataPtr | rightChild () const |
PointerPtr | setChild (DataPtr child, quint32 idx) const |
PointerPtr | setNodeParent (DataPtr parent) const |
void | setNumberOfChilds (const qint32 number) |
![]() | |
void | add_property (const QString &name, const QString &value) |
void | addDynamicProperty (const QString &property, const QVariant &value) |
QScriptValue | adj_data () |
QScriptValue | adj_pointers () |
QScriptValue | adj_pointers (int pointerType) |
QScriptValue | connected_pointers (Data *n) |
QScriptValue | input_pointers () |
QScriptValue | input_pointers (int pointerType) |
QScriptValue | output_pointers () |
QScriptValue | output_pointers (int pointerType) |
void | remove () |
void | remove_property (const QString &name) |
void | removeDynamicProperty (const QString &property) |
void | renameDynamicProperty (const QString &oldName, const QString &newName) |
void | self_remove () |
QScriptValue | set_type (int type) |
void | setColor (const QVariant &s) |
void | setDataType (int dataType) |
void | setPos (qreal x, qreal y) |
void | setVisible (bool visible) |
void | setWidth (double w) |
void | setX (int x) |
void | setY (int y) |
QScriptValue | type () |
void | updateDynamicProperty (const QString &property) |
void | updatePointerList () |
Public Member Functions | |
RootedTreeNode (DataStructurePtr parent, int uniqueIdentifier, int dataType) | |
~RootedTreeNode () | |
qint8 | height () const |
![]() | |
virtual | ~Data () |
void | addPointer (PointerPtr pointer) |
DataList | adjacentDataList () const |
QVariant | color () const |
PointerPtr | createPointer (DataPtr to) |
DataStructurePtr | dataStructure () const |
int | dataType () const |
QScriptEngine * | engine () const |
virtual DataPtr | getData () const |
QString | icon () const |
int | identifier () const |
PointerList & | inPointerList () const |
bool | isVisible () const |
PointerList & | outPointerList () const |
PointerList | pointerList () const |
PointerList | pointerList (DataPtr to) const |
QList< QString > | properties () const |
void | remove (PointerPtr e) |
QScriptValue | scriptValue () const |
virtual void | setEngine (QScriptEngine *_engine) |
qreal | width () const |
qreal | x () const |
qreal | y () const |
Static Public Member Functions | |
static DataPtr | create (DataStructurePtr parent, int uniqueIdentifier, int dataType) |
![]() | |
static DataPtr | create (DataStructurePtr dataStructure, int uniqueIdentifier, int dataType) |
Properties | |
QScriptValue | leftChild |
qint32 | m_nChilds |
QScriptValue | nodeParent |
quint32 | numberOfChilds |
QScriptValue | rightChild |
![]() | |
QVariant | color |
int | id |
qreal | width |
qreal | x |
qreal | y |
Additional Inherited Members | |
![]() | |
void | colorChanged (const QColor &c) |
void | dataTypeChanged (int dataType) |
void | pointerListChanged () |
void | posChanged (const QPointF &p) |
void | propertyAdded (const QString &name) |
void | propertyChanged (const QString &name) |
void | propertyRemoved (const QString &name) |
void | removed () |
void | useColorChanged (bool b) |
void | visibilityChanged (bool visible) |
void | widthChanged (double w) |
![]() | |
Data (DataStructurePtr dataStructure, int uniqueIdentifer, int dataType) | |
bool | eventFilter (QObject *obj, QEvent *event) |
![]() | |
template<typename T > | |
static DataPtr | create (DataStructurePtr parent, int uniqueIdentifier, int dataType) |
Detailed Description
Definition at line 25 of file RootedTreeNode.h.
Constructor & Destructor Documentation
RootedTreeNode::RootedTreeNode | ( | DataStructurePtr | parent, |
int | uniqueIdentifier, | ||
int | dataType | ||
) |
Definition at line 31 of file RootedTreeNode.cpp.
RootedTreeNode::~RootedTreeNode | ( | ) |
Definition at line 38 of file RootedTreeNode.cpp.
Member Function Documentation
|
slot |
Definition at line 156 of file RootedTreeNode.cpp.
|
slot |
Definition at line 169 of file RootedTreeNode.cpp.
|
slot |
Definition at line 197 of file RootedTreeNode.cpp.
|
slot |
Definition at line 183 of file RootedTreeNode.cpp.
|
slot |
Definition at line 86 of file RootedTreeNode.cpp.
|
slot |
Definition at line 75 of file RootedTreeNode.cpp.
|
slot |
Definition at line 261 of file RootedTreeNode.cpp.
|
slot |
return the i (0 to n-1) child
Definition at line 125 of file RootedTreeNode.cpp.
|
slot |
Definition at line 211 of file RootedTreeNode.cpp.
|
slot |
Definition at line 64 of file RootedTreeNode.cpp.
|
slot |
return the list of valid children
Definition at line 251 of file RootedTreeNode.cpp.
|
static |
Definition at line 26 of file RootedTreeNode.cpp.
qint8 RootedTreeNode::height | ( | ) | const |
Definition at line 285 of file RootedTreeNode.cpp.
|
slot |
Definition at line 221 of file RootedTreeNode.cpp.
|
slot |
|
slot |
Definition at line 241 of file RootedTreeNode.cpp.
|
slot |
|
slot |
|
slot |
Definition at line 231 of file RootedTreeNode.cpp.
|
slot |
|
slot |
Definition at line 139 of file RootedTreeNode.cpp.
|
slot |
Definition at line 98 of file RootedTreeNode.cpp.
|
slot |
Definition at line 53 of file RootedTreeNode.cpp.
Property Documentation
|
read |
Definition at line 30 of file RootedTreeNode.h.
qint32 RootedTreeNode::m_nChilds |
Definition at line 34 of file RootedTreeNode.h.
|
read |
Definition at line 32 of file RootedTreeNode.h.
|
readwrite |
Definition at line 29 of file RootedTreeNode.h.
|
read |
Definition at line 31 of file RootedTreeNode.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.