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
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)
 

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 73 of file qformlayout.cpp.

Constructor & Destructor Documentation

◆ QFormLayoutItem()

QFormLayoutItem::QFormLayoutItem ( QLayoutItem * i)
inline

Definition at line 75 of file qformlayout.cpp.

◆ ~QFormLayoutItem()

QFormLayoutItem::~QFormLayoutItem ( )
inline

Definition at line 76 of file qformlayout.cpp.

References item.

Member Function Documentation

◆ controlTypes()

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

Definition at line 86 of file qformlayout.cpp.

References QLayoutItem::controlTypes(), and item.

Referenced by QFormLayoutPrivate::updateSizes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ expandingDirections()

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

Definition at line 85 of file qformlayout.cpp.

References QLayoutItem::expandingDirections(), and item.

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

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ geometry()

QRect QFormLayoutItem::geometry ( ) const
inline

Definition at line 90 of file qformlayout.cpp.

References QLayoutItem::geometry(), and item.

+ Here is the call graph for this function:

◆ hasHeightForWidth()

bool QFormLayoutItem::hasHeightForWidth ( ) const
inline

Definition at line 82 of file qformlayout.cpp.

References QLayoutItem::hasHeightForWidth(), and item.

+ Here is the call graph for this function:

◆ heightForWidth()

int QFormLayoutItem::heightForWidth ( int width) const
inline

Definition at line 83 of file qformlayout.cpp.

References QLayoutItem::heightForWidth(), and item.

Referenced by QFormLayoutPrivate::setupHfwLayoutData().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isHidden()

bool QFormLayoutItem::isHidden ( ) const
inline

Definition at line 93 of file qformlayout.cpp.

References QWidget::isHidden(), isVisible, and widget().

Referenced by QFormLayout::isRowVisible(), and QFormLayoutPrivate::updateSizes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ layout()

QLayout * QFormLayoutItem::layout ( ) const
inline

Definition at line 80 of file qformlayout.cpp.

References item, and QLayoutItem::layout().

Referenced by setVisible().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ minimumHeightForWidth()

int QFormLayoutItem::minimumHeightForWidth ( int width) const
inline

Definition at line 84 of file qformlayout.cpp.

References item, and QLayoutItem::minimumHeightForWidth().

+ Here is the call graph for this function:

◆ operator==()

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

Definition at line 96 of file qformlayout.cpp.

References item, and other().

+ Here is the call graph for this function:

◆ setGeometry()

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

Definition at line 89 of file qformlayout.cpp.

References item, and QLayoutItem::setGeometry().

Referenced by QFormLayoutPrivate::arrangeWidgets().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setVisible()

void QFormLayoutItem::setVisible ( bool on)

Definition at line 132 of file qformlayout.cpp.

References hideOrShowWidgetsInLayout(), isVisible, layout(), QWidget::setVisible(), and widget().

Referenced by QFormLayout::setRowVisible().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vStretch()

int QFormLayoutItem::vStretch ( ) const
inline

Definition at line 87 of file qformlayout.cpp.

References QWidget::sizePolicy, QSizePolicy::verticalStretch(), and widget().

Referenced by QFormLayoutPrivate::setupVerticalLayoutData().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ widget()

QWidget * QFormLayoutItem::widget ( ) const
inline

Definition at line 79 of file qformlayout.cpp.

References item, and QLayoutItem::widget().

Referenced by isHidden(), QFormLayout::isRowVisible(), setVisible(), and vStretch().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ fullRow

◆ isHfw

bool QFormLayoutItem::isHfw = false

◆ isVisible

bool QFormLayoutItem::isVisible = true

Definition at line 100 of file qformlayout.cpp.

Referenced by isHidden(), QFormLayout::setRowVisible(), and setVisible().

◆ item

◆ layoutPos

int QFormLayoutItem::layoutPos = -1

◆ layoutWidth

◆ maxSize

◆ minSize

◆ sbsHSpace

int QFormLayoutItem::sbsHSpace = -1

◆ sideBySide

◆ sizeHint

◆ vLayoutIndex

int QFormLayoutItem::vLayoutIndex = -1

◆ vSpace

int QFormLayoutItem::vSpace = -1

Definition at line 110 of file qformlayout.cpp.

Referenced by QFormLayoutPrivate::updateSizes().


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