rocs/RocsCore
GraphPlugin.cpp
Go to the documentation of this file.
36 static const KAboutData aboutdata("rocs_GraphStructure", 0, ki18nc("@title Displayed plugin name", "Graph Structure"), "0.1");
110 QLayout* GraphPlugin::dataStructureExtraProperties(DataStructurePtr graph, QWidget* parentWidget) const
117 i18nc("@label:inlistbox graph for which several edges between same nodes may exist", "Multigraph"));
122 GraphStructure * tmp = dynamic_cast<GraphStructure *>(boost::static_pointer_cast<GraphStructure>(graph).get());
void setMinimum(int min)
Definition: GraphStructure.h:29
bool canConvertFrom(Document *) const
Check if is possÃble to convert from the doc document to this data structure.
Definition: GraphPlugin.cpp:130
void addWidget(QWidget *widget, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
virtual QLayout * pointerExtraProperties(PointerPtr arg1, QWidget *arg2) const
Definition: GraphPlugin.cpp:105
virtual QGraphicsItem * dataItem(DataPtr) const
Definition: GraphPlugin.cpp:61
GRAPH_TYPE graphType() const
Returns type of the graph given by enum.
Definition: GraphStructure.cpp:413
virtual DataStructurePtr convertToDataStructure(DataStructurePtr graph, Document *parent)
Definition: GraphPlugin.cpp:51
virtual QLayout * dataExtraProperties(DataPtr arg1, QWidget *arg2) const
Definition: GraphPlugin.cpp:70
Definition: NodeItem.h:26
virtual QLayout * dataStructureExtraProperties(DataStructurePtr graph, QWidget *parentWidget) const
Definition: GraphPlugin.cpp:110
virtual DataStructurePtr createDataStructure(Document *parent)
Definition: GraphPlugin.cpp:56
Definition: Document.h:41
void setMaximum(int max)
static const KAboutData aboutdata("rocs_GraphStructure", 0, ki18nc("@title Displayed plugin name","Graph Structure"),"0.1")
static DataStructurePtr create(Document *parent)
Definition: GraphStructure.cpp:44
Definition: GraphPlugin.h:28
void setValue(int val)
virtual QLayout * pointerExtraProperties(PointerPtr pointer, QWidget *widget) const
Definition: DataStructureBackendInterface.cpp:32
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Definition: GraphStructure.h:36
virtual QGraphicsItem * pointerItem(PointerPtr) const
Definition: GraphPlugin.cpp:66
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.