Qt 6.x
The Qt SDK
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 289 of file qgraphicsanchorlayout_p.h.

Constructor & Destructor Documentation

◆ GraphPath()

QtGraphicsAnchorLayout::GraphPath::GraphPath ( )
inline

Definition at line 292 of file qgraphicsanchorlayout_p.h.

Member Function Documentation

◆ constraint()

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.

+ Here is the call graph for this function:

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: