![]() |
Qt 6.x
The Qt SDK
|
#include <qgridlayoutengine_p.h>
Collaboration diagram for QGridLayoutRowData:Public Member Functions | |
| void | reset (int count) |
| void | distributeMultiCells (const QGridLayoutRowInfo &rowInfo, bool snapToPixelGrid) |
| void | calculateGeometries (int start, int end, qreal targetSize, qreal *positions, qreal *sizes, qreal *descents, const QGridLayoutBox &totalBox, const QGridLayoutRowInfo &rowInfo, bool snapToPixelGrid) |
| QGridLayoutBox | totalBox (int start, int end) const |
| void | stealBox (int start, int end, int which, qreal *positions, qreal *sizes) |
Public Attributes | |
| QBitArray | ignore |
| QList< QGridLayoutBox > | boxes |
| MultiCellMap | multiCellMap |
| QList< int > | stretches |
| QList< qreal > | spacings |
| bool | hasIgnoreFlag |
Definition at line 200 of file qgridlayoutengine_p.h.
| void QGridLayoutRowData::calculateGeometries | ( | int | start, |
| int | end, | ||
| qreal | targetSize, | ||
| qreal * | positions, | ||
| qreal * | sizes, | ||
| qreal * | descents, | ||
| const QGridLayoutBox & | totalBox, | ||
| const QGridLayoutRowInfo & | rowInfo, | ||
| bool | snapToPixelGrid | ||
| ) |
Definition at line 170 of file qgridlayoutengine.cpp.
References QList< T >::at(), boxes, QGridLayoutRowInfo::boxes, fixedDescent(), growthFactorBelowPreferredSize(), hasIgnoreFlag, i, ignore, MaximumSize, MinimumSize, positions, PreferredSize, Q_ASSERT, QGridLayoutBox::q_maximumSize, QGridLayoutBox::q_minimumSize, QGridLayoutBox::q_preferredSize, qMax(), qMin(), stealBox(), stretches, QBitArray::testBit(), totalBox(), and QList< T >::value().
Referenced by distributeMultiCells(), and QGridLayoutEngine::sizeHint().
Here is the call graph for this function:
Here is the caller graph for this function:| void QGridLayoutRowData::distributeMultiCells | ( | const QGridLayoutRowInfo & | rowInfo, |
| bool | snapToPixelGrid | ||
| ) |
Definition at line 127 of file qgridlayoutengine.cpp.
References boxes, calculateGeometries(), QMap< Key, T >::clear(), compare(), QMap< Key, T >::constBegin(), QMap< Key, T >::constEnd(), QVarLengthArray< T, Prealloc >::data(), i, j, multiCellMap, NSizes, qMax(), stretches, and totalBox().
Here is the call graph for this function:| void QGridLayoutRowData::reset | ( | int | count | ) |
Definition at line 117 of file qgridlayoutengine.cpp.
References boxes, QMap< Key, T >::clear(), QBitArray::fill(), QList< T >::fill(), hasIgnoreFlag, ignore, multiCellMap, spacings, and stretches.
Here is the call graph for this function:| void QGridLayoutRowData::stealBox | ( | int | start, |
| int | end, | ||
| int | which, | ||
| qreal * | positions, | ||
| qreal * | sizes | ||
| ) |
Definition at line 431 of file qgridlayoutengine.cpp.
References QList< T >::at(), boxes, i, ignore, positions, QGridLayoutBox::q_sizes(), spacings, and QBitArray::testBit().
Referenced by calculateGeometries().
Here is the call graph for this function:
Here is the caller graph for this function:| QGridLayoutBox QGridLayoutRowData::totalBox | ( | int | start, |
| int | end | ||
| ) | const |
Definition at line 415 of file qgridlayoutengine.cpp.
References QList< T >::at(), boxes, i, ignore, spacings, stretches, and QBitArray::testBit().
Referenced by calculateGeometries(), and distributeMultiCells().
Here is the call graph for this function:
Here is the caller graph for this function:| QList<QGridLayoutBox> QGridLayoutRowData::boxes |
Definition at line 216 of file qgridlayoutengine_p.h.
Referenced by calculateGeometries(), distributeMultiCells(), reset(), stealBox(), and totalBox().
| bool QGridLayoutRowData::hasIgnoreFlag |
Definition at line 220 of file qgridlayoutengine_p.h.
Referenced by calculateGeometries(), and reset().
| QBitArray QGridLayoutRowData::ignore |
Definition at line 215 of file qgridlayoutengine_p.h.
Referenced by calculateGeometries(), reset(), stealBox(), and totalBox().
| MultiCellMap QGridLayoutRowData::multiCellMap |
Definition at line 217 of file qgridlayoutengine_p.h.
Referenced by distributeMultiCells(), and reset().
Definition at line 219 of file qgridlayoutengine_p.h.
Referenced by reset(), stealBox(), and totalBox().
| QList<int> QGridLayoutRowData::stretches |
Definition at line 218 of file qgridlayoutengine_p.h.
Referenced by calculateGeometries(), distributeMultiCells(), reset(), and totalBox().