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
QLayoutStruct Struct Reference

#include <qlayoutengine_p.h>

+ Collaboration diagram for QLayoutStruct:

Public Member Functions

void init (int stretchFactor=0, int minSize=0)
 
int smartSizeHint ()
 
int effectiveSpacer (int uniformSpacer) const
 

Public Attributes

int stretch
 
int sizeHint
 
int maximumSize
 
int minimumSize
 
int spacing
 
bool expansive
 
bool empty
 
bool done
 
int pos
 
int size
 

Detailed Description

Definition at line 25 of file qlayoutengine_p.h.

Member Function Documentation

◆ effectiveSpacer()

int QLayoutStruct::effectiveSpacer ( int uniformSpacer) const
inline

Definition at line 39 of file qlayoutengine_p.h.

References Q_ASSERT, and spacing.

◆ init()

void QLayoutStruct::init ( int stretchFactor = 0,
int minSize = 0 )
inline

Definition at line 27 of file qlayoutengine_p.h.

References empty, expansive, maximumSize, minimumSize, QLAYOUTSIZE_MAX, sizeHint, spacing, and stretch.

Referenced by QDockAreaLayoutInfo::fitItems().

+ Here is the caller graph for this function:

◆ smartSizeHint()

int QLayoutStruct::smartSizeHint ( )
inline

Definition at line 36 of file qlayoutengine_p.h.

References minimumSize, sizeHint, and stretch.

Member Data Documentation

◆ done

bool QLayoutStruct::done

Definition at line 54 of file qlayoutengine_p.h.

◆ empty

bool QLayoutStruct::empty

Definition at line 51 of file qlayoutengine_p.h.

Referenced by init().

◆ expansive

bool QLayoutStruct::expansive

Definition at line 50 of file qlayoutengine_p.h.

Referenced by QGridLayoutPrivate::expandingDirections(), and init().

◆ maximumSize

int QLayoutStruct::maximumSize

Definition at line 47 of file qlayoutengine_p.h.

Referenced by init(), and QGridLayoutPrivate::maximumSize().

◆ minimumSize

◆ pos

int QLayoutStruct::pos

◆ size

int QLayoutStruct::size

◆ sizeHint

◆ spacing

int QLayoutStruct::spacing

◆ stretch

int QLayoutStruct::stretch

Definition at line 45 of file qlayoutengine_p.h.

Referenced by init(), and smartSizeHint().


The documentation for this struct was generated from the following file: