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

#include <qgraphicsanchorlayout_p.h>

Inheritance diagram for QtGraphicsAnchorLayout::ParallelAnchorData:
Collaboration diagram for QtGraphicsAnchorLayout::ParallelAnchorData:

Public Member Functions

 ParallelAnchorData (AnchorData *first, AnchorData *second)
virtual void updateChildrenSizes () override
bool calculateSizeHints ()
bool secondForward () const
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

AnchorDatafirstEdge
AnchorDatasecondEdge
QList< QSimplexConstraint * > m_firstConstraints
QList< QSimplexConstraint * > m_secondConstraints
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 178 of file qgraphicsanchorlayout_p.h.

Constructor & Destructor Documentation

◆ ParallelAnchorData()

QtGraphicsAnchorLayout::ParallelAnchorData::ParallelAnchorData ( AnchorData * first,
AnchorData * second )
inline

Definition at line 180 of file qgraphicsanchorlayout_p.h.

References QtGraphicsAnchorLayout::AnchorData::AnchorData(), firstEdge, QtGraphicsAnchorLayout::AnchorData::from, secondEdge, and QtGraphicsAnchorLayout::AnchorData::to.

Here is the call graph for this function:

Member Function Documentation

◆ calculateSizeHints()

bool ParallelAnchorData::calculateSizeHints ( )

Definition at line 265 of file qgraphicsanchorlayout_p.cpp.

References firstEdge, secondEdge, and secondForward().

Here is the call graph for this function:

◆ secondForward()

bool QtGraphicsAnchorLayout::ParallelAnchorData::secondForward ( ) const
inline

Definition at line 202 of file qgraphicsanchorlayout_p.h.

References firstEdge, QtGraphicsAnchorLayout::AnchorData::from, and secondEdge.

Referenced by calculateSizeHints(), and updateChildrenSizes().

Here is the caller graph for this function:

◆ updateChildrenSizes()

void ParallelAnchorData::updateChildrenSizes ( )
overridevirtual

Reimplemented from QtGraphicsAnchorLayout::AnchorData.

Definition at line 235 of file qgraphicsanchorlayout_p.cpp.

References firstEdge, secondEdge, secondForward(), and QtGraphicsAnchorLayout::AnchorData::updateChildrenSizes().

Here is the call graph for this function:

Member Data Documentation

◆ firstEdge

AnchorData* QtGraphicsAnchorLayout::ParallelAnchorData::firstEdge

◆ m_firstConstraints

QList<QSimplexConstraint *> QtGraphicsAnchorLayout::ParallelAnchorData::m_firstConstraints

Definition at line 212 of file qgraphicsanchorlayout_p.h.

◆ m_secondConstraints

QList<QSimplexConstraint *> QtGraphicsAnchorLayout::ParallelAnchorData::m_secondConstraints

Definition at line 213 of file qgraphicsanchorlayout_p.h.

◆ secondEdge

AnchorData* QtGraphicsAnchorLayout::ParallelAnchorData::secondEdge

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