Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 290 of file qgraphicsanchorlayout_p.h.

Constructor & Destructor Documentation

◆ GraphPath()

QtGraphicsAnchorLayout::GraphPath::GraphPath ( )
inline

Definition at line 293 of file qgraphicsanchorlayout_p.h.

Member Function Documentation

◆ constraint()

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

Definition at line 542 of file qgraphicsanchorlayout_p.cpp.

References i, negatives, and positives.

Member Data Documentation

◆ negatives

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

◆ positives

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

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