![]() |
Qt 6.x
The Qt SDK
|
#include <qgraphicsanchorlayout_p.h>
Public Member Functions | |
GraphPath () | |
QSimplexConstraint * | constraint (const GraphPath &path) const |
Public Attributes | |
QSet< AnchorData * > | positives |
QSet< AnchorData * > | negatives |
Representation of a valid path for a given vertex in the graph. In this struct, "positives" is the set of anchors that have been traversed in the forward direction, while "negatives" is the set with the ones walked backwards.
This paths are compared against each other to produce LP Constraints, the exact order in which the anchors were traversed is not relevant.
Definition at line 289 of file qgraphicsanchorlayout_p.h.
|
inline |
Definition at line 292 of file qgraphicsanchorlayout_p.h.
QSimplexConstraint * GraphPath::constraint | ( | const GraphPath & | path | ) | const |
Definition at line 548 of file qgraphicsanchorlayout_p.cpp.
References QSet< T >::begin(), QSet< T >::end(), i, negatives, and positives.
QSet<AnchorData *> QtGraphicsAnchorLayout::GraphPath::negatives |
Definition at line 299 of file qgraphicsanchorlayout_p.h.
Referenced by constraint(), and QGraphicsAnchorLayoutPrivate::findPaths().
QSet<AnchorData *> QtGraphicsAnchorLayout::GraphPath::positives |
Definition at line 298 of file qgraphicsanchorlayout_p.h.
Referenced by constraint(), and QGraphicsAnchorLayoutPrivate::findPaths().