Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QBoxLayoutItem Struct Reference
Collaboration diagram for QBoxLayoutItem:

Public Member Functions

 QBoxLayoutItem (QLayoutItem *it, int stretch_=0)
 ~QBoxLayoutItem ()
int hfw (int w)
int mhfw (int w)
int hStretch ()
int vStretch ()
 QBoxLayoutItem (QLayoutItem *it, int stretch_=0)
 ~QBoxLayoutItem ()
int hfw (int w)
int mhfw (int w)
int hStretch ()
int vStretch ()

Public Attributes

QLayoutItem * item
int stretch
bool magic

Detailed Description

Definition at line 16 of file qboxlayout.cpp.

Constructor & Destructor Documentation

◆ QBoxLayoutItem() [1/2]

QBoxLayoutItem::QBoxLayoutItem ( QLayoutItem * it,
int stretch_ = 0 )
inline

Definition at line 18 of file qboxlayout.cpp.

References item, magic, and stretch.

◆ ~QBoxLayoutItem() [1/2]

QBoxLayoutItem::~QBoxLayoutItem ( )
inline

Definition at line 20 of file qboxlayout.cpp.

References item.

◆ QBoxLayoutItem() [2/2]

QBoxLayoutItem::QBoxLayoutItem ( QLayoutItem * it,
int stretch_ = 0 )
inline

Definition at line 18 of file qboxlayout.cpp.

◆ ~QBoxLayoutItem() [2/2]

QBoxLayoutItem::~QBoxLayoutItem ( )
inline

Definition at line 20 of file qboxlayout.cpp.

Member Function Documentation

◆ hfw() [1/2]

int QBoxLayoutItem::hfw ( int w)
inline

Definition at line 22 of file qboxlayout.cpp.

References item.

Referenced by QBoxLayoutPrivate::calcHfw().

Here is the caller graph for this function:

◆ hfw() [2/2]

int QBoxLayoutItem::hfw ( int w)
inline

Definition at line 22 of file qboxlayout.cpp.

◆ hStretch() [1/2]

int QBoxLayoutItem::hStretch ( )
inline

Definition at line 36 of file qboxlayout.cpp.

References item, and stretch.

Referenced by QBoxLayoutPrivate::setupGeom().

Here is the caller graph for this function:

◆ hStretch() [2/2]

int QBoxLayoutItem::hStretch ( )
inline

Definition at line 36 of file qboxlayout.cpp.

◆ mhfw() [1/2]

int QBoxLayoutItem::mhfw ( int w)
inline

Definition at line 29 of file qboxlayout.cpp.

References item.

Referenced by QBoxLayoutPrivate::calcHfw().

Here is the caller graph for this function:

◆ mhfw() [2/2]

int QBoxLayoutItem::mhfw ( int w)
inline

Definition at line 29 of file qboxlayout.cpp.

◆ vStretch() [1/2]

int QBoxLayoutItem::vStretch ( )
inline

Definition at line 43 of file qboxlayout.cpp.

References item, and stretch.

Referenced by QBoxLayoutPrivate::setupGeom().

Here is the caller graph for this function:

◆ vStretch() [2/2]

int QBoxLayoutItem::vStretch ( )
inline

Definition at line 43 of file qboxlayout.cpp.

Member Data Documentation

◆ item

◆ magic

bool QBoxLayoutItem::magic

Definition at line 53 of file qboxlayout.cpp.

Referenced by QBoxLayoutItem().

◆ stretch

int QBoxLayoutItem::stretch

Definition at line 52 of file qboxlayout.cpp.

Referenced by QBoxLayoutItem(), hStretch(), QBoxLayoutPrivate::setupGeom(), and vStretch().


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