rocs/RocsCore
RootedTreeStructure.h
Go to the documentation of this file.
31 Q_PROPERTY(bool ShowAllPointers READ isShowingAllPointers WRITE setShowAllPointers NOTIFY showPointersChanged)
Definition: DataStructure.h:43
void importStructure(DataStructurePtr other)
overwrites the current DataStructure with all values (Data and Pointer) from the given datastructure ...
Definition: RootedTreeStructure.cpp:69
bool isShowingAllPointers() const
return true if all the pointers need to be draw.
Definition: RootedTreeStructure.cpp:240
void showPointersChanged(const bool)
signal emitted on change of pointers visibility
void setShowAllPointers(const bool v)
set if all the pointers should be draw or not.
Definition: RootedTreeStructure.cpp:245
PointerPtr createPointer(DataPtr from, DataPtr to, int dataType=0)
FIXME addeding multiple pointers.
Definition: RootedTreeStructure.cpp:147
Definition: RootedTreeStructure.h:27
QScriptValue root_node() const
Definition: RootedTreeStructure.cpp:210
void setEngine(QScriptEngine *engine)
Definition: RootedTreeStructure.cpp:233
Definition: Document.h:41
QScriptValue add_data(const QString &name)
Create a new data (tree node) Note that it only create but not insert it into the tree...
Definition: RootedTreeStructure.cpp:138
DataPtr createData(const QString &name, int dataType=0)
Definition: RootedTreeStructure.cpp:199
QObject * parent() const
void set_root_node(RootedTreeNode *node)
Definition: RootedTreeStructure.cpp:219
static DataStructurePtr create(Document *parent)
Definition: RootedTreeStructure.cpp:45
Definition: RootedTreeNode.h:25
QString name() const
This file is part of the KDE documentation.
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
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.