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
QFormLayoutItem Struct Reference
Collaboration diagram for QFormLayoutItem:

Public Member Functions

 QFormLayoutItem (QLayoutItem *i)
 ~QFormLayoutItem ()
QWidgetwidget () const
QLayoutlayout () const
bool hasHeightForWidth () const
int heightForWidth (int width) const
int minimumHeightForWidth (int width) const
Qt::Orientations expandingDirections () const
QSizePolicy::ControlTypes controlTypes () const
int vStretch () const
void setGeometry (const QRect &r)
QRect geometry () const
void setVisible (bool on)
bool isHidden () const
bool operator== (const QFormLayoutItem &other)
 QFormLayoutItem (QLayoutItem *i)
 ~QFormLayoutItem ()
QWidgetwidget () const
QLayoutlayout () const
bool hasHeightForWidth () const
int heightForWidth (int width) const
int minimumHeightForWidth (int width) const
Qt::Orientations expandingDirections () const
QSizePolicy::ControlTypes controlTypes () const
int vStretch () const
void setGeometry (const QRect &r)
QRect geometry () const
void setVisible (bool on)
bool isHidden () const
bool operator== (const QFormLayoutItem &other)

Public Attributes

QLayoutItemitem = nullptr
bool fullRow = false
bool isVisible = true
bool isHfw = false
QSize minSize
QSize sizeHint
QSize maxSize
int sbsHSpace = -1
int vSpace = -1
bool sideBySide = false
int vLayoutIndex = -1
int layoutPos = -1
int layoutWidth = -1

Detailed Description

Definition at line 74 of file qformlayout.cpp.

Constructor & Destructor Documentation

◆ QFormLayoutItem() [1/2]

QFormLayoutItem::QFormLayoutItem ( QLayoutItem * i)
inline

Definition at line 76 of file qformlayout.cpp.

References item.

Referenced by QFormLayoutPrivate::setItem().

Here is the caller graph for this function:

◆ ~QFormLayoutItem() [1/2]

QFormLayoutItem::~QFormLayoutItem ( )
inline

Definition at line 77 of file qformlayout.cpp.

References item.

◆ QFormLayoutItem() [2/2]

QFormLayoutItem::QFormLayoutItem ( QLayoutItem * i)
inline

Definition at line 76 of file qformlayout.cpp.

◆ ~QFormLayoutItem() [2/2]

QFormLayoutItem::~QFormLayoutItem ( )
inline

Definition at line 77 of file qformlayout.cpp.

Member Function Documentation

◆ controlTypes() [1/2]

QSizePolicy::ControlTypes QFormLayoutItem::controlTypes ( ) const
inline

Definition at line 87 of file qformlayout.cpp.

References item.

◆ controlTypes() [2/2]

QSizePolicy::ControlTypes QFormLayoutItem::controlTypes ( ) const
inline

Definition at line 87 of file qformlayout.cpp.

◆ expandingDirections() [1/2]

Qt::Orientations QFormLayoutItem::expandingDirections ( ) const
inline

Definition at line 86 of file qformlayout.cpp.

References item.

◆ expandingDirections() [2/2]

Qt::Orientations QFormLayoutItem::expandingDirections ( ) const
inline

Definition at line 86 of file qformlayout.cpp.

◆ geometry() [1/2]

QRect QFormLayoutItem::geometry ( ) const
inline

Definition at line 91 of file qformlayout.cpp.

References item.

◆ geometry() [2/2]

QRect QFormLayoutItem::geometry ( ) const
inline

Definition at line 91 of file qformlayout.cpp.

◆ hasHeightForWidth() [1/2]

bool QFormLayoutItem::hasHeightForWidth ( ) const
inline

Definition at line 83 of file qformlayout.cpp.

References item.

◆ hasHeightForWidth() [2/2]

bool QFormLayoutItem::hasHeightForWidth ( ) const
inline

Definition at line 83 of file qformlayout.cpp.

◆ heightForWidth() [1/2]

int QFormLayoutItem::heightForWidth ( int width) const
inline

Definition at line 84 of file qformlayout.cpp.

References item.

Referenced by QFormLayoutPrivate::setupHfwLayoutData().

Here is the caller graph for this function:

