Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QtGraphicsAnchorLayout::GraphPath Class Reference

#include <qgraphicsanchorlayout_p.h>

Collaboration diagram for QtGraphicsAnchorLayout::GraphPath:

Public Member Functions

 GraphPath ()
QSimplexConstraintconstraint (const GraphPath &path) const

Public Attributes

QSet< AnchorData * > positives
QSet< AnchorData * > negatives

Detailed Description

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 293 of file qgraphicsanchorlayout_p.h.

Constructor & Destructor Documentation

◆ GraphPath()

QtGraphicsAnchorLayout::GraphPath::GraphPath ( )
inline

Definition at line 296 of file qgraphicsanchorlayout_p.h.

Member Function Documentation

◆ constraint()

QSimplexConstraint * GraphPath::constraint ( const GraphPath & path) const

Definition at line 543 of file qgraphicsanchorlayout_p.cpp.

Member Data Documentation

◆ negatives

QSet<AnchorData *> QtGraphicsAnchorLayout::GraphPath::negatives

Definition at line 303 of file qgraphicsanchorlayout_p.h.

◆ positives

QSet<AnchorData *> QtGraphicsAnchorLayout::GraphPath::positives

Definition at line 302 of file qgraphicsanchorlayout_p.h.


The documentation for this class was generated from the following files: