# QFormLayout Class Reference
## [[QtGui](index.htm) module]
该QFormLayout类管理输入部件及其关联的标籤形式。[More...](#details)
继承[QLayout](qlayout.html)。
### 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 item)`
* `addRow (self, QWidget label, QWidget field)`
* `addRow (self, QWidget label, QLayout field)`
* `addRow (self, QString labelText, QWidget field)`
* `addRow (self, QString labelText, QLayout field)`
* `addRow (self, QWidget widget)`
* `addRow (self, QLayout layout)`
* `int count (self)`
* `Qt.Orientations expandingDirections (self)`
* `FieldGrowthPolicy fieldGrowthPolicy (self)`
* `Qt.Alignment formAlignment (self)`
* `(int rowPtr, ItemRole rolePtr) getItemPosition (self, int index)`
* `(int rowPtr, ItemRole rolePtr) getLayoutPosition (self, QLayout layout)`
* `(int rowPtr, ItemRole rolePtr) getWidgetPosition (self, QWidget widget)`
* `bool hasHeightForWidth (self)`
* `int heightForWidth (self, int width)`
* `int horizontalSpacing (self)`
* `insertRow (self, int row, QWidget label, QWidget field)`
* `insertRow (self, int row, QWidget label, QLayout field)`
* `insertRow (self, int row, QString labelText, QWidget field)`
* `insertRow (self, int row, QString labelText, QLayout field)`
* `insertRow (self, int row, QWidget widget)`
* `insertRow (self, int row, QLayout layout)`
* `invalidate (self)`
* `QLayoutItem itemAt (self, int row, ItemRole role)`
* `QLayoutItem itemAt (self, int index)`
* `Qt.Alignment labelAlignment (self)`
* `QWidget labelForField (self, QWidget field)`
* `QWidget labelForField (self, QLayout field)`
* `QSize minimumSize (self)`
* `int rowCount (self)`
* `RowWrapPolicy rowWrapPolicy (self)`
* `setFieldGrowthPolicy (self, FieldGrowthPolicy policy)`
* `setFormAlignment (self, Qt.Alignment alignment)`
* `setGeometry (self, QRect rect)`
* `setHorizontalSpacing (self, int spacing)`
* `setItem (self, int row, ItemRole role, QLayoutItem item)`
* `setLabelAlignment (self, Qt.Alignment alignment)`
* `setLayout (self, int row, ItemRole role, QLayout layout)`
* `setRowWrapPolicy (self, RowWrapPolicy policy)`
* `setSpacing (self, int)`
* `setVerticalSpacing (self, int spacing)`
* `setWidget (self, int row, ItemRole role, QWidget widget)`
* `QSize sizeHint (self)`
* `int spacing (self)`
* `QLayoutItem takeAt (self, int index)`
* `int verticalSpacing (self)`
* * *
## Detailed Description
该QFormLayout类管理输入部件及其关联的标籤形式。
QFormLayout是勾画出它在一个两列的表格孩子一个方便的布局类。左栏包括标籤,右列包含“场”的小部件(行编辑器,旋转框等) 。
传统上,这样的两栏式布局形式采用实现[QGridLayout](qgridlayout.html)。 QFormLayout是更高级别的替代方案,提供了以下优点:
* **Adherence to the different platform's look and feel guidelines.**
例如,本 [Mac OS X Aqua](http://developer.apple.com/documentation/UserExperience/Conceptual/AppleHIGuidelines/XHIGIntro/chapter_1_section_1.html)和KDE指引指定的标籤应该是右对齐的,而Windows和GNOME应用程序通常使用左对齐。
* **Support for wrapping long rows.**
对于具有小显示器的设备, QFormLayout可以设置为[wrap long rows](qformlayout.html#RowWrapPolicy-enum)或什至[wrap all rows](qformlayout.html#RowWrapPolicy-enum)。
* **Convenient API for creating label--field pairs.**
该[addRow](qformlayout.html#addRow)( )重载采用一个[QString](qstring.html)和[QWidget](qwidget.html)*创建一个[QLabel](qlabel.html)在幕后,并自动设置其为好友。然后,我们可以编写这样的代码:
```
QFormLayout *formLayout = new QFormLayout;
formLayout->addRow(tr("&Name:"), nameLineEdit);
formLayout->addRow(tr("&Email:"), emailLineEdit);
formLayout->addRow(tr("&Age:"), ageSpinBox);
setLayout(formLayout);
```
使用下面的代码,写的比较这[QGridLayout](qgridlayout.html):
```
nameLabel = new [QLabel](qlabel.html)(tr("&Name:"));
nameLabel->setBuddy(nameLineEdit);
emailLabel = new [QLabel](qlabel.html)(tr("&Name:"));
emailLabel->setBuddy(emailLineEdit);
ageLabel = new [QLabel](qlabel.html)(tr("&Name:"));
ageLabel->setBuddy(ageSpinBox);
[QGridLayout](qgridlayout.html) *gridLayout = new [QGridLayout](qgridlayout.html);
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);
setLayout(gridLayout);
```
下表显示了默认的外观在不同的风格。
| [QCommonStyle](qcommonstyle.html) derived styles (except [QPlastiqueStyle](index.htm)) | [QMacStyle](index.htm) | [QPlastiqueStyle](index.htm) | Qt Extended styles |
| --- | --- | --- | --- |
| ![](https://img.kancloud.cn/82/22/8222e95a0c4ddf43770ec813b3c5827c_258x140.png) | ![](https://img.kancloud.cn/69/6b/696bdc439fb76d254c90fee0c85daeb5_258x140.png) | ![](https://img.kancloud.cn/8b/39/8b3917b7fb6d3ce30d49309909885991_258x140.png) | ![](https://img.kancloud.cn/aa/15/aa1508335cc510b4e01c9e32ebc468c7_258x140.png) |
| Traditional style used for Windows, GNOME, and earlier versions of KDE. Labels are left aligned, and expanding fields grow to fill the available space. (This normally corresponds to what we would get using a two-column [QGridLayout](qgridlayout.html).) | Style based on the [Mac OS X Aqua](http://developer.apple.com/documentation/UserExperience/Conceptual/AppleHIGuidelines/XHIGIntro/chapter_1_section_1.html) guidelines. Labels are right-aligned, the fields don't grow beyond their size hint, and the form is horizontally centered. | Recommended style for [KDE applications](http://www.kdedevelopers.org/node/2345). Similar to MacStyle, except that the form is left-aligned and all fields grow to fill the available space. | Default style for Qt Extended styles. Labels are right-aligned, expanding fields grow to fill the available space, and row wrapping is enabled for long lines. |
表格样式可以也可以单独通过调用被重写[setLabelAlignment](qformlayout.html#labelAlignment-prop)( )[setFormAlignment](qformlayout.html#formAlignment-prop)( )[setFieldGrowthPolicy](qformlayout.html#fieldGrowthPolicy-prop)()和[setRowWrapPolicy](qformlayout.html#rowWrapPolicy-prop)( ) 。例如,以模拟的形式布局美观[QMacStyle](index.htm)在所有平台上,但左对齐的标籤,你可以这样写:
```
formLayout->setRowWrapPolicy(QFormLayout.DontWrapRows);
formLayout->setFieldGrowthPolicy(QFormLayout.FieldsStayAtSizeHint);
formLayout->setFormAlignment([Qt](qt.html).AlignHCenter | [Qt](qt.html).AlignTop);
formLayout->setLabelAlignment([Qt](qt.html).AlignLeft);
```
* * *
## Type Documentation
```
QFormLayout.FieldGrowthPolicy
```
该枚举指定可以被用来控制在该表单的字段成长的方式,不同的政策。
| Constant | Value | Description |
| --- | --- | --- |
| `QFormLayout.FieldsStayAtSizeHint` | `0` | 这些字段永远长不大超出了他们的[effective size hint](qwidgetitem.html#sizeHint)。这是默认的[QMacStyle](index.htm)。 |
| `QFormLayout.ExpandingFieldsGrow` | `1` | 与横向领域[size policy](qsizepolicy.html)的[Expanding](qsizepolicy.html#Policy-enum) or [MinimumExpanding](qsizepolicy.html#Policy-enum)将增长到填满可用空间。其他栏位不得超出其有效尺寸暗示。这是PLASTIQUE的默认策略。 |
| `QFormLayout.AllNonFixedFieldsGrow` | `2` | 用大小政策,使他们能够成长各个领域将增长到填满可用空间。这是大多数款式的默认策略。 |
**See also** [fieldGrowthPolicy](qformlayout.html#fieldGrowthPolicy-prop)。
```
QFormLayout.ItemRole
```
此枚举指定部件(或其他布局项目)的类型,可能会出现一排。
| Constant | Value | Description |
| --- | --- | --- |
| `QFormLayout.LabelRole` | `0` | 一个标籤控件。 |
| `QFormLayout.FieldRole` | `1` | 字段部件。 |
| `QFormLayout.SpanningRole` | `2` | 一个小部件,跨越标籤和字段列。 |
**See also** [itemAt](qformlayout.html#itemAt)()和[getItemPosition](qformlayout.html#getItemPosition)( ) 。
```
QFormLayout.RowWrapPolicy
```
该枚举指定可以被用来控制在该表格中的行包的方式,不同的政策。
| Constant | Value | Description |
| --- | --- | --- |
| `QFormLayout.DontWrapRows` | `0` | 字段总是奠定了旁边的标籤。这是除了Qt的扩展风格的缺省策略为所有的风格和[QS60Style](index.htm)。 |
| `QFormLayout.WrapLongRows` | `1` | 标籤被给予足够的水平空间,以适应宽的标籤,并且该空间的剩馀部分被提供给字段。如果一个场对的最小尺寸大于可用空间更宽,该字段被换到下一行。这是为Qt扩展的风格和和默认策略[QS60Style](index.htm)。 |
| `QFormLayout.WrapAllRows` | `2` | 字段总是布置下他们的标籤。 |
**See also** [rowWrapPolicy](qformlayout.html#rowWrapPolicy-prop)。
* * *
## Method Documentation
```
QFormLayout.__init__ (self, QWidget parent = None)
```
该_parent_的说法,如果不是没有,原因_self_通过Qt的,而不是PyQt的拥有。
构造一个新的窗体布局与给定_parent_小工具。
**See also** [QWidget.setLayout](qwidget.html#setLayout)( ) 。
```
QFormLayout.addItem (self, QLayoutItem item)
```
该_item_说法有它的所有权转移给Qt的。
从重新实现[QLayout.addItem](qlayout.html#addItem)( ) 。
```
QFormLayout.addRow (self, QWidget label, QWidget field)
```
该_label_说法有它的所有权转移给Qt的。
该_field_说法有它的所有权转移给Qt的。
添加一新行,以这种形式布局的底部,用给定的_label_和_field_。
**See also** [insertRow](qformlayout.html#insertRow)( ) 。
```
QFormLayout.addRow (self, QWidget label, QLayout field)
```
该_label_说法有它的所有权转移给Qt的。
该_field_说法有它的所有权转移给Qt的。
这是一个重载函数。
```
QFormLayout.addRow (self, QString labelText, QWidget field)
```
该_field_说法有它的所有权转移给Qt的。
这是一个重载函数。
此重载自动创建一个[QLabel](qlabel.html)背后的幕后_labelText_作为其文本。该_field_被设置为新的[QLabel](qlabel.html)的[buddy](qlabel.html#setBuddy)。
```
QFormLayout.addRow (self, QString labelText, QLayout field)
```
该_field_说法有它的所有权转移给Qt的。
这是一个重载函数。
此重载自动创建一个[QLabel](qlabel.html)背后的幕后_labelText_作为其文本。
```
QFormLayout.addRow (self, QWidget widget)
```
该_widget_说法有它的所有权转移给Qt的。
这是一个重载函数。
将指定的_widget_在这种形式布局的结束。该_widget_横跨两列。
```
QFormLayout.addRow (self, QLayout layout)
```
该_layout_说法有它的所有权转移给Qt的。
这是一个重载函数。
将指定的_layout_在这种形式布局的结束。该_layout_横跨两列。
```
int QFormLayout.count (self)
```
从重新实现[QLayout.count](qlayout.html#count)( ) 。
```
Qt.Orientations QFormLayout.expandingDirections (self)
```
[](index.htm)
[从重新实现](index.htm)[QLayoutItem.expandingDirections](qlayoutitem.html#expandingDirections)( ) 。
```
FieldGrowthPolicy QFormLayout.fieldGrowthPolicy (self)
```
[](qformlayout.html#FieldGrowthPolicy-enum)
```
Qt.Alignment QFormLayout.formAlignment (self)
```
[
```
(int rowPtr, ItemRole rolePtr) QFormLayout.getItemPosition (self, int index)
```
检索项的行和角色(列)在指定的_index_。如果_index_是出界, *_rowPtr_被设置为-1 ,否则该行被存储在*_rowPtr_和作用是存储在*_rolePtr_。
](index.htm)
[**See also**](index.htm) [itemAt](qformlayout.html#itemAt)( )[count](qformlayout.html#count)( )[getLayoutPosition](qformlayout.html#getLayoutPosition)()和[getWidgetPosition](qformlayout.html#getWidgetPosition)( ) 。
```
(int rowPtr, ItemRole rolePtr) QFormLayout.getLayoutPosition (self, QLayout layout)
```
检索指定的子行和作用(列)_layout_。如果_layout_是不是在形式布局, *_rowPtr_被设置为-1 ,否则该行被存储在*_rowPtr_和作用是存储在*_rolePtr_。
```
(int rowPtr, ItemRole rolePtr) QFormLayout.getWidgetPosition (self, QWidget widget)
```
检索指定的行和作用(列)_widget_在布局。如果_widget_是不是在布局, *_rowPtr_被设置为-1 ,否则该行被存储在*_rowPtr_和作用是存储在*_rolePtr_。
**See also** [getItemPosition](qformlayout.html#getItemPosition)()和[itemAt](qformlayout.html#itemAt)( ) 。
```
bool QFormLayout.hasHeightForWidth (self)
```
从重新实现[QLayoutItem.hasHeightForWidth](qlayoutitem.html#hasHeightForWidth)( ) 。
```
int QFormLayout.heightForWidth (self, int width)
```
从重新实现[QLayoutItem.heightForWidth](qlayoutitem.html#heightForWidth)( ) 。
```
int QFormLayout.horizontalSpacing (self)
```
```
QFormLayout.insertRow (self, int row, QWidget label, QWidget field)
```
该_label_说法有它的所有权转移给Qt的。
该_field_说法有它的所有权转移给Qt的。
插入新行的位置_row_在这种形式布局,与给定_label_和_field_。如果_row_是出界,新行是在后面。
**See also** [addRow](qformlayout.html#addRow)( ) 。
```
QFormLayout.insertRow (self, int row, QWidget label, QLayout field)
```
该_label_说法有它的所有权转移给Qt的。
该_field_说法有它的所有权转移给Qt的。
这是一个重载函数。
```
QFormLayout.insertRow (self, int row, QString labelText, QWidget field)
```
该_field_说法有它的所有权转移给Qt的。
这是一个重载函数。
此重载自动创建一个[QLabel](qlabel.html)背后的幕后_labelText_作为其文本。该_field_被设置为新的[QLabel](qlabel.html)的[buddy](qlabel.html#setBuddy)。
```
QFormLayout.insertRow (self, int row, QString labelText, QLayout field)
```
该_field_说法有它的所有权转移给Qt的。
这是一个重载函数。
此重载自动创建一个[QLabel](qlabel.html)背后的幕后_labelText_作为其文本。
```
QFormLayout.insertRow (self, int row, QWidget widget)
```
该_widget_说法有它的所有权转移给Qt的。
这是一个重载函数。
插入指定的_widget_在位置_row_在这种形式布局。该_widget_横跨两列。如果_row_是出界,小部件是在后面。
```
QFormLayout.insertRow (self, int row, QLayout layout)
```
该_layout_说法有它的所有权转移给Qt的。
这是一个重载函数。
插入指定的_layout_在位置_row_在这种形式布局。该_layout_横跨两列。如果_row_是出界,小部件是在后面。
```
QFormLayout.invalidate (self)
```
从重新实现[QLayoutItem.invalidate](qlayoutitem.html#invalidate)( ) 。
```
QLayoutItem QFormLayout.itemAt (self, int row, ItemRole role)
```
[
返回指定布局项目_row_用指定的_role_(列) 。返回0,如果没有这样的项目。
](qlayoutitem.html)
[**See also**](qlayoutitem.html) [QLayout.itemAt](qlayout.html#itemAt)()和[setItem](qformlayout.html#setItem)( ) 。
```
QLayoutItem QFormLayout.itemAt (self, int index)
```
[](qlayoutitem.html)
[从重新实现](qlayoutitem.html)[QLayout.itemAt](qlayout.html#itemAt)( ) 。
```
Qt.Alignment QFormLayout.labelAlignment (self)
```
[](index.htm)
```
QWidget QFormLayout.labelForField (self, QWidget field)
```
[
返回与给定关联的标籤_field_。
](qwidget.html)
[**See also**](qwidget.html) [itemAt](qformlayout.html#itemAt)( ) 。
```
QWidget QFormLayout.labelForField (self, QLayout field)
```
[
这是一个重载函数。
](qwidget.html)
```
QSize QFormLayout.minimumSize (self)
```
[](qsize.html)
[从重新实现](qsize.html)[QLayoutItem.minimumSize](qlayoutitem.html#minimumSize)( ) 。
```
int QFormLayout.rowCount (self)
```
返回行形式的数量。
**See also** [QLayout.count](qlayout.html#count)( ) 。
```
RowWrapPolicy QFormLayout.rowWrapPolicy (self)
```
[
```
QFormLayout.setFieldGrowthPolicy (self, FieldGrowthPolicy policy)
```
```
QFormLayout.setFormAlignment (self, Qt.Alignment alignment)
```
```
QFormLayout.setGeometry (self, QRect rect)
```
](qformlayout.html#RowWrapPolicy-enum)
[从重新实现](qformlayout.html#RowWrapPolicy-enum)[QLayoutItem.setGeometry](qlayoutitem.html#setGeometry)( ) 。
```
QFormLayout.setHorizontalSpacing (self, int spacing)
```
```
QFormLayout.setItem (self, int row, ItemRole role, QLayoutItem item)
```
该_item_说法有它的所有权转移给Qt的。
设置在给定的项目_row_对于给定的_role_至_item_,必要时用空行延伸的布局。
如果电池已经被佔用时,_item_没有被插入且一个错误消息被发送到控制台。该_item_横跨两列。
**Warning:**请不要使用此功能来添加子布局或子部件项目。使用[setLayout](qformlayout.html#setLayout)()或[setWidget](qformlayout.html#setWidget)( )来代替。
**See also** [setLayout](qformlayout.html#setLayout)( ) 。
```
QFormLayout.setLabelAlignment (self, Qt.Alignment alignment)
```
```
QFormLayout.setLayout (self, int row, ItemRole role, QLayout layout)
```
该_layout_说法有它的所有权转移给Qt的。
设置子布局在给定的_row_对于给定的_role_至_layout_,必要时用空行延伸的形式布局。
如果电池已经被佔用时,_layout_没有被插入且一个错误消息被发送到控制台。
**Note:**对于大多数应用,[addRow](qformlayout.html#addRow)()或[insertRow](qformlayout.html#insertRow)( )应该使用的的setLayout ( ) 。
**See also** [setWidget](qformlayout.html#setWidget)( ) 。
```
QFormLayout.setRowWrapPolicy (self, RowWrapPolicy policy)
```
```
QFormLayout.setSpacing (self, int)
```
此功能可设置垂直和水平间距_spacing_。
**See also** [spacing](qformlayout.html#spacing)( )[setVerticalSpacing](qformlayout.html#verticalSpacing-prop)()和[setHorizontalSpacing](qformlayout.html#horizontalSpacing-prop)( ) 。
```
QFormLayout.setVerticalSpacing (self, int spacing)
```
```
QFormLayout.setWidget (self, int row, ItemRole role, QWidget widget)
```
该_widget_说法有它的所有权转移给Qt的。
设置部件在给定的_row_对于给定的_role_至_widget_,必要时用空行延伸的布局。
如果电池已经被佔用时,_widget_没有被插入且一个错误消息被发送到控制台。
**Note:**对于大多数应用,[addRow](qformlayout.html#addRow)()或[insertRow](qformlayout.html#insertRow)( )应该使用setWidget的( ) 。
**See also** [setLayout](qformlayout.html#setLayout)( ) 。
```
QSize QFormLayout.sizeHint (self)
```
[](qsize.html)
[从重新实现](qsize.html)[QLayoutItem.sizeHint](qlayoutitem.html#sizeHint)( ) 。
```
int QFormLayout.spacing (self)
```
如果垂直间距相等的水平间距,这个函数返回该值,否则返回-1 。
**See also** [setSpacing](qformlayout.html#setSpacing)( )[verticalSpacing](qformlayout.html#verticalSpacing-prop)()和[horizontalSpacing](qformlayout.html#horizontalSpacing-prop)( ) 。
```
QLayoutItem QFormLayout.takeAt (self, int index)
```
[
该_QLayoutItem_结果
](qlayoutitem.html)
[从重新实现](qlayoutitem.html)[QLayout.takeAt](qlayout.html#takeAt)( ) 。
```
int QFormLayout.verticalSpacing (self)
```
- PyQt4 中文文档
- PyQt Class Reference
- QAbstractAnimation Class Reference
- QAbstractButton Class Reference
- QAbstractEventDispatcher Class Reference
- QAbstractExtensionFactory Class Reference
- QAbstractExtensionManager Class Reference
- QAbstractFileEngine Class Reference
- QAbstractFileEngineHandler Class Reference
- QAbstractFileEngineIterator Class Reference
- QAbstractFormBuilder Class Reference
- QAbstractGraphicsShapeItem Class Reference
- QAbstractItemDelegate Class Reference
- QAbstractItemModel Class Reference
- QAbstractItemView Class Reference
- QAbstractListModel Class Reference
- QAbstractMessageHandler Class Reference
- QAbstractNetworkCache Class Reference
- QAbstractPrintDialog Class Reference
- QAbstractProxyModel Class Reference
- QAbstractScrollArea Class Reference
- QAbstractSlider Class Reference
- QAbstractSocket Class Reference
- QAbstractSpinBox Class Reference
- QAbstractState Class Reference
- QAbstractTableModel Class Reference
- QAbstractTextDocumentLayout Class Reference
- QAbstractTransition Class Reference
- QAbstractUriResolver Class Reference
- QAbstractVideoBuffer Class Reference
- QAbstractVideoSurface Class Reference
- QAbstractXmlNodeModel Class Reference
- QAbstractXmlReceiver Class Reference
- QAction Class Reference
- QActionEvent Class Reference
- QActionGroup Class Reference
- QAnimationGroup Class Reference
- QApplication Class Reference
- QAssistantClient Class Reference
- QAudio Class Reference
- QAudioDeviceInfo Class Reference
- QAudioFormat Class Reference
- QAudioInput Class Reference
- QAudioOutput Class Reference
- QAuthenticator Class Reference
- QBasicTimer Class Reference
- QBitArray Class Reference
- QBitmap Class Reference
- QBoxLayout Class Reference
- QBrush Class Reference
- QBuffer Class Reference
- QButtonGroup Class Reference
- QByteArray Class Reference
- QByteArrayMatcher Class Reference
- QCalendarWidget Class Reference
- QChar Class Reference
- QCheckBox Class Reference
- QChildEvent Class Reference
- QClipboard Class Reference
- QCloseEvent Class Reference
- QColor Class Reference
- QColorDialog Class Reference
- QColumnView Class Reference
- QComboBox Class Reference
- QCommandLinkButton Class Reference
- QCommonStyle Class Reference
- QCompleter Class Reference
- QConicalGradient Class Reference
- QContextMenuEvent Class Reference
- QCoreApplication Class Reference
- QCryptographicHash Class Reference
- QCursor Class Reference
- QDataStream Class Reference
- QDataWidgetMapper Class Reference
- QDate Class Reference
- QDateEdit Class Reference
- QDateTime Class Reference
- QDateTimeEdit Class Reference
- QDBus Class Reference
- QDBusAbstractAdaptor Class Reference
- QDBusAbstractInterface Class Reference
- QDBusArgument Class Reference
- QDBusConnection Class Reference
- QDBusConnectionInterface Class Reference
- QDBusError Class Reference
- QDBusInterface Class Reference
- QDBusMessage Class Reference
- QDBusObjectPath Class Reference
- QDBusPendingCall Class Reference
- QDBusPendingCallWatcher Class Reference
- QDBusPendingReply Class Reference
- QDBusReply Class Reference
- QDBusServiceWatcher Class Reference
- QDBusSignature Class Reference
- QDBusUnixFileDescriptor Class Reference
- QDBusVariant Class Reference
- QDeclarativeComponent Class Reference
- QDeclarativeContext Class Reference
- QDeclarativeEngine Class Reference
- QDeclarativeError Class Reference
- QDeclarativeExpression Class Reference
- QDeclarativeExtensionPlugin Class Reference
- QDeclarativeImageProvider Class Reference
- QDeclarativeItem Class Reference
- QDeclarativeListReference Class Reference
- QDeclarativeNetworkAccessManagerFactory Class Reference
- QDeclarativeParserStatus Class Reference
- QDeclarativeProperty Class Reference
- QDeclarativePropertyMap Class Reference
- QDeclarativePropertyValueSource Class Reference
- QDeclarativeScriptString Class Reference
- QDeclarativeView Class Reference
- QDesignerActionEditorInterface Class Reference
- QDesignerContainerExtension Class Reference
- QDesignerCustomWidgetCollectionInterface Class Reference
- QDesignerCustomWidgetInterface Class Reference
- QDesignerFormEditorInterface Class Reference
- QDesignerFormWindowCursorInterface Class Reference
- QDesignerFormWindowInterface Class Reference
- QDesignerFormWindowManagerInterface Class Reference
- QDesignerMemberSheetExtension Class Reference
- QDesignerObjectInspectorInterface Class Reference
- QDesignerPropertyEditorInterface Class Reference
- QDesignerPropertySheetExtension Class Reference
- QDesignerTaskMenuExtension Class Reference
- QDesignerWidgetBoxInterface Class Reference
- QDesktopServices Class Reference
- QDesktopWidget Class Reference
- QDial Class Reference
- QDialog Class Reference
- QDialogButtonBox Class Reference
- QDir Class Reference
- QDirIterator Class Reference
- QDirModel Class Reference
- QDockWidget Class Reference
- QDomAttr Class Reference
- QDomCDATASection Class Reference
- QDomCharacterData Class Reference
- QDomComment Class Reference
- QDomDocument Class Reference
- QDomDocumentFragment Class Reference
- QDomDocumentType Class Reference
- QDomElement Class Reference
- QDomEntity Class Reference
- QDomEntityReference Class Reference
- QDomImplementation Class Reference
- QDomNamedNodeMap Class Reference
- QDomNode Class Reference
- QDomNodeList Class Reference
- QDomNotation Class Reference
- QDomProcessingInstruction Class Reference
- QDomText Class Reference
- QDoubleSpinBox Class Reference
- QDoubleValidator Class Reference
- QDrag Class Reference
- QDragEnterEvent Class Reference
- QDragLeaveEvent Class Reference
- QDragMoveEvent Class Reference
- QDropEvent Class Reference
- QDynamicPropertyChangeEvent Class Reference
- QEasingCurve Class Reference
- QElapsedTimer Class Reference
- QErrorMessage Class Reference
- QEvent Class Reference
- QEventLoop Class Reference
- QEventTransition Class Reference
- QExtensionFactory Class Reference
- QExtensionManager Class Reference
- QFile Class Reference
- QFileDialog Class Reference
- QFileIconProvider Class Reference
- QFileInfo Class Reference
- QFileOpenEvent Class Reference
- QFileSystemModel Class Reference
- QFileSystemWatcher Class Reference
- QFinalState Class Reference
- QFocusEvent Class Reference
- QFocusFrame Class Reference
- QFont Class Reference
- QFontComboBox Class Reference
- QFontDatabase Class Reference
- QFontDialog Class Reference
- QFontInfo Class Reference
- QFontMetrics Class Reference
- QFontMetricsF Class Reference
- QFormBuilder Class Reference
- QFormLayout Class Reference
- QFrame Class Reference
- QFSFileEngine Class Reference
- QFtp Class Reference
- QGenericArgument Class Reference
- QGenericReturnArgument Class Reference
- QGesture Class Reference
- QGestureEvent Class Reference
- QGestureRecognizer Class Reference
- QGL Class Reference
- QGLBuffer Class Reference
- QGLColormap Class Reference
- QGLContext Class Reference
- QGLFormat Class Reference
- QGLFramebufferObject Class Reference
- QGLFramebufferObjectFormat Class Reference
- QGLPixelBuffer Class Reference
- QGLShader Class Reference
- QGLShaderProgram Class Reference
- QGLWidget Class Reference
- QGlyphRun Class Reference
- QGradient Class Reference
- QGraphicsAnchor Class Reference
- QGraphicsAnchorLayout Class Reference
- QGraphicsBlurEffect Class Reference
- QGraphicsColorizeEffect Class Reference
- QGraphicsDropShadowEffect Class Reference
- QGraphicsEffect Class Reference
- QGraphicsEllipseItem Class Reference
- QGraphicsGridLayout Class Reference
- QGraphicsItem Class Reference
- QGraphicsItemAnimation Class Reference
- QGraphicsItemGroup Class Reference
- QGraphicsLayout Class Reference
- QGraphicsLayoutItem Class Reference
- QGraphicsLinearLayout Class Reference
- QGraphicsLineItem Class Reference
- QGraphicsObject Class Reference
- QGraphicsOpacityEffect Class Reference
- QGraphicsPathItem Class Reference
- QGraphicsPixmapItem Class Reference
- QGraphicsPolygonItem Class Reference
- QGraphicsProxyWidget Class Reference
- QGraphicsRectItem Class Reference
- QGraphicsRotation Class Reference
- QGraphicsScale Class Reference
- QGraphicsScene Class Reference
- QGraphicsSceneContextMenuEvent Class Reference
- QGraphicsSceneDragDropEvent Class Reference
- QGraphicsSceneEvent Class Reference
- QGraphicsSceneHelpEvent Class Reference
- QGraphicsSceneHoverEvent Class Reference
- QGraphicsSceneMouseEvent Class Reference
- QGraphicsSceneMoveEvent Class Reference
- QGraphicsSceneResizeEvent Class Reference
- QGraphicsSceneWheelEvent Class Reference
- QGraphicsSimpleTextItem Class Reference
- QGraphicsSvgItem Class Reference
- QGraphicsTextItem Class Reference
- QGraphicsTransform Class Reference
- QGraphicsView Class Reference
- QGraphicsWebView Class Reference
- QGraphicsWidget Class Reference
- QGridLayout Class Reference
- QGroupBox Class Reference
- QHBoxLayout Class Reference
- QHeaderView Class Reference
- QHelpContentItem Class Reference
- QHelpContentModel Class Reference
- QHelpContentWidget Class Reference
- QHelpEngine Class Reference
- QHelpEngineCore Class Reference
- QHelpEvent Class Reference
- QHelpIndexModel Class Reference
- QHelpIndexWidget Class Reference
- QHelpSearchEngine Class Reference
- QHelpSearchQuery Class Reference
- QHelpSearchQueryWidget Class Reference
- QHelpSearchResultWidget Class Reference
- QHideEvent Class Reference
- QHistoryState Class Reference
- QHostAddress Class Reference
- QHostInfo Class Reference
- QHoverEvent Class Reference
- QHttp Class Reference
- QHttpHeader Class Reference
- QHttpMultiPart Class Reference
- QHttpPart Class Reference
- QHttpRequestHeader Class Reference
- QHttpResponseHeader Class Reference
- QIcon Class Reference
- QIconDragEvent Class Reference
- QIconEngine Class Reference
- QIconEngineV2 Class Reference
- QIdentityProxyModel Class Reference
- QImage Class Reference
- QImageIOHandler Class Reference
- QImageReader Class Reference
- QImageWriter Class Reference
- QInputContext Class Reference
- QInputContextFactory Class Reference
- QInputDialog Class Reference
- QInputEvent Class Reference
- QInputMethodEvent Class Reference
- QIntValidator Class Reference
- QIODevice Class Reference
- QItemDelegate Class Reference
- QItemEditorCreatorBase Class Reference
- QItemEditorFactory Class Reference
- QItemSelection Class Reference
- QItemSelectionModel Class Reference
- QItemSelectionRange Class Reference
- QKeyEvent Class Reference
- QKeyEventTransition Class Reference
- QKeySequence Class Reference
- QLabel Class Reference
- QLatin1Char Class Reference
- QLatin1String Class Reference
- QLayout Class Reference
- QLayoutItem Class Reference
- QLCDNumber Class Reference
- QLibrary Class Reference
- QLibraryInfo Class Reference
- QLine Class Reference
- QLinearGradient Class Reference
- QLineEdit Class Reference
- QLineF Class Reference
- QListView Class Reference
- QListWidget Class Reference
- QListWidgetItem Class Reference
- QLocale Class Reference
- QLocalServer Class Reference
- QLocalSocket Class Reference
- QMainWindow Class Reference
- QMargins Class Reference
- QMatrix Class Reference
- QMatrix2x2 Class Reference
- QMatrix2x3 Class Reference
- QMatrix2x4 Class Reference
- QMatrix3x2 Class Reference
- QMatrix3x3 Class Reference
- QMatrix3x4 Class Reference
- QMatrix4x2 Class Reference
- QMatrix4x3 Class Reference
- QMatrix4x4 Class Reference
- QMdiArea Class Reference
- QMdiSubWindow Class Reference
- QMenu Class Reference
- QMenuBar Class Reference
- QMessageBox Class Reference
- QMetaClassInfo Class Reference
- QMetaEnum Class Reference
- QMetaMethod Class Reference
- QMetaObject Class Reference
- QMetaProperty Class Reference
- QMetaType Class Reference
- QMimeData Class Reference
- QMimeSource Class Reference
- QModelIndex Class Reference
- QMouseEvent Class Reference
- QMouseEventTransition Class Reference
- QMoveEvent Class Reference
- QMovie Class Reference
- QMutex Class Reference
- QMutexLocker Class Reference
- QNetworkAccessManager Class Reference
- QNetworkAddressEntry Class Reference
- QNetworkCacheMetaData Class Reference
- QNetworkConfiguration Class Reference
- QNetworkConfigurationManager Class Reference
- QNetworkCookie Class Reference
- QNetworkCookieJar Class Reference
- QNetworkDiskCache Class Reference
- QNetworkInterface Class Reference
- QNetworkProxy Class Reference
- QNetworkProxyFactory Class Reference
- QNetworkProxyQuery Class Reference
- QNetworkReply Class Reference
- QNetworkRequest Class Reference
- QNetworkSession Class Reference
- QObject Class Reference
- QObjectCleanupHandler Class Reference
- QPageSetupDialog Class Reference
- QPaintDevice Class Reference
- QPaintEngine Class Reference
- QPaintEngineState Class Reference
- QPainter Class Reference
- QPainterPath Class Reference
- QPainterPathStroker Class Reference
- QPaintEvent Class Reference
- QPalette Class Reference
- QPanGesture Class Reference
- QParallelAnimationGroup Class Reference
- QPauseAnimation Class Reference
- QPen Class Reference
- QPersistentModelIndex Class Reference
- QPicture Class Reference
- QPictureIO Class Reference
- QPinchGesture Class Reference
- QPixmap Class Reference
- QPixmapCache Class Reference
- QPlainTextDocumentLayout Class Reference
- QPlainTextEdit Class Reference
- QPluginLoader Class Reference
- QPoint Class Reference
- QPointF Class Reference
- QPolygon Class Reference
- QPolygonF Class Reference
- QPrintDialog Class Reference
- QPrintEngine Class Reference
- QPrinter Class Reference
- QPrinterInfo Class Reference
- QPrintPreviewDialog Class Reference
- QPrintPreviewWidget Class Reference
- QProcess Class Reference
- QProcessEnvironment Class Reference
- QProgressBar Class Reference
- QProgressDialog Class Reference
- QPropertyAnimation Class Reference
- QProxyModel Class Reference
- QPushButton Class Reference
- QPyDeclarativePropertyValueSource Class Reference
- QPyDesignerContainerExtension Class Reference
- QPyDesignerCustomWidgetCollectionPlugin Class Reference
- QPyDesignerCustomWidgetPlugin Class Reference
- QPyDesignerMemberSheetExtension Class Reference
- QPyDesignerPropertySheetExtension Class Reference
- QPyDesignerTaskMenuExtension Class Reference
- QPyNullVariant Class Reference
- QPyTextObject Class Reference
- QQuaternion Class Reference
- QRadialGradient Class Reference
- QRadioButton Class Reference
- QRawFont Class Reference
- QReadLocker Class Reference
- QReadWriteLock Class Reference
- QRect Class Reference
- QRectF Class Reference
- QRegExp Class Reference
- QRegExpValidator Class Reference
- QRegion Class Reference
- QResizeEvent Class Reference
- QResource Class Reference
- QRubberBand Class Reference
- QRunnable Class Reference
- QScriptClass Class Reference
- QScriptClassPropertyIterator Class Reference
- QScriptContext Class Reference
- QScriptContextInfo Class Reference
- QScriptEngine Class Reference
- QScriptEngineAgent Class Reference
- QScriptEngineDebugger Class Reference
- QScriptString Class Reference
- QScriptSyntaxCheckResult Class Reference
- QScriptValue Class Reference
- QScriptValueIterator Class Reference
- QScrollArea Class Reference
- QScrollBar Class Reference
- QSemaphore Class Reference
- QSequentialAnimationGroup Class Reference
- QSessionManager Class Reference
- QSettings Class Reference
- QSharedMemory Class Reference
- QShortcut Class Reference
- QShortcutEvent Class Reference
- QShowEvent Class Reference
- QSignalMapper Class Reference
- QSignalTransition Class Reference
- QSimpleXmlNodeModel Class Reference
- QSize Class Reference
- QSizeF Class Reference
- QSizeGrip Class Reference
- QSizePolicy Class Reference
- QSlider Class Reference
- QSocketNotifier Class Reference
- QSortFilterProxyModel Class Reference
- QSound Class Reference
- QSourceLocation Class Reference
- QSpacerItem Class Reference
- QSpinBox Class Reference
- QSplashScreen Class Reference
- QSplitter Class Reference
- QSplitterHandle Class Reference
- QSql Class Reference
- QSqlDatabase Class Reference
- QSqlDriver Class Reference
- QSqlDriverCreatorBase Class Reference
- QSqlError Class Reference
- QSqlField Class Reference
- QSqlIndex Class Reference
- QSqlQuery Class Reference
- QSqlQueryModel Class Reference
- QSqlRecord Class Reference
- QSqlRelation Class Reference
- QSqlRelationalDelegate Class Reference
- QSqlRelationalTableModel Class Reference
- QSqlResult Class Reference
- QSqlTableModel Class Reference
- Qt4.7文档翻译:Qt样式单参考,Qt Style Sheets Reference
- QSsl Class Reference
- QSslCertificate Class Reference
- QSslCipher Class Reference
- QSslConfiguration Class Reference
- QSslError Class Reference
- QSslKey Class Reference
- QSslSocket Class Reference
- QStackedLayout Class Reference
- QStackedWidget Class Reference
- QStandardItem Class Reference
- QStandardItemModel Class Reference
- QState Class Reference
- QStateMachine Class Reference
- QStaticText Class Reference
- QStatusBar Class Reference
- QStatusTipEvent Class Reference
- QString Class Reference
- QStringList Class Reference
- QStringListModel Class Reference
- QStringMatcher Class Reference
- QStringRef Class Reference
- QStyle Class Reference
- QStyledItemDelegate Class Reference
- QStyleFactory Class Reference
- QStyleHintReturn Class Reference
- QStyleHintReturnMask Class Reference
- QStyleHintReturnVariant Class Reference
- QStyleOption Class Reference
- QStyleOptionButton Class Reference
- QStyleOptionComboBox Class Reference
- QStyleOptionComplex Class Reference
- QStyleOptionDockWidget Class Reference
- QStyleOptionDockWidgetV2 Class Reference
- QStyleOptionFocusRect Class Reference
- QStyleOptionFrame Class Reference
- QStyleOptionFrameV2 Class Reference
- QStyleOptionFrameV3 Class Reference
- QStyleOptionGraphicsItem Class Reference
- QStyleOptionGroupBox Class Reference
- QStyleOptionHeader Class Reference
- QStyleOptionMenuItem Class Reference
- QStyleOptionProgressBar Class Reference
- QStyleOptionProgressBarV2 Class Reference
- QStyleOptionRubberBand Class Reference
- QStyleOptionSizeGrip Class Reference
- QStyleOptionSlider Class Reference
- QStyleOptionSpinBox Class Reference
- QStyleOptionTab Class Reference
- QStyleOptionTabBarBase Class Reference
- QStyleOptionTabBarBaseV2 Class Reference
- QStyleOptionTabV2 Class Reference
- QStyleOptionTabV3 Class Reference
- QStyleOptionTabWidgetFrame Class Reference
- QStyleOptionTabWidgetFrameV2 Class Reference
- QStyleOptionTitleBar Class Reference
- QStyleOptionToolBar Class Reference
- QStyleOptionToolBox Class Reference
- QStyleOptionToolBoxV2 Class Reference
- QStyleOptionToolButton Class Reference
- QStyleOptionViewItem Class Reference
- QStyleOptionViewItemV2 Class Reference
- QStyleOptionViewItemV3 Class Reference
- QStyleOptionViewItemV4 Class Reference
- QStylePainter Class Reference
- QSvgGenerator Class Reference
- QSvgRenderer Class Reference
- QSvgWidget Class Reference
- QSwipeGesture Class Reference
- QSyntaxHighlighter Class Reference
- QSysInfo Class Reference
- QSystemLocale Class Reference
- QSystemSemaphore Class Reference
- QSystemTrayIcon Class Reference
- Qt Class Reference
- QTabBar Class Reference
- QTabletEvent Class Reference
- QTableView Class Reference
- QTableWidget Class Reference
- QTableWidgetItem Class Reference
- QTableWidgetSelectionRange Class Reference
- QTabWidget Class Reference
- QTapAndHoldGesture Class Reference
- QTapGesture Class Reference
- QTcpServer Class Reference
- QTcpSocket Class Reference
- QTemporaryFile Class Reference
- QTest Class Reference
- QTextBlock Class Reference
- QTextBlockFormat Class Reference
- QTextBlockGroup Class Reference
- QTextBlockUserData Class Reference
- QTextBoundaryFinder Class Reference
- QTextBrowser Class Reference
- QTextCharFormat Class Reference
- QTextCodec Class Reference
- QTextCursor Class Reference
- QTextDecoder Class Reference
- QTextDocument Class Reference
- QTextDocumentFragment Class Reference
- QTextDocumentWriter Class Reference
- QTextEdit Class Reference
- QTextEncoder Class Reference
- QTextFormat Class Reference
- QTextFragment Class Reference
- QTextFrame Class Reference
- QTextFrameFormat Class Reference
- QTextImageFormat Class Reference
- QTextInlineObject Class Reference
- QTextItem Class Reference
- QTextLayout Class Reference
- QTextLength Class Reference
- QTextLine Class Reference
- QTextList Class Reference
- QTextListFormat Class Reference
- QTextObject Class Reference
- QTextObjectInterface Class Reference
- QTextOption Class Reference
- QTextStream Class Reference
- QTextTable Class Reference
- QTextTableCell Class Reference
- QTextTableCellFormat Class Reference
- QTextTableFormat Class Reference
- QThread Class Reference
- QThreadPool Class Reference
- QTime Class Reference
- QTimeEdit Class Reference
- QTimeLine Class Reference
- QTimer Class Reference
- QTimerEvent Class Reference
- QToolBar Class Reference
- QToolBox Class Reference
- QToolButton Class Reference
- QToolTip Class Reference
- QTouchEvent Class Reference
- Reference
- QTransform Class Reference
- QTranslator Class Reference
- QTreeView Class Reference
- QTreeWidget Class Reference
- QTreeWidgetItem Class Reference
- QTreeWidgetItemIterator Class Reference
- QUdpSocket Class Reference
- QUndoCommand Class Reference
- QUndoGroup Class Reference
- QUndoStack Class Reference
- QUndoView Class Reference
- QUrl Class Reference
- QUrlInfo Class Reference
- QUuid Class Reference
- QValidator Class Reference
- QVariant Class Reference
- QVariantAnimation Class Reference
- QVBoxLayout Class Reference
- QVector2D Class Reference
- QVector3D Class Reference
- QVector4D Class Reference
- QVideoFrame Class Reference
- QVideoSurfaceFormat Class Reference
- QWaitCondition Class Reference
- QWebDatabase Class Reference
- QWebElement Class Reference
- QWebElementCollection Class Reference
- QWebFrame Class Reference
- QWebHistory Class Reference
- QWebHistoryInterface Class Reference
- QWebHistoryItem Class Reference
- QWebHitTestResult Class Reference
- QWebInspector Class Reference
- QWebPage Class Reference
- QWebPluginFactory Class Reference
- QWebSecurityOrigin Class Reference
- QWebSettings Class Reference
- QWebView Class Reference
- QWhatsThis Class Reference
- QWhatsThisClickedEvent Class Reference
- QWheelEvent Class Reference
- QWidget Class Reference
- QWidgetAction Class Reference
- QWidgetItem Class Reference
- QWindowStateChangeEvent Class Reference
- QWizard Class Reference
- QWizardPage Class Reference
- QWorkspace Class Reference
- QWriteLocker Class Reference
- QX11EmbedContainer Class Reference
- QX11EmbedWidget Class Reference
- QX11Info Class Reference
- QXmlAttributes Class Reference
- QXmlContentHandler Class Reference
- QXmlDeclHandler Class Reference
- QXmlDefaultHandler Class Reference
- QXmlDTDHandler Class Reference
- QXmlEntityResolver Class Reference
- QXmlErrorHandler Class Reference
- QXmlFormatter Class Reference
- QXmlInputSource Class Reference
- QXmlItem Class Reference
- QXmlLexicalHandler Class Reference
- QXmlLocator Class Reference
- QXmlName Class Reference
- QXmlNamePool Class Reference
- QXmlNamespaceSupport Class Reference
- QXmlNodeModelIndex Class Reference
- QXmlParseException Class Reference
- QXmlQuery Class Reference
- QXmlReader Class Reference
- QXmlResultItems Class Reference
- QXmlSchema Class Reference
- QXmlSchemaValidator Class Reference
- QXmlSerializer Class Reference
- QXmlSimpleReader Class Reference
- QXmlStreamAttribute Class Reference
- QXmlStreamAttributes Class Reference
- QXmlStreamEntityDeclaration Class Reference
- QXmlStreamEntityResolver Class Reference
- QXmlStreamNamespaceDeclaration Class Reference
- QXmlStreamNotationDeclaration Class Reference
- QXmlStreamReader Class Reference
- QXmlStreamWriter Class Reference