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::AnchorVertex Struct Reference

#include <qgraphicsanchorlayout_p.h>

+ Inheritance diagram for QtGraphicsAnchorLayout::AnchorVertex:
+ Collaboration diagram for QtGraphicsAnchorLayout::AnchorVertex:

Public Member Functions

 AnchorVertex (QGraphicsLayoutItem *item, Qt::AnchorPoint edge)
 
 AnchorVertex ()
 
virtual ~AnchorVertex ()=default
 

Public Attributes

QGraphicsLayoutItemm_item
 
Qt::AnchorPoint m_edge
 
qreal distance
 

Detailed Description

Represents a vertex (anchorage point) in the internal graph

Definition at line 50 of file qgraphicsanchorlayout_p.h.

Constructor & Destructor Documentation

◆ AnchorVertex() [1/2]

QtGraphicsAnchorLayout::AnchorVertex::AnchorVertex ( QGraphicsLayoutItem * item,
Qt::AnchorPoint edge )
inline

Definition at line 52 of file qgraphicsanchorlayout_p.h.

References AnchorVertex(), and m_item.

Referenced by AnchorVertex().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AnchorVertex() [2/2]

QtGraphicsAnchorLayout::AnchorVertex::AnchorVertex ( )
inline

Definition at line 55 of file qgraphicsanchorlayout_p.h.

References AnchorVertex(), and m_item.

Referenced by AnchorVertex(), and QtGraphicsAnchorLayout::AnchorVertexPair::AnchorVertexPair().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ~AnchorVertex()

virtual QtGraphicsAnchorLayout::AnchorVertex::~AnchorVertex ( )
virtualdefault

Member Data Documentation

◆ distance

qreal QtGraphicsAnchorLayout::AnchorVertex::distance

Definition at line 69 of file qgraphicsanchorlayout_p.h.

◆ m_edge

Qt::AnchorPoint QtGraphicsAnchorLayout::AnchorVertex::m_edge

Definition at line 65 of file qgraphicsanchorlayout_p.h.

◆ m_item

QGraphicsLayoutItem* QtGraphicsAnchorLayout::AnchorVertex::m_item

The documentation for this struct was generated from the following file: