Qt 4.8
|
#include <qgraph_p.h>
Classes | |
class | const_iterator |
Public Functions | |
QList< Vertex * > | adjacentVertices (Vertex *vertex) const |
QList< QPair< Vertex *, Vertex * > > | connections () const |
const_iterator | constBegin () const |
const_iterator | constEnd () const |
void | createEdge (Vertex *first, Vertex *second, EdgeData *data) |
EdgeData * | edgeData (Vertex *first, Vertex *second) |
Graph () | |
void | removeEdge (Vertex *first, Vertex *second) |
QString | serializeToDot () |
EdgeData * | takeEdge (Vertex *first, Vertex *second) |
QSet< Vertex * > | vertices () const |
Protected Functions | |
void | createDirectedEdge (Vertex *from, Vertex *to, EdgeData *data) |
void | removeDirectedEdge (Vertex *from, Vertex *to) |
Properties | |
QHash< Vertex *, QHash< Vertex *, EdgeData * > * > | m_graph |
Definition at line 66 of file qgraph_p.h.
Definition at line 69 of file qgraph_p.h.
|
inline |
Definition at line 195 of file qgraph_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::calculateVertexPositions(), QGraphicsAnchorLayoutPrivate::removeCenterAnchors(), QGraphicsAnchorLayoutPrivate::removeVertex(), QGraphicsAnchorLayoutPrivate::restoreVertices(), Graph< AnchorVertex, AnchorData >::serializeToDot(), QGraphicsAnchorLayoutPrivate::simplifyGraphIteration(), and QGraphicsAnchorLayoutPrivate::simplifyVertices().
|
inline |
Definition at line 212 of file qgraph_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::refreshAllSizeHints(), QGraphicsAnchorLayoutPrivate::restoreSimplifiedGraph(), and QGraphicsAnchorLayoutPrivate::updateAnchorSizes().
|
inline |
Definition at line 128 of file qgraph_p.h.
Referenced by Graph< AnchorVertex, AnchorData >::connections(), and Graph< AnchorVertex, AnchorData >::vertices().
|
inline |
Definition at line 132 of file qgraph_p.h.
Referenced by Graph< AnchorVertex, AnchorData >::connections(), and Graph< AnchorVertex, AnchorData >::vertices().
|
inlineprotected |
Definition at line 257 of file qgraph_p.h.
Referenced by Graph< AnchorVertex, AnchorData >::createEdge().
|
inline |
Definition at line 148 of file qgraph_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::addAnchor_helper(), QGraphicsAnchorLayoutPrivate::addAnchorMaybeParallel(), QGraphicsAnchorLayoutPrivate::restoreSimplifiedAnchor(), and QGraphicsAnchorLayoutPrivate::restoreVertices().
|
inline |
If there is an edge between first and second, it will return a structure containing the data associated with the edge, otherwise it will return 0.
Definition at line 143 of file qgraph_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::calculateVertexPositions(), QGraphicsAnchorLayoutPrivate::constraintsFromSizeHints(), Graph< AnchorVertex, AnchorData >::createEdge(), QGraphicsAnchorLayoutPrivate::findPaths(), QGraphicsAnchorLayoutPrivate::getAnchor(), QGraphicsAnchorLayoutPrivate::getGraphParts(), QGraphicsAnchorLayoutPrivate::refreshAllSizeHints(), QGraphicsAnchorLayoutPrivate::removeCenterAnchors(), QGraphicsAnchorLayoutPrivate::removeCenterConstraints(), Graph< AnchorVertex, AnchorData >::removeEdge(), QGraphicsAnchorLayoutPrivate::restoreSimplifiedGraph(), Graph< AnchorVertex, AnchorData >::serializeToDot(), QGraphicsAnchorLayoutPrivate::simplifyGraphIteration(), QGraphicsAnchorLayoutPrivate::simplifyVertices(), Graph< AnchorVertex, AnchorData >::takeEdge(), and QGraphicsAnchorLayoutPrivate::updateAnchorSizes().
|
inlineprotected |
Definition at line 267 of file qgraph_p.h.
Referenced by Graph< AnchorVertex, AnchorData >::removeEdge(), and Graph< AnchorVertex, AnchorData >::takeEdge().
|
inline |
Definition at line 165 of file qgraph_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::removeAnchor_helper(), and QGraphicsAnchorLayoutPrivate::removeVertex().
|
inline |
Definition at line 226 of file qgraph_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::dumpGraph().
|
inline |
Definition at line 179 of file qgraph_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::addAnchorMaybeParallel(), createSequence(), QGraphicsAnchorLayoutPrivate::replaceVertex(), QGraphicsAnchorLayoutPrivate::restoreSimplifiedGraph(), QGraphicsAnchorLayoutPrivate::restoreVertices(), and QGraphicsAnchorLayoutPrivate::simplifyVertices().
|
inline |
Definition at line 204 of file qgraph_p.h.
Referenced by Graph< AnchorVertex, AnchorData >::serializeToDot().
|
private |
Definition at line 281 of file qgraph_p.h.
Referenced by Graph< AnchorVertex, AnchorData >::adjacentVertices(), Graph< Vertex, EdgeData >::const_iterator::const_iterator(), Graph< AnchorVertex, AnchorData >::createDirectedEdge(), Graph< AnchorVertex, AnchorData >::edgeData(), Graph< Vertex, EdgeData >::const_iterator::operator!=(), Graph< Vertex, EdgeData >::const_iterator::operator++(), and Graph< AnchorVertex, AnchorData >::removeDirectedEdge().