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
QGridLayoutRowData Class Reference

#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< QGridLayoutBoxboxes
MultiCellMap multiCellMap
QList< int > stretches
QList< qrealspacings
bool hasIgnoreFlag

Detailed Description

Definition at line 203 of file qgridlayoutengine_p.h.

Member Function Documentation

◆ calculateGeometries()

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 173 of file qgridlayoutengine.cpp.

References hasIgnoreFlag.

◆ distributeMultiCells()

void QGridLayoutRowData::distributeMultiCells ( const QGridLayoutRowInfo & rowInfo,
bool snapToPixelGrid )

Definition at line 130 of file qgridlayoutengine.cpp.

References multiCellMap, and NSizes.

◆ reset()

void QGridLayoutRowData::reset ( int count)

Definition at line 120 of file qgridlayoutengine.cpp.

References hasIgnoreFlag, and multiCellMap.

◆ stealBox()

void QGridLayoutRowData::stealBox ( int start,
int end,
int which,
qreal * positions,
qreal * sizes )

Definition at line 436 of file qgridlayoutengine.cpp.

◆ totalBox()

QGridLayoutBox QGridLayoutRowData::totalBox ( int start,
int end ) const

Definition at line 420 of file qgridlayoutengine.cpp.

Member Data Documentation

◆ boxes

QList<QGridLayoutBox> QGridLayoutRowData::boxes

Definition at line 219 of file qgridlayoutengine_p.h.

◆ hasIgnoreFlag

bool QGridLayoutRowData::hasIgnoreFlag

Definition at line 223 of file qgridlayoutengine_p.h.

Referenced by calculateGeometries(), and reset().

◆ ignore

QBitArray QGridLayoutRowData::ignore

Definition at line 218 of file qgridlayoutengine_p.h.

◆ multiCellMap

MultiCellMap QGridLayoutRowData::multiCellMap

Definition at line 220 of file qgridlayoutengine_p.h.

Referenced by distributeMultiCells(), and reset().

◆ spacings

QList<qreal> QGridLayoutRowData::spacings

Definition at line 222 of file qgridlayoutengine_p.h.

◆ stretches

QList<int> QGridLayoutRowData::stretches

Definition at line 221 of file qgridlayoutengine_p.h.


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