![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
QGridLayoutPrivate () | |
void | add (QGridBox *, int row, int col) |
void | add (QGridBox *, int row1, int row2, int col1, int col2) |
QSize | sizeHint (int hSpacing, int vSpacing) const |
QSize | minimumSize (int hSpacing, int vSpacing) const |
QSize | maximumSize (int hSpacing, int vSpacing) const |
Qt::Orientations | expandingDirections (int hSpacing, int vSpacing) const |
void | distribute (QRect rect, int hSpacing, int vSpacing) |
int | numRows () const |
int | numCols () const |
void | expand (int rows, int cols) |
void | setRowStretch (int r, int s) |
void | setColStretch (int c, int s) |
int | rowStretch (int r) const |
int | colStretch (int c) const |
void | setRowMinimumHeight (int r, int s) |
void | setColumnMinimumWidth (int c, int s) |
int | rowSpacing (int r) const |
int | colSpacing (int c) const |
void | setReversed (bool r, bool c) |
bool | horReversed () const |
bool | verReversed () const |
void | setDirty () |
bool | isDirty () const |
bool | hasHeightForWidth (int hSpacing, int vSpacing) |
int | heightForWidth (int width, int hSpacing, int vSpacing) |
int | minimumHeightForWidth (int width, int hSpacing, int vSpacing) |
void | getNextPos (int &row, int &col) |
int | count () const |
QRect | cellRect (int row, int col) const |
QLayoutItem * | itemAt (int index) const |
QLayoutItem * | takeAt (int index) |
QLayoutItem * | replaceAt (int index, QLayoutItem *newitem) override |
void | getItemPosition (int index, int *row, int *column, int *rowSpan, int *columnSpan) const |
void | deleteAll () |
![]() | |
QLayoutPrivate () | |
void | getMargin (int *result, int userMargin, QStyle::PixelMetric pm) const |
void | doResize () |
void | reparentChildWidgets (QWidget *mw) |
bool | checkWidget (QWidget *widget) const |
Returns true if the widget can be added to the layout; otherwise returns false . | |
bool | checkLayout (QLayout *otherLayout) const |
Returns true if the otherLayout can be added to the layout; otherwise returns false . | |
virtual QLayoutItem * | replaceAt (int, QLayoutItem *) |
![]() | |
void | ensureExtraData () |
QObjectPrivate (int version=QObjectPrivateVersion) | |
virtual | ~QObjectPrivate () |
void | deleteChildren () |
void | clearBindingStorage () |
void | checkForIncompatibleLibraryVersion (int version) const |
void | setParent_helper (QObject *) |
void | moveToThread_helper () |
void | setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status) |
void | _q_reregisterTimers (void *pointer) |
bool | isSender (const QObject *receiver, const char *signal) const |
QObjectList | receiverList (const char *signal) const |
QObjectList | senderList () const |
void | ensureConnectionData () |
void | addConnection (int signal, Connection *c) |
int | signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const |
bool | isSignalConnected (uint signalIdx, bool checkDeclarative=true) const |
bool | maybeSignalConnected (uint signalIndex) const |
bool | isDeclarativeSignalConnected (uint signalIdx) const |
void | connectNotify (const QMetaMethod &signal) |
void | disconnectNotify (const QMetaMethod &signal) |
void | reinitBindingStorageAfterThreadMove () |
virtual std::string | flagsForDumping () const |
QtPrivate::QPropertyAdaptorSlotObject * | getPropertyAdaptorSlotObject (const QMetaProperty &property) |
![]() | |
QObjectData ()=default | |
virtual | ~QObjectData ()=0 |
QMetaObject * | dynamicMetaObject () const |
Definition at line 70 of file qgridlayout.cpp.
QGridLayoutPrivate::QGridLayoutPrivate | ( | ) |
Definition at line 303 of file qgridlayout.cpp.
References setDirty().
Definition at line 518 of file qgridlayout.cpp.
References QList< T >::append(), expand(), and setDirty().
Referenced by add().
Definition at line 528 of file qgridlayout.cpp.
References add(), QList< T >::append(), expand(), Q_UNLIKELY, qMax(), qWarning, and setDirty().
QRect QGridLayoutPrivate::cellRect | ( | int | row, |
int | col | ||
) | const |
Definition at line 946 of file qgridlayout.cpp.
References QList< T >::at(), QLayoutStruct::pos, and QLayoutStruct::size.
|
inline |
Definition at line 100 of file qgridlayout.cpp.
References QList< T >::at().
|
inline |
Definition at line 94 of file qgridlayout.cpp.
References QList< T >::at().
|
inline |
Definition at line 112 of file qgridlayout.cpp.
References QList< T >::size().
void QGridLayoutPrivate::deleteAll | ( | ) |
Definition at line 333 of file qgridlayout.cpp.
References QList< T >::isEmpty(), and QList< T >::takeFirst().
Definition at line 895 of file qgridlayout.cpp.
References QList< T >::at(), QRect::bottom(), c2, i, QObjectData::parent, QLayoutStruct::pos, qGeomCalc(), r2, QLayoutPrivate::rect, QRect::right(), QList< T >::size(), and QLayoutStruct::size.
|
inline |
Definition at line 87 of file qgridlayout.cpp.
References qMax().
Referenced by add(), add(), setColStretch(), setColumnMinimumWidth(), setRowMinimumHeight(), and setRowStretch().
Qt::Orientations QGridLayoutPrivate::expandingDirections | ( | int | hSpacing, |
int | vSpacing | ||
) | const |
Definition at line 419 of file qgridlayout.cpp.
References QList< T >::at(), QLayoutStruct::expansive, Qt::Horizontal, ret, and Qt::Vertical.
|
inline |
Definition at line 150 of file qgridlayout.cpp.
References QList< T >::at(), and QList< T >::size().
|
inline |
Definition at line 111 of file qgridlayout.cpp.
bool QGridLayoutPrivate::hasHeightForWidth | ( | int | hSpacing, |
int | vSpacing | ||
) |
Definition at line 340 of file qgridlayout.cpp.
int QGridLayoutPrivate::heightForWidth | ( | int | width, |
int | hSpacing, | ||
int | vSpacing | ||
) |
Definition at line 374 of file qgridlayout.cpp.
References qGeomCalc().
Referenced by QGridLayout::heightForWidth(), and minimumHeightForWidth().
|
inline |
Definition at line 103 of file qgridlayout.cpp.
|
inline |
Definition at line 106 of file qgridlayout.cpp.
|
inline |
Definition at line 115 of file qgridlayout.cpp.
References QList< T >::at(), QGridBox::item(), and QList< T >::size().
QSize QGridLayoutPrivate::maximumSize | ( | int | hSpacing, |
int | vSpacing | ||
) | const |
Definition at line 445 of file qgridlayout.cpp.
References QLayoutStruct::maximumSize.
int QGridLayoutPrivate::minimumHeightForWidth | ( | int | width, |
int | hSpacing, | ||
int | vSpacing | ||
) |
Definition at line 390 of file qgridlayout.cpp.
References heightForWidth(), and void.
Referenced by QGridLayout::minimumHeightForWidth().
QSize QGridLayoutPrivate::minimumSize | ( | int | hSpacing, |
int | vSpacing | ||
) | const |
Definition at line 450 of file qgridlayout.cpp.
References QLayoutStruct::minimumSize.
|
inline |
Definition at line 86 of file qgridlayout.cpp.
|
inline |
Definition at line 85 of file qgridlayout.cpp.
|
inlineoverridevirtual |
Reimplemented from QLayoutPrivate.
Definition at line 137 of file qgridlayout.cpp.
References item, and QList< T >::value().
|
inline |
Definition at line 99 of file qgridlayout.cpp.
References QList< T >::at().
|
inline |
Definition at line 93 of file qgridlayout.cpp.
References QList< T >::at().
|
inline |
Definition at line 91 of file qgridlayout.cpp.
References expand(), and setDirty().
|
inline |
Definition at line 97 of file qgridlayout.cpp.
References expand(), and setDirty().
|
inline |
Definition at line 105 of file qgridlayout.cpp.
Referenced by QGridLayoutPrivate(), add(), add(), setColStretch(), setColumnMinimumWidth(), setRowMinimumHeight(), and setRowStretch().
|
inline |
Definition at line 102 of file qgridlayout.cpp.
|
inline |
Definition at line 95 of file qgridlayout.cpp.
References expand(), and setDirty().
|
inline |
Definition at line 89 of file qgridlayout.cpp.
References expand(), and setDirty().
QSize QGridLayoutPrivate::sizeHint | ( | int | hSpacing, |
int | vSpacing | ||
) | const |
Definition at line 440 of file qgridlayout.cpp.
References QLayoutStruct::sizeHint.
|
inline |
Definition at line 121 of file qgridlayout.cpp.
References item, QList< T >::size(), and QList< T >::takeAt().
|
inline |
Definition at line 104 of file qgridlayout.cpp.