QFormLayout Class Reference
[QtGui module]
Inherits QLayout.
Types
- enum FieldGrowthPolicy { FieldsStayAtSizeHint, ExpandingFieldsGrow, AllNonFixedFieldsGrow }
- enum ItemRole { LabelRole, FieldRole, SpanningRole }
- enum RowWrapPolicy { DontWrapRows, WrapLongRows, WrapAllRows }
Methods
- __init__ (self, QWidget parent = None)
- addItem (self, QLayoutItem)
- addRow (self, QWidget, QWidget)
- addRow (self, QWidget, QLayout)
- addRow (self, QString, QWidget)
- addRow (self, QString, QLayout)
- addRow (self, QWidget)
- addRow (self, QLayout)
- int count (self)
- Qt.Orientations expandingDirections (self)
- FieldGrowthPolicy fieldGrowthPolicy (self)
- Qt.Alignment formAlignment (self)
- (int, ItemRole) getItemPosition (self, int)
- (int, ItemRole) getLayoutPosition (self, QLayout)
- (int, ItemRole) getWidgetPosition (self, QWidget)
- bool hasHeightForWidth (self)
- int heightForWidth (self, int)
- int horizontalSpacing (self)
- insertRow (self, int, QWidget, QWidget)
- insertRow (self, int, QWidget, QLayout)
- insertRow (self, int, QString, QWidget)
- insertRow (self, int, QString, QLayout)
- insertRow (self, int, QWidget)
- insertRow (self, int, QLayout)
- invalidate (self)
- QLayoutItem itemAt (self, int, ItemRole)
- QLayoutItem itemAt (self, int)
- Qt.Alignment labelAlignment (self)
- QWidget labelForField (self, QWidget)
- QWidget labelForField (self, QLayout)
- QSize minimumSize (self)
- int rowCount (self)
- RowWrapPolicy rowWrapPolicy (self)
- setFieldGrowthPolicy (self, FieldGrowthPolicy)
- setFormAlignment (self, Qt.Alignment)
- setGeometry (self, QRect)
- setHorizontalSpacing (self, int)
- setItem (self, int, ItemRole, QLayoutItem)
- setLabelAlignment (self, Qt.Alignment)
- setLayout (self, int, ItemRole, QLayout)
- setRowWrapPolicy (self, RowWrapPolicy)
- setSpacing (self, int)
- setVerticalSpacing (self, int)
- setWidget (self, int, ItemRole, QWidget)
- QSize sizeHint (self)
- int spacing (self)
- QLayoutItem takeAt (self, int)
- int verticalSpacing (self)
Detailed Description
Type Documentation
QFormLayout.FieldGrowthPolicy
QFormLayout.ItemRole
QFormLayout.RowWrapPolicy
Method Documentation
QFormLayout.__init__ (self, QWidget parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QFormLayout.addItem (self, QLayoutItem)
The QLayoutItem argument has it's ownership transferred to Qt.
QFormLayout.addRow (self, QWidget, QWidget)
The QWidget argument has it's ownership transferred to Qt.
The QWidget argument has it's ownership transferred to Qt.
QFormLayout.addRow (self, QWidget, QLayout)
The QWidget argument has it's ownership transferred to Qt.
The QLayout argument has it's ownership transferred to Qt.
QFormLayout.addRow (self, QString, QWidget)
The QWidget argument has it's ownership transferred to Qt.
QFormLayout.addRow (self, QString, QLayout)
The QLayout argument has it's ownership transferred to Qt.
QFormLayout.addRow (self, QWidget)
The QWidget argument has it's ownership transferred to Qt.
QFormLayout.addRow (self, QLayout)
The QLayout argument has it's ownership transferred to Qt.
int QFormLayout.count (self)
Qt.Orientations QFormLayout.expandingDirections (self)
FieldGrowthPolicy QFormLayout.fieldGrowthPolicy (self)
Qt.Alignment QFormLayout.formAlignment (self)
(int, ItemRole) QFormLayout.getItemPosition (self, int)
(int, ItemRole) QFormLayout.getLayoutPosition (self, QLayout)
(int, ItemRole) QFormLayout.getWidgetPosition (self, QWidget)
bool QFormLayout.hasHeightForWidth (self)
int QFormLayout.heightForWidth (self, int)
int QFormLayout.horizontalSpacing (self)
QFormLayout.insertRow (self, int, QWidget, QWidget)
The QWidget argument has it's ownership transferred to Qt.
The QWidget argument has it's ownership transferred to Qt.
QFormLayout.insertRow (self, int, QWidget, QLayout)
The QWidget argument has it's ownership transferred to Qt.
The QLayout argument has it's ownership transferred to Qt.
QFormLayout.insertRow (self, int, QString, QWidget)
The QWidget argument has it's ownership transferred to Qt.
QFormLayout.insertRow (self, int, QString, QLayout)
The QLayout argument has it's ownership transferred to Qt.
QFormLayout.insertRow (self, int, QWidget)
The QWidget argument has it's ownership transferred to Qt.
QFormLayout.insertRow (self, int, QLayout)
The QLayout argument has it's ownership transferred to Qt.
QFormLayout.invalidate (self)
QLayoutItem QFormLayout.itemAt (self, int)
Qt.Alignment QFormLayout.labelAlignment (self)
QWidget QFormLayout.labelForField (self, QWidget)
QWidget QFormLayout.labelForField (self, QLayout)
QSize QFormLayout.minimumSize (self)
int QFormLayout.rowCount (self)
RowWrapPolicy QFormLayout.rowWrapPolicy (self)
QFormLayout.setFieldGrowthPolicy (self, FieldGrowthPolicy)
QFormLayout.setFormAlignment (self, Qt.Alignment)
QFormLayout.setGeometry (self, QRect)
QFormLayout.setHorizontalSpacing (self, int)
The QLayoutItem argument has it's ownership transferred to Qt.
QFormLayout.setLabelAlignment (self, Qt.Alignment)
QFormLayout.setLayout (self, int, ItemRole, QLayout)
The QLayout argument has it's ownership transferred to Qt.
QFormLayout.setRowWrapPolicy (self, RowWrapPolicy)
QFormLayout.setSpacing (self, int)
QFormLayout.setVerticalSpacing (self, int)
QFormLayout.setWidget (self, int, ItemRole, QWidget)
The QWidget argument has it's ownership transferred to Qt.
QSize QFormLayout.sizeHint (self)
int QFormLayout.spacing (self)
QLayoutItem QFormLayout.takeAt (self, int)
The QLayoutItem result
int QFormLayout.verticalSpacing (self)