Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "qglobal.h"
#include "qgridlayoutengine_p.h"
#include "qvarlengtharray.h"
#include <QtDebug>
#include <QtCore/qmath.h>
Go to the source code of this file.
Macros | |
#define | LAYOUTITEMSIZE_MAX (1 << 24) |
Functions | |
template<typename T > | |
static void | insertOrRemoveItems (QList< T > &items, int index, int delta) |
static qreal | growthFactorBelowPreferredSize (qreal desired, qreal sumAvailable, qreal sumDesired) |
static qreal | fixedDescent (qreal descent, qreal ascent, qreal targetSize) |
static qreal | compare (const QGridLayoutBox &box1, const QGridLayoutBox &box2, int which) |
bool | operator== (const QGridLayoutBox &box1, const QGridLayoutBox &box2) |
static void | visualRect (QRectF *geom, Qt::LayoutDirection dir, const QRectF &contentsRect) |
#define LAYOUTITEMSIZE_MAX (1 << 24) |
Definition at line 16 of file qgridlayoutengine.cpp.
Referenced by QGridLayoutRowData::calculateGeometries().
|
static |
Definition at line 50 of file qgridlayoutengine.cpp.
References MaximumSize.
Definition at line 37 of file qgridlayoutengine.cpp.
References Q_ASSERT.
Referenced by QGridLayoutRowData::calculateGeometries().
|
static |
Definition at line 31 of file qgridlayoutengine.cpp.
References Q_ASSERT, and qPow().
Referenced by QGridLayoutRowData::calculateGeometries().
|
static |
Definition at line 19 of file qgridlayoutengine.cpp.
References QList< T >::insert(), items, qMin(), QList< T >::remove(), and QList< T >::size().
Referenced by QGridLayoutRowInfo::insertOrRemoveRows().
bool operator== | ( | const QGridLayoutBox & | box1, |
const QGridLayoutBox & | box2 ) |
Definition at line 109 of file qgridlayoutengine.cpp.
Referenced by operator!=().
|
static |
Definition at line 1019 of file qgridlayoutengine.cpp.
References dir, QRectF::left(), QRectF::moveRight(), QRectF::right(), and Qt::RightToLeft.
Referenced by QWindows11Style::drawControl(), QWindowsVistaStyle::drawControl(), QGridLayoutEngine::setGeometries(), QWindowsVistaStyle::subControlRect(), QAndroidStyle::subControlRect(), QWindows11Style::subControlRect(), QWindowsVistaStyle::subElementRect(), QAndroidStyle::AndroidControl::subElementRect(), QAndroidStyle::AndroidProgressBarControl::subElementRect(), and QTreeViewPrivate::visualRect().