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>.
Loading...
Searching...
No Matches
qgridlayout.cpp File Reference

(df9d882d41b741fef7c5beeddb0abe9d904443d8)

#include "qapplication.h"
#include "qgridlayout.h"
#include "qlist.h"
#include "qsizepolicy.h"
#include "qvarlengtharray.h"
#include "qwidget.h"
#include "qlayoutengine_p.h"
#include "qlayout_p.h"
#include "moc_qgridlayout.cpp"
+ Include dependency graph for qgridlayout.cpp:

Go to the source code of this file.

Classes

struct  QGridLayoutSizeTriple
 
class  QGridBox
 
class  QGridLayoutPrivate
 

Functions

static void initEmptyMultiBox (QList< QLayoutStruct > &chain, int start, int end)
 
static void distributeMultiBox (QList< QLayoutStruct > &chain, int start, int end, int minSize, int sizeHint, QList< int > &stretchArray, int stretch)
 
static QGridBox *& gridAt (QGridBox *grid[], int r, int c, int cc, Qt::Orientation orientation=Qt::Vertical)
 

Function Documentation

◆ distributeMultiBox()

static void distributeMultiBox ( QList< QLayoutStruct > & chain,
int start,
int end,
int minSize,
int sizeHint,
QList< int > & stretchArray,
int stretch )
static

Definition at line 592 of file qgridlayout.cpp.

References i, pos, qGeomCalc(), qMax(), and spacing.

+ Here is the call graph for this function:

◆ gridAt()

static QGridBox *& gridAt ( QGridBox * grid[],
int r,
int c,
int cc,
Qt::Orientation orientation = Qt::Vertical )
static

Definition at line 657 of file qgridlayout.cpp.

References Qt::Horizontal, and qSwap().

+ Here is the call graph for this function:

◆ initEmptyMultiBox()

static void initEmptyMultiBox ( QList< QLayoutStruct > & chain,
int start,
int end )
static

Definition at line 582 of file qgridlayout.cpp.

References i, and QWIDGETSIZE_MAX.