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::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 155 of file qgraphicsanchorlayout_p.h.

Constructor & Destructor Documentation

◆ SequentialAnchorData()

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

Definition at line 157 of file qgraphicsanchorlayout_p.h.

References QString::fromLatin1(), QtGraphicsAnchorLayout::AnchorData::isVertical, m_edges, Q_UNUSED, and QtGraphicsAnchorLayout::AnchorData::Sequential.

+ Here is the call graph for this function:

Member Function Documentation

◆ calculateSizeHints()

◆ updateChildrenSizes()

Member Data Documentation

◆ m_edges

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

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