◆ heightForWidth() [2/2]

int QFormLayoutItem::heightForWidth ( int width) const
inline

Definition at line 84 of file qformlayout.cpp.

◆ isHidden() [1/2]

bool QFormLayoutItem::isHidden ( ) const
inline

Definition at line 94 of file qformlayout.cpp.

Referenced by QFormLayoutPrivate::updateSizes().

Here is the caller graph for this function:

◆ isHidden() [2/2]

bool QFormLayoutItem::isHidden ( ) const
inline

Definition at line 94 of file qformlayout.cpp.

◆ layout() [1/2]

QLayout * QFormLayoutItem::layout ( ) const
inline

Definition at line 81 of file qformlayout.cpp.

References item.

Referenced by setVisible().

Here is the caller graph for this function:

◆ layout() [2/2]

QLayout * QFormLayoutItem::layout ( ) const
inline

Definition at line 81 of file qformlayout.cpp.

◆ minimumHeightForWidth() [1/2]

int QFormLayoutItem::minimumHeightForWidth ( int width) const
inline

Definition at line 85 of file qformlayout.cpp.

References item.

◆ minimumHeightForWidth() [2/2]

int QFormLayoutItem::minimumHeightForWidth ( int width) const
inline

Definition at line 85 of file qformlayout.cpp.

◆ operator==() [1/2]

bool QFormLayoutItem::operator== ( const QFormLayoutItem & other)
inline

Definition at line 97 of file qformlayout.cpp.

References item.

◆ operator==() [2/2]

bool QFormLayoutItem::operator== ( const QFormLayoutItem & other)
inline

Definition at line 97 of file qformlayout.cpp.

◆ setGeometry() [1/2]

void QFormLayoutItem::setGeometry ( const QRect & r)
inline

Definition at line 90 of file qformlayout.cpp.

References item.

◆ setGeometry() [2/2]

void QFormLayoutItem::setGeometry ( const QRect & r)
inline

Definition at line 90 of file qformlayout.cpp.

◆ setVisible() [1/2]

void QFormLayoutItem::setVisible ( bool on)

Definition at line 133 of file qformlayout.cpp.

References hideOrShowWidgetsInLayout(), isVisible, and layout().

Here is the call graph for this function:

◆ setVisible() [2/2]

void QFormLayoutItem::setVisible ( bool on)

◆ vStretch() [1/2]

int QFormLayoutItem::vStretch ( ) const
inline

Definition at line 88 of file qformlayout.cpp.

Referenced by initLayoutStruct(), and QFormLayoutPrivate::setupVerticalLayoutData().

Here is the caller graph for this function:

◆ vStretch() [2/2]

int QFormLayoutItem::vStretch ( ) const
inline

Definition at line 88 of file qformlayout.cpp.

◆ widget() [1/2]

QWidget * QFormLayoutItem::widget ( ) const
inline

Definition at line 80 of file qformlayout.cpp.

References item.

◆ widget() [2/2]

QWidget * QFormLayoutItem::widget ( ) const
inline

Definition at line 80 of file qformlayout.cpp.

Member Data Documentation

◆ fullRow

◆ isHfw

bool QFormLayoutItem::isHfw = false

◆ isVisible

bool QFormLayoutItem::isVisible = true

Definition at line 101 of file qformlayout.cpp.

Referenced by setVisible().

◆ item

◆ layoutPos

int QFormLayoutItem::layoutPos = -1

◆ layoutWidth

◆ maxSize

QSize QFormLayoutItem::maxSize

Definition at line 107 of file qformlayout.cpp.

◆ minSize

QSize QFormLayoutItem::minSize

Definition at line 105 of file qformlayout.cpp.

◆ sbsHSpace

int QFormLayoutItem::sbsHSpace = -1

◆ sideBySide

◆ sizeHint

QSize QFormLayoutItem::sizeHint

Definition at line 106 of file qformlayout.cpp.

◆ vLayoutIndex

int QFormLayoutItem::vLayoutIndex = -1

◆ vSpace

int QFormLayoutItem::vSpace = -1

Definition at line 111 of file qformlayout.cpp.

Referenced by updateFormLayoutItem(), and QFormLayoutPrivate::updateSizes().


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