![]() |
Qt 6.x
The Qt SDK
|
#include "qglobal.h"
#include "qgridlayoutengine_p.h"
#include "qvarlengtharray.h"
#include <QtDebug>
#include <QtCore/qmath.h>
Go to the source code of this file.
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) |
|
static |
Definition at line 48 of file qgridlayoutengine.cpp.
References MaximumSize, and QGridLayoutBox::q_sizes().
Definition at line 35 of file qgridlayoutengine.cpp.
References Q_ASSERT.
Referenced by QGridLayoutRowData::calculateGeometries().
|
static |
Definition at line 29 of file qgridlayoutengine.cpp.
References Q_ASSERT, and qPow().
Referenced by QGridLayoutRowData::calculateGeometries().
|
static |
Definition at line 17 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 107 of file qgridlayoutengine.cpp.
References i, NSizes, QGridLayoutBox::q_minimumAscent, QGridLayoutBox::q_minimumDescent, and QGridLayoutBox::q_sizes().
Referenced by operator!=().
|
static |
Definition at line 1012 of file qgridlayoutengine.cpp.
References dir, QRectF::left(), QRectF::moveRight(), QRectF::right(), and Qt::RightToLeft.
Referenced by QWindowsVistaStyle::drawControl(), QGridLayoutEngine::setGeometries(), QWindowsVistaStyle::subControlRect(), QAndroidStyle::subControlRect(), QWindowsVistaStyle::subElementRect(), QAndroidStyle::AndroidControl::subElementRect(), and QAndroidStyle::AndroidProgressBarControl::subElementRect().