![]() |
Qt 6.x
The Qt SDK
|
Go to the source code of this file.
Functions | |
| formLayout | addRow (tr("&Name:"), nameLineEdit) |
| formLayout | addRow (tr("&Email:"), emailLineEdit) |
| formLayout | addRow (tr("&Age:"), ageSpinBox) |
| nameLabel | setBuddy (nameLineEdit) |
| emailLabel | setBuddy (emailLineEdit) |
| ageLabel | setBuddy (ageSpinBox) |
| gridLayout | addWidget (nameLabel, 0, 0) |
| gridLayout | addWidget (nameLineEdit, 0, 1) |
| gridLayout | addWidget (emailLabel, 1, 0) |
| gridLayout | addWidget (emailLineEdit, 1, 1) |
| gridLayout | addWidget (ageLabel, 2, 0) |
| gridLayout | addWidget (ageSpinBox, 2, 1) |
| formLayout | setRowWrapPolicy (QFormLayout::DontWrapRows) |
| [1] | |
| formLayout | setFieldGrowthPolicy (QFormLayout::FieldsStayAtSizeHint) |
| formLayout | setFormAlignment (Qt::AlignHCenter|Qt::AlignTop) |
| formLayout | setLabelAlignment (Qt::AlignLeft) |
| flay | insertRow (2, "User:", le) |
| flay | removeRow (2) |
| flay | removeRow (le) |
| flay | insertRow (2, "User:", vbl) |
| flay | removeRow (layout) |
Variables | |
| QFormLayout * | formLayout = new QFormLayout(this) |
| [0] | |
| QGridLayout * | gridLayout = new QGridLayout(this) |
| [0] | |
| nameLabel = new QLabel(tr("&Name:")) | |
| emailLabel = new QLabel(tr("&Name:")) | |
| ageLabel = new QLabel(tr("&Name:")) | |
| QFormLayout * | flay = ... |
| [2] | |
| QPointer< QLineEdit > | le = new QLineEdit |
| QPointer< QVBoxLayout > | vbl = new QVBoxLayout |
| QFormLayout::TakeRowResult | result = flay->takeRow(2) |
| formLayout addRow | ( | tr("&Age:") | , |
| ageSpinBox | |||
| ) |
| formLayout addRow | ( | tr("&Email:") | , |
| emailLineEdit | |||
| ) |
| formLayout addRow | ( | tr("&Name:") | , |
| nameLineEdit | |||
| ) |
| gridLayout addWidget | ( | ageLabel | , |
| 2 | , | ||
| 0 | |||
| ) |
| gridLayout addWidget | ( | ageSpinBox | , |
| 2 | , | ||
| 1 | |||
| ) |
| gridLayout addWidget | ( | emailLabel | , |
| 1 | , | ||
| 0 | |||
| ) |
| gridLayout addWidget | ( | emailLineEdit | , |
| 1 | , | ||
| 1 | |||
| ) |
| gridLayout addWidget | ( | nameLabel | , |
| 0 | , | ||
| 0 | |||
| ) |
| gridLayout addWidget | ( | nameLineEdit | , |
| 0 | , | ||
| 1 | |||
| ) |
Referenced by QStandardItem::appendRow(), QStandardItem::appendRow(), QSqlTableModel::insertRecord(), QStandardItem::insertRow(), and QStandardItemModel::insertRow().
Here is the caller graph for this function:| flay removeRow | ( | 2 | ) |
| ageLabel setBuddy | ( | ageSpinBox | ) |
| emailLabel setBuddy | ( | emailLineEdit | ) |
| nameLabel setBuddy | ( | nameLineEdit | ) |
| formLayout setFieldGrowthPolicy | ( | QFormLayout::FieldsStayAtSizeHint | ) |
| formLayout setFormAlignment | ( | Qt::AlignHCenter|Qt::AlignTop | ) |
| formLayout setLabelAlignment | ( | Qt::AlignLeft | ) |
| formLayout setRowWrapPolicy | ( | QFormLayout::DontWrapRows | ) |
[1]
[2]
Definition at line 21 of file src_gui_kernel_qformlayout.cpp.
Definition at line 18 of file src_gui_kernel_qformlayout.cpp.
| QFormLayout * flay = ... |
| QFormLayout* formLayout = new QFormLayout(this) |
[0]
Definition at line 5 of file src_gui_kernel_qformlayout.cpp.
Referenced by QPrintPreviewDialogPrivate::init().
| QGridLayout* gridLayout = new QGridLayout(this) |
[0]
[1]
Definition at line 13 of file src_gui_kernel_qformlayout.cpp.
Referenced by ButtonWidget::ButtonWidget(), and ScreenWidget::ScreenWidget().
Definition at line 42 of file src_gui_kernel_qformlayout.cpp.
Referenced by QDefaultItemEditorFactory::createEditor(), QAbstractItemViewPrivate::selectAllInEditor(), and QComboBox::setEditable().
Definition at line 15 of file src_gui_kernel_qformlayout.cpp.
| QFormLayout::TakeRowResult result = flay->takeRow(2) |
Definition at line 69 of file src_gui_kernel_qformlayout.cpp.
| QPointer< QVBoxLayout > vbl = new QVBoxLayout |
Definition at line 58 of file src_gui_kernel_qformlayout.cpp.