Qt 4.8
|
Represents an edge (anchor) in the internal graph. More...
#include <qgraphicsanchorlayout_p.h>
Public Types | |
enum | Dependency { Independent = 0, Master, Slave } |
enum | Type { Normal = 0, Sequential, Parallel } |
Public Functions | |
AnchorData () | |
void | dump (int indent=2) |
void | refreshSizeHints (const QLayoutStyleInfo *styleInfo=0) |
QString | toString () const |
virtual void | updateChildrenSizes () |
virtual | ~AnchorData () |
Public Functions inherited from QSimplexVariable | |
QSimplexVariable () | |
Public Variables | |
uint | dependency: 2 |
AnchorVertex * | from |
QGraphicsAnchor * | graphicsAnchor |
uint | isCenterAnchor: 1 |
uint | isLayoutAnchor: 1 |
QGraphicsLayoutItem * | item |
qreal | maxPrefSize |
qreal | maxSize |
qreal | minPrefSize |
qreal | minSize |
QString | name |
uint | orientation: 1 |
qreal | prefSize |
qreal | sizeAtMaximum |
qreal | sizeAtMinimum |
qreal | sizeAtPreferred |
AnchorVertex * | to |
uint | type: 2 |
Public Variables inherited from QSimplexVariable | |
int | index |
qreal | result |
Represents an edge (anchor) in the internal graph.
Definition at line 113 of file qgraphicsanchorlayout_p.h.
Enumerator | |
---|---|
Independent | |
Master | |
Slave |
Definition at line 120 of file qgraphicsanchorlayout_p.h.
enum AnchorData::Type |
Enumerator | |
---|---|
Normal | |
Sequential | |
Parallel |
Definition at line 114 of file qgraphicsanchorlayout_p.h.
|
inline |
Definition at line 126 of file qgraphicsanchorlayout_p.h.
|
virtual |
Definition at line 166 of file qgraphicsanchorlayout_p.cpp.
void AnchorData::dump | ( | int | indent = 2 | ) |
Definition at line 562 of file qgraphicsanchorlayout_p.cpp.
Referenced by dump().
void AnchorData::refreshSizeHints | ( | const QLayoutStyleInfo * | styleInfo = 0 | ) |
Definition at line 178 of file qgraphicsanchorlayout_p.cpp.
Referenced by QGraphicsAnchorLayoutPrivate::createCenterAnchors(), QGraphicsAnchorLayoutPrivate::createItemEdges(), QGraphicsAnchorLayoutPrivate::refreshAllSizeHints(), and QGraphicsAnchorLayoutPrivate::removeCenterAnchors().
|
inline |
Definition at line 185 of file qgraphicsanchorlayout_p.h.
Referenced by ParallelAnchorData::ParallelAnchorData(), and GraphPath::toString().
|
inlinevirtual |
Reimplemented in ParallelAnchorData, and SequentialAnchorData.
Definition at line 137 of file qgraphicsanchorlayout_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::updateAnchorSizes(), and SequentialAnchorData::updateChildrenSizes().
uint AnchorData::dependency |
Definition at line 181 of file qgraphicsanchorlayout_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::constraintsFromSizeHints(), and QGraphicsAnchorLayoutPrivate::createCenterAnchors().
AnchorVertex* AnchorData::from |
Definition at line 147 of file qgraphicsanchorlayout_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::addAnchor_helper(), QGraphicsAnchorLayoutPrivate::addAnchorMaybeParallel(), SequentialAnchorData::calculateSizeHints(), createSequence(), QGraphicsAnchorLayoutPrivate::findPaths(), QGraphicsAnchorLayoutPrivate::interpolateEdge(), ParallelAnchorData::ParallelAnchorData(), QGraphicsAnchorLayoutPrivate::replaceVertex(), replaceVertex_helper(), QGraphicsAnchorLayoutPrivate::restoreSimplifiedAnchor(), QGraphicsAnchorLayoutPrivate::restoreVertices(), SequentialAnchorData::updateChildrenSizes(), and QGraphicsAnchorPrivate::~QGraphicsAnchorPrivate().
QGraphicsAnchor* AnchorData::graphicsAnchor |
Definition at line 175 of file qgraphicsanchorlayout_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::acquireGraphicsAnchor(), QGraphicsAnchorLayoutPrivate::getAnchor(), and QGraphicsAnchorPrivate::~QGraphicsAnchorPrivate().
uint AnchorData::isCenterAnchor |
Definition at line 179 of file qgraphicsanchorlayout_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::addAnchorMaybeParallel(), QGraphicsAnchorLayoutPrivate::createCenterAnchors(), QGraphicsAnchorLayoutPrivate::restoreSimplifiedConstraints(), and QGraphicsAnchorLayoutPrivate::simplifyGraphIteration().
uint AnchorData::isLayoutAnchor |
Definition at line 178 of file qgraphicsanchorlayout_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::addAnchor_helper(), and QGraphicsAnchorLayoutPrivate::solvePreferred().
QGraphicsLayoutItem* AnchorData::item |
Definition at line 174 of file qgraphicsanchorlayout_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::addAnchor_helper(), and QGraphicsAnchorLayoutPrivate::identifyNonFloatItems_helper().
qreal AnchorData::maxPrefSize |
Definition at line 161 of file qgraphicsanchorlayout_p.h.
Referenced by SequentialAnchorData::calculateSizeHints(), QGraphicsAnchorLayoutPrivate::solvePreferred(), and SequentialAnchorData::updateChildrenSizes().
qreal AnchorData::maxSize |
Definition at line 158 of file qgraphicsanchorlayout_p.h.
Referenced by SequentialAnchorData::calculateSizeHints(), QGraphicsAnchorLayoutPrivate::constraintsFromSizeHints(), QGraphicsAnchorLayoutPrivate::createLayoutEdges(), QGraphicsAnchorLayoutPrivate::simplifyVertices(), QGraphicsAnchorLayoutPrivate::solvePreferred(), and SequentialAnchorData::updateChildrenSizes().
qreal AnchorData::minPrefSize |
Definition at line 160 of file qgraphicsanchorlayout_p.h.
Referenced by SequentialAnchorData::calculateSizeHints(), QGraphicsAnchorLayoutPrivate::solvePreferred(), and SequentialAnchorData::updateChildrenSizes().
qreal AnchorData::minSize |
Definition at line 156 of file qgraphicsanchorlayout_p.h.
Referenced by SequentialAnchorData::calculateSizeHints(), QGraphicsAnchorLayoutPrivate::constraintsFromSizeHints(), QGraphicsAnchorLayoutPrivate::simplifyVertices(), QGraphicsAnchorLayoutPrivate::solvePreferred(), and SequentialAnchorData::updateChildrenSizes().
QString AnchorData::name |
Definition at line 143 of file qgraphicsanchorlayout_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::addAnchor_helper(), and QGraphicsAnchorLayoutPrivate::replaceVertex().
uint AnchorData::orientation |
Definition at line 180 of file qgraphicsanchorlayout_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::addAnchor_helper(), QGraphicsAnchorLayoutPrivate::addAnchorMaybeParallel(), QGraphicsAnchorLayoutPrivate::constraintsFromSizeHints(), QGraphicsAnchorLayoutPrivate::interpolateEdge(), ParallelAnchorData::ParallelAnchorData(), and QGraphicsAnchorLayoutPrivate::restoreSimplifiedAnchor().
qreal AnchorData::prefSize |
Definition at line 157 of file qgraphicsanchorlayout_p.h.
Referenced by SequentialAnchorData::calculateSizeHints(), QGraphicsAnchorLayoutPrivate::solvePreferred(), and SequentialAnchorData::updateChildrenSizes().
qreal AnchorData::sizeAtMaximum |
Definition at line 169 of file qgraphicsanchorlayout_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::calculateNonTrunk(), QGraphicsAnchorLayoutPrivate::interpolateEdge(), QGraphicsAnchorLayoutPrivate::solveMinMax(), and SequentialAnchorData::updateChildrenSizes().
qreal AnchorData::sizeAtMinimum |
Definition at line 167 of file qgraphicsanchorlayout_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::calculateNonTrunk(), QGraphicsAnchorLayoutPrivate::interpolateEdge(), QGraphicsAnchorLayoutPrivate::solveMinMax(), and SequentialAnchorData::updateChildrenSizes().
qreal AnchorData::sizeAtPreferred |
Definition at line 168 of file qgraphicsanchorlayout_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::calculateNonTrunk(), QGraphicsAnchorLayoutPrivate::calculateTrunk(), QGraphicsAnchorLayoutPrivate::interpolateEdge(), QGraphicsAnchorLayoutPrivate::solvePreferred(), and SequentialAnchorData::updateChildrenSizes().
AnchorVertex* AnchorData::to |
Definition at line 148 of file qgraphicsanchorlayout_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::addAnchor_helper(), QGraphicsAnchorLayoutPrivate::addAnchorMaybeParallel(), SequentialAnchorData::calculateSizeHints(), createSequence(), QGraphicsAnchorLayoutPrivate::interpolateEdge(), ParallelAnchorData::ParallelAnchorData(), QGraphicsAnchorLayoutPrivate::replaceVertex(), replaceVertex_helper(), QGraphicsAnchorLayoutPrivate::restoreSimplifiedAnchor(), QGraphicsAnchorLayoutPrivate::restoreVertices(), SequentialAnchorData::updateChildrenSizes(), and QGraphicsAnchorPrivate::~QGraphicsAnchorPrivate().
uint AnchorData::type |
Definition at line 177 of file qgraphicsanchorlayout_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::identifyNonFloatItems_helper(), QGraphicsAnchorLayoutPrivate::restoreSimplifiedAnchor(), and QGraphicsAnchorLayoutPrivate::restoreSimplifiedGraph().