![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qgraphicsanchorlayout_p.h>
Public Types | |
| enum | Type { Normal = 0 , Sequential , Parallel } |
| enum | Dependency { Independent = 0 , Master , Slave } |
Public Member Functions | |
| AnchorData () | |
| virtual | ~AnchorData () |
| virtual void | updateChildrenSizes () |
| void | refreshSizeHints (const QLayoutStyleInfo *styleInfo=nullptr) |
| Public Member Functions inherited from QSimplexVariable | |
| QSimplexVariable () | |
Public Attributes | |
| AnchorVertex * | from |
| AnchorVertex * | to |
| qreal | minSize |
| qreal | prefSize |
| qreal | maxSize |
| qreal | minPrefSize |
| qreal | maxPrefSize |
| qreal | sizeAtMinimum |
| qreal | sizeAtPreferred |
| qreal | sizeAtMaximum |
| QGraphicsLayoutItem * | item |
| QGraphicsAnchor * | graphicsAnchor |
| uint | type: 2 |
| uint | isLayoutAnchor: 1 |
| uint | isCenterAnchor: 1 |
| uint | isVertical: 1 |
| uint | dependency: 2 |
| Public Attributes inherited from QSimplexVariable | |
| qreal | result |
| int | index |
Represents an edge (anchor) in the internal graph.
Definition at line 78 of file qgraphicsanchorlayout_p.h.
| Enumerator | |
|---|---|
| Independent | |
| Master | |
| Slave | |
Definition at line 87 of file qgraphicsanchorlayout_p.h.
| Enumerator | |
|---|---|
| Normal | |
| Sequential | |
| Parallel | |
Definition at line 81 of file qgraphicsanchorlayout_p.h.
|
inline |
Definition at line 93 of file qgraphicsanchorlayout_p.h.
References AnchorData(), from, item, and to.
Referenced by AnchorData(), QtGraphicsAnchorLayout::ParallelAnchorData::ParallelAnchorData(), and QtGraphicsAnchorLayout::SequentialAnchorData::SequentialAnchorData().
|
virtual |
Definition at line 131 of file qgraphicsanchorlayout_p.cpp.
| void AnchorData::refreshSizeHints | ( | const QLayoutStyleInfo * | styleInfo = nullptr | ) |
Definition at line 143 of file qgraphicsanchorlayout_p.cpp.
References from, item, QtGraphicsAnchorLayout::AnchorVertex::m_item, and to.
|
inlinevirtual |
Reimplemented in QtGraphicsAnchorLayout::ParallelAnchorData, and QtGraphicsAnchorLayout::SequentialAnchorData.
Definition at line 104 of file qgraphicsanchorlayout_p.h.
Referenced by QtGraphicsAnchorLayout::ParallelAnchorData::updateChildrenSizes().
| uint QtGraphicsAnchorLayout::AnchorData::dependency |
Definition at line 148 of file qgraphicsanchorlayout_p.h.
| AnchorVertex* QtGraphicsAnchorLayout::AnchorData::from |
Definition at line 114 of file qgraphicsanchorlayout_p.h.
Referenced by AnchorData(), QtGraphicsAnchorLayout::ParallelAnchorData::ParallelAnchorData(), QGraphicsAnchorPrivate::~QGraphicsAnchorPrivate(), QtGraphicsAnchorLayout::SequentialAnchorData::calculateSizeHints(), createSequence(), refreshSizeHints(), replaceVertex_helper(), QtGraphicsAnchorLayout::ParallelAnchorData::secondForward(), and QtGraphicsAnchorLayout::SequentialAnchorData::updateChildrenSizes().
| QGraphicsAnchor* QtGraphicsAnchorLayout::AnchorData::graphicsAnchor |
Definition at line 142 of file qgraphicsanchorlayout_p.h.
| uint QtGraphicsAnchorLayout::AnchorData::isCenterAnchor |
Definition at line 146 of file qgraphicsanchorlayout_p.h.
| uint QtGraphicsAnchorLayout::AnchorData::isLayoutAnchor |
Definition at line 145 of file qgraphicsanchorlayout_p.h.
| uint QtGraphicsAnchorLayout::AnchorData::isVertical |
Definition at line 147 of file qgraphicsanchorlayout_p.h.
| QGraphicsLayoutItem* QtGraphicsAnchorLayout::AnchorData::item |
Definition at line 141 of file qgraphicsanchorlayout_p.h.
Referenced by AnchorData(), and refreshSizeHints().
| qreal QtGraphicsAnchorLayout::AnchorData::maxPrefSize |
Definition at line 128 of file qgraphicsanchorlayout_p.h.
| qreal QtGraphicsAnchorLayout::AnchorData::maxSize |
Definition at line 125 of file qgraphicsanchorlayout_p.h.
| qreal QtGraphicsAnchorLayout::AnchorData::minPrefSize |
Definition at line 127 of file qgraphicsanchorlayout_p.h.
| qreal QtGraphicsAnchorLayout::AnchorData::minSize |
Definition at line 123 of file qgraphicsanchorlayout_p.h.
| qreal QtGraphicsAnchorLayout::AnchorData::prefSize |
Definition at line 124 of file qgraphicsanchorlayout_p.h.
| qreal QtGraphicsAnchorLayout::AnchorData::sizeAtMaximum |
Definition at line 136 of file qgraphicsanchorlayout_p.h.
| qreal QtGraphicsAnchorLayout::AnchorData::sizeAtMinimum |
Definition at line 134 of file qgraphicsanchorlayout_p.h.
| qreal QtGraphicsAnchorLayout::AnchorData::sizeAtPreferred |
Definition at line 135 of file qgraphicsanchorlayout_p.h.
| AnchorVertex* QtGraphicsAnchorLayout::AnchorData::to |
Definition at line 115 of file qgraphicsanchorlayout_p.h.
Referenced by AnchorData(), QtGraphicsAnchorLayout::ParallelAnchorData::ParallelAnchorData(), QGraphicsAnchorPrivate::~QGraphicsAnchorPrivate(), createSequence(), refreshSizeHints(), and replaceVertex_helper().
| uint QtGraphicsAnchorLayout::AnchorData::type |
Definition at line 144 of file qgraphicsanchorlayout_p.h.