Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qgridlayout.cpp File Reference
#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 QList< T >::at(), i, pos, qGeomCalc(), qMax(), QList< T >::size(), 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.