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

#include <qgraphicsanchorlayout_p.h>

Inheritance diagram for QtGraphicsAnchorLayout::SequentialAnchorData:
Collaboration diagram for QtGraphicsAnchorLayout::SequentialAnchorData:

Public Member Functions

 SequentialAnchorData (const QList< AnchorVertex * > &vertices, const QList< AnchorData * > &edges)
virtual void updateChildrenSizes () override
void calculateSizeHints ()
Public Member Functions inherited from QtGraphicsAnchorLayout::AnchorData
 AnchorData ()
virtual ~AnchorData ()
void refreshSizeHints (const QLayoutStyleInfo *styleInfo=nullptr)
Public Member Functions inherited from QSimplexVariable
 QSimplexVariable ()

Public Attributes

const QList< AnchorData * > m_edges
Public Attributes inherited from QtGraphicsAnchorLayout::AnchorData
AnchorVertexfrom
AnchorVertexto
qreal minSize
qreal prefSize
qreal maxSize
qreal minPrefSize
qreal maxPrefSize
qreal sizeAtMinimum
qreal sizeAtPreferred
qreal sizeAtMaximum
QGraphicsLayoutItemitem
QGraphicsAnchorgraphicsAnchor
uint type: 2
uint isLayoutAnchor: 1
uint isCenterAnchor: 1
uint isVertical: 1
uint dependency: 2
Public Attributes inherited from QSimplexVariable
qreal result
int index

Additional Inherited Members

Public Types inherited from QtGraphicsAnchorLayout::AnchorData
enum  Type { Normal = 0 , Sequential , Parallel }
enum  Dependency { Independent = 0 , Master , Slave }

Detailed Description

Definition at line 158 of file qgraphicsanchorlayout_p.h.

Constructor & Destructor Documentation

◆ SequentialAnchorData()

QtGraphicsAnchorLayout::SequentialAnchorData::SequentialAnchorData ( const QList< AnchorVertex * > & vertices,
const QList< AnchorData * > & edges )
inline

Definition at line 160 of file qgraphicsanchorlayout_p.h.

References QtGraphicsAnchorLayout::AnchorData::AnchorData(), and SequentialAnchorData().

Referenced by SequentialAnchorData().

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

Member Function Documentation

◆ calculateSizeHints()

void SequentialAnchorData::calculateSizeHints ( )

Definition at line 488 of file qgraphicsanchorlayout_p.cpp.

References QtGraphicsAnchorLayout::AnchorData::from.

Referenced by createSequence().

Here is the caller graph for this function:

◆ updateChildrenSizes()

void SequentialAnchorData::updateChildrenSizes ( )
overridevirtual

Member Data Documentation

◆ m_edges

const QList<AnchorData *> QtGraphicsAnchorLayout::SequentialAnchorData::m_edges

Definition at line 175 of file qgraphicsanchorlayout_p.h.


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