QFormLayout

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++)
class QFormLayout : QLayout {}

Constructors

this
this(QWidget parent)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Enums

FieldGrowthPolicy
enum FieldGrowthPolicy
Undocumented in source.
ItemRole
enum ItemRole
Undocumented in source.
RowWrapPolicy
enum RowWrapPolicy
Undocumented in source.

Functions

addItem
void addItem(QLayoutItem item)
Undocumented in source.
addRow
void addRow(QWidget label, QWidget field)
Undocumented in source.
addRow
void addRow(QWidget label, QLayout field)
Undocumented in source.
addRow
void addRow(const(QString) labelText, QWidget field)
Undocumented in source.
addRow
void addRow(const(QString) labelText, QLayout field)
Undocumented in source.
addRow
void addRow(QWidget widget)
Undocumented in source.
addRow
void addRow(QLayout layout)
Undocumented in source.
count
int count()
Undocumented in source.
expandingDirections
qt.core.namespace.Orientations expandingDirections()
Undocumented in source.
fieldGrowthPolicy
FieldGrowthPolicy fieldGrowthPolicy()
Undocumented in source.
formAlignment
qt.core.namespace.Alignment formAlignment()
Undocumented in source.
getItemPosition
void getItemPosition(int index, int* rowPtr, ItemRole* rolePtr)
Undocumented in source.
getLayoutPosition
void getLayoutPosition(QLayout layout, int* rowPtr, ItemRole* rolePtr)
Undocumented in source.
getWidgetPosition
void getWidgetPosition(QWidget widget, int* rowPtr, ItemRole* rolePtr)
Undocumented in source.
hasHeightForWidth
bool hasHeightForWidth()
Undocumented in source.
heightForWidth
int heightForWidth(int width)
Undocumented in source.
horizontalSpacing
int horizontalSpacing()
Undocumented in source.
insertRow
void insertRow(int row, QWidget label, QWidget field)
Undocumented in source.
insertRow
void insertRow(int row, QWidget label, QLayout field)
Undocumented in source.
insertRow
void insertRow(int row, const(QString) labelText, QWidget field)
Undocumented in source.
insertRow
void insertRow(int row, const(QString) labelText, QLayout field)
Undocumented in source.
insertRow
void insertRow(int row, QWidget widget)
Undocumented in source.
insertRow
void insertRow(int row, QLayout layout)
Undocumented in source.
invalidate
void invalidate()
Undocumented in source.
itemAt
QLayoutItem itemAt(int row, ItemRole role)
Undocumented in source.
itemAt
QLayoutItem itemAt(int index)
Undocumented in source.
labelAlignment
qt.core.namespace.Alignment labelAlignment()
Undocumented in source.
labelForField
QWidget labelForField(QWidget field)
Undocumented in source.
labelForField
QWidget labelForField(QLayout field)
Undocumented in source.
minimumSize
QSize minimumSize()
Undocumented in source.
removeRow
void removeRow(int row)
Undocumented in source.
removeRow
void removeRow(QWidget widget)
Undocumented in source.
removeRow
void removeRow(QLayout layout)
Undocumented in source.
rowCount
int rowCount()
Undocumented in source.
rowWrapPolicy
RowWrapPolicy rowWrapPolicy()
Undocumented in source.
setFieldGrowthPolicy
void setFieldGrowthPolicy(FieldGrowthPolicy policy)
Undocumented in source.
setFormAlignment
void setFormAlignment(qt.core.namespace.Alignment alignment)
Undocumented in source.
setGeometry
void setGeometry(const(QRect) rect)
Undocumented in source.
setHorizontalSpacing
void setHorizontalSpacing(int spacing)
Undocumented in source.
setItem
void setItem(int row, ItemRole role, QLayoutItem item)
Undocumented in source.
setLabelAlignment
void setLabelAlignment(qt.core.namespace.Alignment alignment)
Undocumented in source.
setLayout
void setLayout(int row, ItemRole role, QLayout layout)
Undocumented in source.
setRowWrapPolicy
void setRowWrapPolicy(RowWrapPolicy policy)
Undocumented in source.
setVerticalSpacing
void setVerticalSpacing(int spacing)
Undocumented in source.
setWidget
void setWidget(int row, ItemRole role, QWidget widget)
Undocumented in source.
sizeHint
QSize sizeHint()
Undocumented in source.
takeAt
QLayoutItem takeAt(int index)
Undocumented in source.
takeRow
TakeRowResult takeRow(int row)
Undocumented in source.
takeRow
TakeRowResult takeRow(QWidget widget)
Undocumented in source.
takeRow
TakeRowResult takeRow(QLayout layout)
Undocumented in source.
verticalSpacing
int verticalSpacing()
Undocumented in source.

Structs

