rocs/RocsCore
#include <RootedTreeStructure.h>
Signals | |
void | showPointersChanged (const bool) |
Signals inherited from DataStructure | |
void | changed () |
void | dataCreated (DataPtr n) |
void | dataPositionChanged (const QPointF) |
void | nameChanged (const QString &name) |
void | pointerCreated (PointerPtr e) |
void | scriptError (const QString &message) |
Public Member Functions | |
RootedTreeStructure (Document *parent=0) | |
~RootedTreeStructure () | |
DataPtr | createData (const QString &name, int dataType=0) |
PointerPtr | createPointer (DataPtr from, DataPtr to, int dataType=0) |
void | importStructure (DataStructurePtr other) |
bool | isShowingAllPointers () const |
DataPtr | rootNode () const |
void | setEngine (QScriptEngine *engine) |
Public Member Functions inherited from DataStructure | |
virtual void | cleanUpBeforeConvert () |
const DataList | dataList (int dataType) const |
DataList | dataListAll () const |
Document * | document () const |
QScriptEngine * | engine () const |
virtual DataStructurePtr | getDataStructure () const |
const QList< GroupPtr > | groups () const |
bool | isDataVisible (int dataType) const |
bool | isPointerVisible (int pointerType) const |
QString | name () const |
virtual QMap< QString, QString > | pluginProperties () const |
PointerList | pointerListAll () const |
const PointerList | pointers (int pointerType) const |
bool | readOnly () const |
QScriptValue | scriptValue () const |
virtual void | setPluginProperty (const QString &, const QString &) |
void | setReadOnly (bool r) |
void | updateData (DataPtr data) |
void | updatePointer (PointerPtr pointer) |
Public Member Functions inherited from QObject | |
QObject (QObject *parent) | |
QObject (QObject *parent, const char *name) | |
virtual | ~QObject () |
bool | blockSignals (bool block) |
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
const QObjectList & | children () const |
const char * | className () const |
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const QObject *receiver, const char *method) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
void | dumpObjectInfo () |
void | dumpObjectTree () |
QList< QByteArray > | dynamicPropertyNames () const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name) const |
QList< T > | findChildren (const QRegExp ®Exp) const |
QList< T > | findChildren (const QString &name) const |
bool | inherits (const char *className) const |
void | insertChild (QObject *object) |
void | installEventFilter (QObject *filterObj) |
bool | isA (const char *className) const |
bool | isWidgetType () const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const |
void | moveToThread (QThread *targetThread) |
const char * | name () const |
const char * | name (const char *defaultName) const |
QString | objectName () const |
QObject * | parent () const |
QVariant | property (const char *name) const |
void | removeChild (QObject *object) |
void | removeEventFilter (QObject *obj) |
void | setName (const char *name) |
void | setObjectName (const QString &name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | signalsBlocked () const |
int | startTimer (int interval) |
QThread * | thread () const |
Static Public Member Functions | |
static DataStructurePtr | create (Document *parent) |
static DataStructurePtr | create (DataStructurePtr other, Document *parent) |
Static Public Member Functions inherited from DataStructure | |
static DataStructurePtr | create (Document *parent=0) |
static DataStructurePtr | create (DataStructurePtr other, Document *parent=0) |
Static Public Member Functions inherited from QObject | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Properties | |
RootedTreeNode * | m_rootNode |
bool | m_showPointers |
bool | ShowAllPointers |
Properties inherited from DataStructure | |
QString | name |
Properties inherited from QObject | |
objectName | |
Additional Inherited Members | |
Protected Member Functions inherited from DataStructure | |
DataStructure (Document *parent=0) | |
virtual | ~DataStructure () |
DataPtr | addData (DataPtr data) |
PointerPtr | addPointer (PointerPtr pointer) |
int | generateUniqueIdentifier () |
void | initialize () |
Protected Member Functions inherited from QObject | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
Static Protected Member Functions inherited from DataStructure | |
template<typename T > | |
static DataStructurePtr | create (Document *parent=0) |
template<typename T > | |
static DataStructurePtr | create (DataStructurePtr other, Document *parent=0) |
Static Protected Member Functions inherited from QObject | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
Detailed Description
Definition at line 27 of file RootedTreeStructure.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 59 of file RootedTreeStructure.cpp.
RootedTreeStructure::~RootedTreeStructure | ( | ) |
Definition at line 133 of file RootedTreeStructure.cpp.
Member Function Documentation
|
slot |
Create a new data (tree node) Note that it only create but not insert it into the tree.
Definition at line 138 of file RootedTreeStructure.cpp.
|
static |
Definition at line 45 of file RootedTreeStructure.cpp.
|
static |
Definition at line 51 of file RootedTreeStructure.cpp.
Reimplemented from DataStructure.
Definition at line 199 of file RootedTreeStructure.cpp.
|
virtual |
FIXME addeding multiple pointers.
Reimplemented from DataStructure.
Definition at line 147 of file RootedTreeStructure.cpp.
|
virtual |
overwrites the current DataStructure with all values (Data and Pointer) from the given datastructure object.
- Parameters
-
other the data structure that shall be imported
- Returns
- void
Reimplemented from DataStructure.
Definition at line 69 of file RootedTreeStructure.cpp.
bool RootedTreeStructure::isShowingAllPointers | ( | ) | const |
return true if all the pointers need to be draw.
Definition at line 240 of file RootedTreeStructure.cpp.
|
slot |
Definition at line 210 of file RootedTreeStructure.cpp.
DataPtr RootedTreeStructure::rootNode | ( | ) | const |
Definition at line 225 of file RootedTreeStructure.cpp.
|
slot |
Definition at line 219 of file RootedTreeStructure.cpp.
|
virtual |
Reimplemented from DataStructure.
Definition at line 233 of file RootedTreeStructure.cpp.
|
slot |
set if all the pointers should be draw or not.
All pointers is a complete draw of this data structure, including pointers to parents and children division on nodes.
Definition at line 245 of file RootedTreeStructure.cpp.
|
signal |
signal emitted on change of pointers visibility
Property Documentation
RootedTreeNode* RootedTreeStructure::m_rootNode |
Definition at line 33 of file RootedTreeStructure.h.
bool RootedTreeStructure::m_showPointers |
Definition at line 35 of file RootedTreeStructure.h.
|
readwrite |
Definition at line 31 of file RootedTreeStructure.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.