QtGui/qformlayout.h Source File
Go to the documentation of this file.
45 #include <QtGui/QLayout>
53 class QFormLayoutPrivate;
62 Q_PROPERTY(
Qt::Alignment labelAlignment READ labelAlignment WRITE setLabelAlignment RESET resetLabelAlignment)
63 Q_PROPERTY(
Qt::Alignment formAlignment READ formAlignment WRITE setFormAlignment RESET resetFormAlignment)
64 Q_PROPERTY(
int horizontalSpacing READ horizontalSpacing WRITE setHorizontalSpacing)
65 Q_PROPERTY(
int verticalSpacing READ verticalSpacing WRITE setVerticalSpacing)
89 void setFieldGrowthPolicy(FieldGrowthPolicy policy);
90 FieldGrowthPolicy fieldGrowthPolicy()
const;
91 void setRowWrapPolicy(RowWrapPolicy policy);
92 RowWrapPolicy rowWrapPolicy()
const;
93 void setLabelAlignment(Qt::Alignment alignment);
94 Qt::Alignment labelAlignment()
const;
95 void setFormAlignment(Qt::Alignment alignment);
96 Qt::Alignment formAlignment()
const;
98 void setHorizontalSpacing(
int spacing);
99 int horizontalSpacing()
const;
100 void setVerticalSpacing(
int spacing);
101 int verticalSpacing()
const;
104 void setSpacing(
int);
121 void setWidget(
int row, ItemRole role,
QWidget *widget);
122 void setLayout(
int row, ItemRole role,
QLayout *layout);
125 void getItemPosition(
int index,
int *rowPtr, ItemRole *rolePtr)
const;
126 void getWidgetPosition(
QWidget *widget,
int *rowPtr, ItemRole *rolePtr)
const;
127 void getLayoutPosition(
QLayout *layout,
int *rowPtr, ItemRole *rolePtr)
const;
136 void setGeometry(
const QRect &rect);
137 QSize minimumSize()
const;
138 QSize sizeHint()
const;
141 bool hasHeightForWidth()
const;
142 int heightForWidth(
int width)
const;
143 Qt::Orientations expandingDirections()
const;
146 int rowCount()
const;
153 void resetFieldGrowthPolicy();
154 void resetRowWrapPolicy();
155 void resetLabelAlignment();
156 void resetFormAlignment();
GLenum GLenum GLvoid * row
#define QT_BEGIN_NAMESPACE
GLuint GLuint GLsizei count