TakeRowResult
struct TakeRowResult
Undocumented in source.

Inherited Members

From QLayout

baseQLayoutItem
QLayoutItemFakeInheritance baseQLayoutItem;
Undocumented in source.
SizeConstraint
enum SizeConstraint
Undocumented in source.
~this
~this()
Undocumented in source.
margin
int margin()
Undocumented in source.
setMargin
void setMargin(int )
Undocumented in source.
spacing
int spacing()
Undocumented in source.
setSpacing
void setSpacing(int )
Undocumented in source.
setContentsMargins
void setContentsMargins(int left, int top, int right, int bottom)
Undocumented in source.
setContentsMargins
void setContentsMargins(const(QMargins) margins)
Undocumented in source.
getContentsMargins
void getContentsMargins(int* left, int* top, int* right, int* bottom)
Undocumented in source.
contentsMargins
QMargins contentsMargins()
Undocumented in source.
contentsRect
QRect contentsRect()
Undocumented in source.
setAlignment
bool setAlignment(QWidget w, qt.core.namespace.Alignment alignment)
Undocumented in source.
setAlignment
bool setAlignment(QLayout l, qt.core.namespace.Alignment alignment)
Undocumented in source.
setSizeConstraint
void setSizeConstraint(SizeConstraint )
Undocumented in source.
sizeConstraint
SizeConstraint sizeConstraint()
Undocumented in source.
setMenuBar
void setMenuBar(QWidget w)
Undocumented in source.
menuBar
QWidget menuBar()
Undocumented in source.
parentWidget
QWidget parentWidget()
Undocumented in source.
invalidate
void invalidate()
Undocumented in source.
geometry
QRect geometry()
Undocumented in source.
activate
bool activate()
Undocumented in source.
update
void update()
Undocumented in source.
addWidget
void addWidget(QWidget w)
Undocumented in source.
addItem
void addItem(QLayoutItem )
Undocumented in source.
removeWidget
void removeWidget(QWidget w)
Undocumented in source.
removeItem
void removeItem(QLayoutItem )
Undocumented in source.
expandingDirections
qt.core.namespace.Orientations expandingDirections()
Undocumented in source.
minimumSize
QSize minimumSize()
Undocumented in source.
maximumSize
QSize maximumSize()
Undocumented in source.
setGeometry
void setGeometry(const(QRect) )
Undocumented in source.
itemAt
QLayoutItem itemAt(int index)
Undocumented in source.
takeAt
QLayoutItem takeAt(int index)
Undocumented in source.
indexOf
int indexOf(QWidget )
Undocumented in source.
indexOf
int indexOf(QLayoutItem )
Undocumented in source.
count
int count()
Undocumented in source.
isEmpty
bool isEmpty()
Undocumented in source.
controlTypes
QSizePolicy.ControlTypes controlTypes()
Undocumented in source.
replaceWidget
QLayoutItem replaceWidget(QWidget from, QWidget to, qt.core.namespace.FindChildOptions options)
Undocumented in source.
totalHeightForWidth
int totalHeightForWidth(int w)
Undocumented in source.
totalMinimumSize
QSize totalMinimumSize()
Undocumented in source.
totalMaximumSize
QSize totalMaximumSize()
Undocumented in source.
totalSizeHint
QSize totalSizeHint()
Undocumented in source.
layout
QLayout layout()
Undocumented in source.
setEnabled
void setEnabled(bool )
Undocumented in source.
isEnabled
bool isEnabled()
Undocumented in source.
closestAcceptableSize
QSize closestAcceptableSize(const(QWidget) w, const(QSize) s)
Undocumented in source.
sizeHint
QSize sizeHint()
Undocumented in source. Be warned that the author may not have intended to support it.
hasHeightForWidth
bool hasHeightForWidth()
Undocumented in source. Be warned that the author may not have intended to support it.
heightForWidth
int heightForWidth(int w)
Undocumented in source. Be warned that the author may not have intended to support it.
minimumHeightForWidth
int minimumHeightForWidth(int w)
Undocumented in source. Be warned that the author may not have intended to support it.
widget
QWidget widget()
Undocumented in source. Be warned that the author may not have intended to support it.
spacerItem
QSpacerItem spacerItem()
Undocumented in source. Be warned that the author may not have intended to support it.
widgetEvent
void widgetEvent(QEvent )
Undocumented in source.
childEvent
void childEvent(QChildEvent e)
Undocumented in source.
addChildLayout
void addChildLayout(QLayout l)
Undocumented in source.
addChildWidget
void addChildWidget(QWidget w)
Undocumented in source.
adoptLayout
bool adoptLayout(QLayout layout)
Undocumented in source.
alignmentRect
QRect alignmentRect(const(QRect) )
Undocumented in source.

Meta