![]() |
Qt 6.x
The Qt SDK
|
#include "qapplication.h"
#include "qdebug.h"
#include "qformlayout.h"
#include "qlabel.h"
#include "qlayout_p.h"
#include "qlayoutengine_p.h"
#include "qlist.h"
#include "qrect.h"
#include "qwidget.h"
#include "moc_qformlayout.cpp"
Go to the source code of this file.
Classes | |
class | QtPrivate::FixedColumnMatrix< T, NumColumns > |
struct | QFormLayoutItem |
class | QFormLayoutPrivate |
Namespaces | |
namespace | QtPrivate |
\macro QT_NAMESPACE | |
Functions | |
static void | hideOrShowWidgetsInLayout (QLayout *layout, bool on) |
static Qt::Alignment | fixedAlignment (Qt::Alignment alignment, Qt::LayoutDirection layoutDirection) |
static int | storageIndexFromLayoutItem (const QFormLayoutPrivate::ItemMatrix &m, QFormLayoutItem *item) |
static void | updateFormLayoutItem (QFormLayoutItem *item, int userVSpacing, QFormLayout::FieldGrowthPolicy fieldGrowthPolicy, bool fullRow) |
static int | spacingHelper (QWidget *parent, QStyle *style, int userVSpacing, bool recalculate, QFormLayoutItem *item1, QFormLayoutItem *item2, QFormLayoutItem *prevItem1, QFormLayoutItem *prevItem2) |
static void | initLayoutStruct (QLayoutStruct &sl, QFormLayoutItem *item) |
static QLayoutItem * | ownershipCleanedItem (QFormLayoutItem *item, QFormLayout *layout) |
static void | clearAndDestroyQLayoutItem (QLayoutItem *item) |
Variables | |
const uint | DefaultFieldGrowthPolicy = 255 |
const uint | DefaultRowWrapPolicy = 255 |
|
static |
Definition at line 1421 of file qformlayout.cpp.
References child, clearAndDestroyQLayoutItem(), item, layout, Q_LIKELY, and QBoxLayout::takeAt().
Referenced by clearAndDestroyQLayoutItem(), QFormLayout::removeRow(), QFormLayout::removeRow(), and QFormLayout::removeRow().
|
static |
Definition at line 229 of file qformlayout.cpp.
References Qt::AlignAbsolute, Qt::AlignLeft, alignment, Qt::AlignRight, and Qt::RightToLeft.
Referenced by QFormLayoutPrivate::arrangeWidgets().
Definition at line 121 of file qformlayout.cpp.
References QBoxLayout::count(), hideOrShowWidgetsInLayout(), i, item, QBoxLayout::itemAt(), layout, QWidget::setVisible(), and widget.
Referenced by hideOrShowWidgetsInLayout(), and QFormLayoutItem::setVisible().
|
inlinestatic |
Definition at line 623 of file qformlayout.cpp.
References QLayoutStruct::empty, QLayoutStruct::expansive, QLayoutStruct::init(), item, QLayoutStruct::maximumSize, QLayoutStruct::sizeHint, and Qt::Vertical.
Referenced by QFormLayoutPrivate::setupVerticalLayoutData().
|
static |
Definition at line 1402 of file qformlayout.cpp.
References i, item, and layout.
Referenced by QFormLayout::takeAt(), and QFormLayout::takeRow().
|
inlinestatic |
Definition at line 582 of file qformlayout.cpp.
References QStyle::combinedLayoutSpacing(), QFormLayoutItem::controlTypes(), QSizePolicy::DefaultType, QFormLayoutItem::geometry(), QWidget::geometry, QFormLayoutItem::item, parent, qMax(), spacing, QRect::top(), Qt::Vertical, QFormLayoutItem::vSpace, and QLayoutItem::widget().
Referenced by QFormLayoutPrivate::setupVerticalLayoutData().
|
static |
Definition at line 241 of file qformlayout.cpp.
References item.
Referenced by QFormLayout::getItemPosition(), QFormLayoutPrivate::replaceAt(), and QFormLayout::takeAt().
|
static |
Definition at line 251 of file qformlayout.cpp.
References QFormLayout::ExpandingFieldsGrow, QFormLayout::FieldsStayAtSizeHint, Qt::Horizontal, and item.
Referenced by QFormLayoutPrivate::updateSizes().
const uint DefaultFieldGrowthPolicy = 255 |
Definition at line 68 of file qformlayout.cpp.
Referenced by QFormLayout::fieldGrowthPolicy().
const uint DefaultRowWrapPolicy = 255 |
Definition at line 69 of file qformlayout.cpp.
Referenced by QFormLayout::rowWrapPolicy().