rocs/RocsCore
RootedTreePlugin.cpp
Go to the documentation of this file.
36 static const KAboutData aboutdata("rocs_RootedTreeStructure", 0, ki18nc("@title Displayed plugin name", "RootedTree Structure") , "0.1" );
52 DataStructurePtr RootedTreePlugin::convertToDataStructure(DataStructurePtr ds, Document * parent)
71 QLayout* RootedTreePlugin::dataExtraProperties(DataPtr /*node*/, QWidget* /*parentWidget*/) const
81 QLayout* RootedTreePlugin::dataStructureExtraProperties(DataStructurePtr graph, QWidget* parentWidget) const
86 QCheckBox * showPointer = new QCheckBox(i18nc("@option:check", "Show all pointers"),parentWidget);
116 errors << i18n("There are cycles at node %1. Data will be lost by conversion.", n->identifier());
void enqueue(const T &t)
static const KAboutData aboutdata("rocs_RootedTreeStructure", 0, ki18nc("@title Displayed plugin name","RootedTree Structure"),"0.1")
T dequeue()
bool isShowingAllPointers() const
return true if all the pointers need to be draw.
Definition: RootedTreeStructure.cpp:240
const_iterator insert(const T &value)
the Edge drawing on screen. long explanation here...
Definition: RootedTreeEdgeItem.h:34
virtual QGraphicsItem * dataItem(DataPtr) const
Definition: RootedTreePlugin.cpp:62
Definition: RootedTreeStructure.h:27
virtual QGraphicsItem * pointerItem(PointerPtr) const
Definition: RootedTreePlugin.cpp:67
bool isEmpty() const
virtual QLayout * dataExtraProperties(DataPtr arg1, QWidget *arg2) const
Definition: RootedTreePlugin.cpp:71
virtual DataStructurePtr createDataStructure(Document *parent)
Definition: RootedTreePlugin.cpp:57
Definition: RootedTreeNodeItem.h:27
virtual ~RootedTreePlugin()
Definition: RootedTreePlugin.cpp:48
Definition: Document.h:41
Definition: RootedTreePlugin.h:27
virtual QLayout * dataStructureExtraProperties(DataStructurePtr graph, QWidget *parentWidget) const
Definition: RootedTreePlugin.cpp:81
bool contains(const T &value) const
void setChecked(bool)
QList< DataStructurePtr > & dataStructures() const
Definition: Document.cpp:227
virtual QLayout * pointerExtraProperties(PointerPtr pointer, QWidget *widget) const
Definition: DataStructureBackendInterface.cpp:32
virtual DataStructurePtr convertToDataStructure(DataStructurePtr ds, Document *parent)
Definition: RootedTreePlugin.cpp:52
virtual QLayout * pointerExtraProperties(PointerPtr arg1, QWidget *arg2) const
Definition: RootedTreePlugin.cpp:76
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
bool canConvertFrom(Document *) const
Check if is possÃble to convert from the doc document to this data structure.
Definition: RootedTreePlugin.cpp:97
static DataStructurePtr create(Document *parent)
Definition: RootedTreeStructure.cpp:45
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.