# QLayout Class Reference
## [[QtGui](index.htm) module]
The QLayout class is the base class of geometry managers. [More...](#details)
Inherits [QObject](qobject.html) and [QLayoutItem](qlayoutitem.html).
Inherited by [QBoxLayout](qboxlayout.html), [QFormLayout](qformlayout.html), [QGridLayout](qgridlayout.html) and [QStackedLayout](qstackedlayout.html).
### Types
* `enum SizeConstraint { SetDefaultConstraint, SetNoConstraint, SetMinimumSize, SetFixedSize, SetMaximumSize, SetMinAndMaxSize }`
### Methods
* `__init__ (self, QWidget parent)`
* `__init__ (self)`
* `bool activate (self)`
* `addChildLayout (self, QLayout l)`
* `addChildWidget (self, QWidget w)`
* `addItem (self, QLayoutItem)`
* `addWidget (self, QWidget w)`
* `QRect alignmentRect (self, QRect)`
* `childEvent (self, QChildEvent e)`
* `QMargins contentsMargins (self)`
* `QRect contentsRect (self)`
* `int count (self)`
* `Qt.Orientations expandingDirections (self)`
* `QRect geometry (self)`
* `(int left, int top, int right, int bottom) getContentsMargins (self)`
* `int indexOf (self, QWidget)`
* `invalidate (self)`
* `bool isEmpty (self)`
* `bool isEnabled (self)`
* `QLayoutItem itemAt (self, int index)`
* `QLayout layout (self)`
* `int margin (self)`
* `QSize maximumSize (self)`
* `QWidget menuBar (self)`
* `QSize minimumSize (self)`
* `QWidget parentWidget (self)`
* `removeItem (self, QLayoutItem)`
* `removeWidget (self, QWidget w)`
* `bool setAlignment (self, QWidget w, Qt.Alignment alignment)`
* `bool setAlignment (self, QLayout l, Qt.Alignment alignment)`
* `setAlignment (self, Qt.Alignment alignment)`
* `setContentsMargins (self, int left, int top, int right, int bottom)`
* `setContentsMargins (self, QMargins margins)`
* `setEnabled (self, bool)`
* `setGeometry (self, QRect)`
* `setMargin (self, int)`
* `setMenuBar (self, QWidget w)`
* `setSizeConstraint (self, SizeConstraint)`
* `setSpacing (self, int)`
* `SizeConstraint sizeConstraint (self)`
* `int spacing (self)`
* `QLayoutItem takeAt (self, int index)`
* `int totalHeightForWidth (self, int w)`
* `QSize totalMaximumSize (self)`
* `QSize totalMinimumSize (self)`
* `QSize totalSizeHint (self)`
* `update (self)`
* `widgetEvent (self, QEvent)`
### Static Methods
* `QSize closestAcceptableSize (QWidget w, QSize s)`
### Special Methods
* `__len__ (self)`
* * *
## Detailed Description
该QLayout类是几何管理者的基类。
这是继承的具体类的抽象基类[QBoxLayout](qboxlayout.html),[QGridLayout](qgridlayout.html),[QFormLayout](qformlayout.html)和[QStackedLayout](qstackedlayout.html)。
有关的QLayout子类或用户[QMainWindow](qmainwindow.html)里面很少有任何需要使用由QLayout提供的基本功能,如[setSizeConstraint](qlayout.html#sizeConstraint-prop)()或[setMenuBar](qlayout.html#setMenuBar)( ) 。看[Layout Management](index.htm)了解更多信息。
为了使自己的布局管理器,实现功能[addItem](qlayout.html#addItem)( )[sizeHint](qlayoutitem.html#sizeHint)( )[setGeometry](qlayout.html#setGeometry)( )[itemAt](qlayout.html#itemAt)()和[takeAt](qlayout.html#takeAt)( ) 。你也应该实施[minimumSize](qlayout.html#minimumSize)( ),以确保你的布局是不是调整到零尺寸,如果有空间太少。为了支持儿童,其高度依赖于它们的宽度,实施[hasHeightForWidth](qlayoutitem.html#hasHeightForWidth)()和[heightForWidth](qlayoutitem.html#heightForWidth)( ) 。请参阅[Border Layout](index.htm)和[Flow Layout](index.htm)示例有关实现自定义布局管理器的更多信息。
当布局管理器被删除几何管理停止。
* * *
## Type Documentation
```
QLayout.SizeConstraint
```
可能的值有:
| Constant | Value | Description |
| --- | --- | --- |
| `QLayout.SetDefaultConstraint` | `0` | 主窗口部件的最小大小设置为[minimumSize](qlayout.html#minimumSize)()中,除插件已经具有的最小尺寸。 |
| `QLayout.SetFixedSize` | `3` | 主窗口部件的大小设置为[sizeHint](qlayoutitem.html#sizeHint)();它不能在所有的调整大小。 |
| `QLayout.SetMinimumSize` | `2` | 主窗口部件的最小大小设置为[minimumSize](qlayout.html#minimumSize)();它不能是较小的。 |
| `QLayout.SetMaximumSize` | `4` | 主窗口部件的最大大小设置为[maximumSize](qlayout.html#maximumSize)();它不能大。 |
| `QLayout.SetMinAndMaxSize` | `5` | 主窗口部件的最小大小设置为[minimumSize](qlayout.html#minimumSize)() ,其最大尺寸设定为[maximumSize](qlayout.html#maximumSize)( ) 。 |
| `QLayout.SetNoConstraint` | `1` | 窗口小部件不受限。 |
**See also** [setSizeConstraint](qlayout.html#sizeConstraint-prop)( ) 。
* * *
## Method Documentation
```
QLayout.__init__ (self, QWidget parent)
```
该_parent_的说法,如果不是没有,原因_self_通过Qt的,而不是PyQt的拥有。
构造一个新的顶级[QLayout](qlayout.html),与父_parent_。_parent_可能不是0 。
只能有一个是一个小部件的顶层布局。它是由返回[QWidget.layout](qwidget.html#layout)( ) 。
```
QLayout.__init__ (self)
```
构造一个新的子[QLayout](qlayout.html)。
这种布局有被插入到另一个布局之前几何管理将工作。
```
bool QLayout.activate (self)
```
重做的布局[parentWidget](qlayout.html#parentWidget)()如果需要的话。
你通常应该不需要调用这个,因为它是自动调用在最适当的时候。如果布局被再做它返回True 。
**See also** [update](qlayout.html#update)()和[QWidget.updateGeometry](qwidget.html#updateGeometry)( ) 。
```
QLayout.addChildLayout (self, QLayout l)
```
该_l_说法有它的所有权转移给Qt的。
此功能是从所谓的`addLayout()` or `insertLayout()`在子类的功能来添加布局_l_作为子布局。
在其中你需要把它直接调用的唯一情况是,如果你执行一个支持嵌套的布局自定义布局。
**See also** [QBoxLayout.addLayout](qboxlayout.html#addLayout)( )[QBoxLayout.insertLayout](qboxlayout.html#insertLayout)()和[QGridLayout.addLayout](qgridlayout.html#addLayout)( ) 。
```
QLayout.addChildWidget (self, QWidget w)
```
该_w_说法有它的所有权转移给Qt的。
此功能是从所谓的`addWidget()`在子类中添加功能_w_作为布局的一个管理部件。
If _w_已通过布局管理,此功能将给予警告并删除_w_从布局。这个功能,因此必须加入之前调用_w_到布局的数据结构。
```
QLayout.addItem (self, QLayoutItem)
```
这种方法是抽象的,应在任何子类中重新实现。
该_QLayoutItem_说法有它的所有权转移给Qt的。
实现在子类中添加一个_item_。它是如何添加特定于每个子类。
这个功能并不是通常所说的应用程序代码。以一个小部件添加到布局,使用[addWidget](qlayout.html#addWidget)( )函数;有关规定增加一个子布局,使用addLayout ( )函数[QLayout](qlayout.html)子类。
**Note:**所有权_item_被转移到布局,它的布局的责任将其删除。
**See also** [addWidget](qlayout.html#addWidget)( )[QBoxLayout.addLayout](qboxlayout.html#addLayout)()和[QGridLayout.addLayout](qgridlayout.html#addLayout)( ) 。
```
QLayout.addWidget (self, QWidget w)
```
该_w_说法有它的所有权转移给Qt的。
添加小工具_w_在特定的布局方式这样的布局。此函数使用[addItem](qlayout.html#addItem)( ) 。
```
QRect QLayout.alignmentRect (self, QRect)
```
[](qrect.html)
[返回时,此布局的几何形状被设置为应涵盖的矩形_r_,但前提是这个布局支持](qrect.html)[setAlignment](qlayout.html#setAlignment)( ) 。
其结果是衍生自[sizeHint](qlayoutitem.html#sizeHint)( )和扩展( ) 。这是从来没有大于_r_。
```
QLayout.childEvent (self, QChildEvent e)
```
从重新实现[QObject.childEvent](qobject.html#childEvent)( ) 。
```
QSize QLayout.closestAcceptableSize (QWidget w, QSize s)
```
[](qsize.html)
[返回一个大小满足所有尺寸的限制_widget_包括](qsize.html)[heightForWidth](qlayoutitem.html#heightForWidth)( ),并且是尽可能接近到_size_。
```
QMargins QLayout.contentsMargins (self)
```
[
返回周围的布局中使用的利润。
](qmargins.html)
[默认情况下,](qmargins.html)[QLayout](qlayout.html)使用由式所提供的值。在大多数平台上,保证金是在所有方向11像素。
此功能被引入Qt的4.6 。
**See also** [setContentsMargins](qlayout.html#setContentsMargins)( ) 。
```
QRect QLayout.contentsRect (self)
```
[](qrect.html)
[返回布局的](qrect.html)[geometry](qlayout.html#geometry)( )的矩形,但考虑到内容的利润率。
此功能被引入Qt的4.3 。
**See also** [setContentsMargins](qlayout.html#setContentsMargins)()和[getContentsMargins](qlayout.html#getContentsMargins)( ) 。
```
int QLayout.count (self)
```
这种方法是抽象的,应在任何子类中重新实现。
必须在子类中实现返回布局的项目数。
**See also** [itemAt](qlayout.html#itemAt)( ) 。
```
Qt.Orientations QLayout.expandingDirections (self)
```
[](index.htm)
[从重新实现](index.htm)[QLayoutItem.expandingDirections](qlayoutitem.html#expandingDirections)( ) 。
返回此布局是否可以使更多的空间比使用[sizeHint](qlayoutitem.html#sizeHint)( ) 。的值[Qt.Vertical](qt.html#Orientation-enum) or [Qt.Horizontal](qt.html#Orientation-enum)意味着它要在只有一维增长,而[Qt.Vertical](qt.html#Orientation-enum)|[Qt.Horizontal](qt.html#Orientation-enum)也就是说,它要在这两个方面的增长。
默认实现返回[Qt.Horizontal](qt.html#Orientation-enum)|[Qt.Vertical](qt.html#Orientation-enum)。子类重新实现它返回基于其子控件的一个有意义的值[size policies](qsizepolicy.html)。
**See also** [sizeHint](qlayoutitem.html#sizeHint)( ) 。
```
QRect QLayout.geometry (self)
```
[](qrect.html)
[从重新实现](qrect.html)[QLayoutItem.geometry](qlayoutitem.html#geometry)( ) 。
**See also** [setGeometry](qlayout.html#setGeometry)( ) 。
```
(int left, int top, int right, int bottom) QLayout.getContentsMargins (self)
```
提取左,上,右,和周围的布局中使用上下边界,并为它们分配到*_left_*_top_*_right_和*_bottom_(除非他们是空指针) 。
默认情况下,[QLayout](qlayout.html)使用由式所提供的值。在大多数平台上,保证金是在所有方向11像素。
此功能被引入Qt的4.3 。
**See also** [setContentsMargins](qlayout.html#setContentsMargins)( )[QStyle.pixelMetric](qstyle.html#pixelMetric)( )[PM_LayoutLeftMargin](qstyle.html#PixelMetric-enum),[PM_LayoutTopMargin](qstyle.html#PixelMetric-enum),[PM_LayoutRightMargin](qstyle.html#PixelMetric-enum)和[PM_LayoutBottomMargin](qstyle.html#PixelMetric-enum)。
```
int QLayout.indexOf (self, QWidget)
```
搜索小工具_widget_在这种布局(不包括子布局) 。
返回的索引_widget_,或-1,如果_widget_是没有找到。
对所有项目使用默认的实现迭代[itemAt](qlayout.html#itemAt)( )
```
QLayout.invalidate (self)
```
从重新实现[QLayoutItem.invalidate](qlayoutitem.html#invalidate)( ) 。
```
bool QLayout.isEmpty (self)
```
从重新实现[QLayoutItem.isEmpty](qlayoutitem.html#isEmpty)( ) 。
```
bool QLayout.isEnabled (self)
```
返回True如果启用了布局,否则返回False 。
**See also** [setEnabled](qlayout.html#setEnabled)( ) 。
```
QLayoutItem QLayout.itemAt (self, int index)
```
[
这种方法是抽象的,应在任何子类中重新实现。
必须在子类中实现,以在返回版面项目_index_。如果不存在这样的产品,该函数必须返回0。项目从0连续编号。如果一个项目被删除,其他项目将被重新编号。
此功能可用于迭代的布局。下面的代码将绘制在小部件的布局结构为每个布局项目的矩形。
](qlayoutitem.html)
```
static void paintLayout(QPainter *painter, [QLayoutItem](qlayoutitem.html) *item)
{
[QLayout](qlayout.html) *layout = item->layout();
if (layout) {
for (int i = 0; i < layout->count(); ++i)
paintLayout(painter, layout->itemAt(i));
}
painter->drawRect(item->geometry());
}
void MyWidget.paintEvent([QPaintEvent](qpaintevent.html) *)
{
[QPainter](qpainter.html) painter(this);
if (layout())
paintLayout(&painter, layout());
}
```
**See also** [count](qlayout.html#count)()和[takeAt](qlayout.html#takeAt)( ) 。
```
QLayout QLayout.layout (self)
```
[](qlayout.html)
[从重新实现](qlayout.html)[QLayoutItem.layout](qlayoutitem.html#layout)( ) 。
```
int QLayout.margin (self)
```
```
QSize QLayout.maximumSize (self)
```
[](qsize.html)
[从重新实现](qsize.html)[QLayoutItem.maximumSize](qlayoutitem.html#maximumSize)( ) 。
返回此布局的最大尺寸。这是该布局可以有同时仍尊重规格的最大尺寸。
返回值不包括所需的空间[QWidget.setContentsMargins](qwidget.html#setContentsMargins)()或[menuBar](qlayout.html#menuBar)( ) 。
默认实现允许无限制调整大小。
```
QWidget QLayout.menuBar (self)
```
[
返回菜单栏设置此布局,或者0,如果没有菜单栏设置。
](qwidget.html)
[**See also**](qwidget.html) [setMenuBar](qlayout.html#setMenuBar)( ) 。
```
QSize QLayout.minimumSize (self)
```
[](qsize.html)
[从重新实现](qsize.html)[QLayoutItem.minimumSize](qlayoutitem.html#minimumSize)( ) 。
返回此布局的最小尺寸。这是该布局可以有同时仍尊重的规格的最小尺寸。
返回值不包括所需的空间[QWidget.setContentsMargins](qwidget.html#setContentsMargins)()或[menuBar](qlayout.html#menuBar)( ) 。
默认实现允许无限制调整大小。
```
QWidget QLayout.parentWidget (self)
```
[
返回此布局,或0的父控件,如果这个布局上没有任何部件安装。
如果布局是一个子布局,该函数返回父布局的父控件。
](qwidget.html)
[**See also**](qwidget.html) [parent](qobject.html#parent)( ) 。
```
QLayout.removeItem (self, QLayoutItem)
```
该_QLayoutItem_争论
删除布局项目_item_从布局。它是调用者的责任要删除的项目。
请注意,_item_可以是一个布局(自[QLayout](qlayout.html)继承[QLayoutItem](qlayoutitem.html)) 。
**See also** [removeWidget](qlayout.html#removeWidget)()和[addItem](qlayout.html#addItem)( ) 。
```
QLayout.removeWidget (self, QWidget w)
```
删除小工具_widget_从布局。此调用后,它是调用者的责任给小部件合理的几何形状或把小工具放回布局。
**Note:**所有权_widget_保持不变它被加入时相同。
**See also** [removeItem](qlayout.html#removeItem)( )[QWidget.setGeometry](qwidget.html#geometry-prop)()和[addWidget](qlayout.html#addWidget)( ) 。
```
bool QLayout.setAlignment (self, QWidget w, Qt.Alignment alignment)
```
设置对齐部件_w_至_alignment_并返回True ,如果_w_在这种布局(不包括子布局)被发现,否则返回False 。
```
bool QLayout.setAlignment (self, QLayout l, Qt.Alignment alignment)
```
设置此项目的对齐方式_alignment_。
**See also** [QLayoutItem.setAlignment](qlayoutitem.html#setAlignment)( ) 。
```
QLayout.setAlignment (self, Qt.Alignment alignment)
```
这是一个重载函数。
设置对齐布局_l_至_alignment_并返回True ,如果_l_在这种布局(不包括子布局)被发现,否则返回False 。
```
QLayout.setContentsMargins (self, int left, int top, int right, int bottom)
```
设置_left_,_top_,_right_和_bottom_利润使用周围的布局。
默认情况下,[QLayout](qlayout.html)使用由式所提供的值。在大多数平台上,保证金是在所有方向11像素。
此功能被引入Qt的4.3 。
**See also** [contentsMargins](qlayout.html#contentsMargins)( )[getContentsMargins](qlayout.html#getContentsMargins)( )[QStyle.pixelMetric](qstyle.html#pixelMetric)( )[PM_LayoutLeftMargin](qstyle.html#PixelMetric-enum),[PM_LayoutTopMargin](qstyle.html#PixelMetric-enum),[PM_LayoutRightMargin](qstyle.html#PixelMetric-enum)和[PM_LayoutBottomMargin](qstyle.html#PixelMetric-enum)。
```
QLayout.setContentsMargins (self, QMargins margins)
```
设置_margins_使用周围的布局。
默认情况下,[QLayout](qlayout.html)使用由式所提供的值。在大多数平台上,保证金是在所有方向11像素。
此功能被引入Qt的4.6 。
**See also** [contentsMargins](qlayout.html#contentsMargins)( ) 。
```
QLayout.setEnabled (self, bool)
```
启用此布局,如果_enable_是真,否则禁用它。
已启用的布局动态调整的变化,而停用的布局行为,就好像它不存在。
默认情况下所有版面已启用。
**See also** [isEnabled](qlayout.html#isEnabled)( ) 。
```
QLayout.setGeometry (self, QRect)
```
从重新实现[QLayoutItem.setGeometry](qlayoutitem.html#setGeometry)( ) 。
**See also** [geometry](qlayout.html#geometry)( ) 。
```
QLayout.setMargin (self, int)
```
```
QLayout.setMenuBar (self, QWidget w)
```
该_w_说法有它的所有权转移给Qt的。
告诉几何管理器放置在菜单栏_widget_在顶部[parentWidget](qlayout.html#parentWidget)( ) ,外[QWidget.contentsMargins](qwidget.html#contentsMargins)( ) 。所有子控件放置在菜单栏的底部边缘下方。
**See also** [menuBar](qlayout.html#menuBar)( ) 。
```
QLayout.setSizeConstraint (self, SizeConstraint)
```
```
QLayout.setSpacing (self, int)
```
```
SizeConstraint QLayout.sizeConstraint (self)
```
[
```
int QLayout.spacing (self)
```
](qlayout.html#SizeConstraint-enum)
```
QLayoutItem QLayout.takeAt (self, int index)
```
[
这种方法是抽象的,应在任何子类中重新实现。
该_QLayoutItem_结果
必须在子类中实现以除去布局项目_index_从布局,并返回该项目。如果没有这样的项目,该函数必须什么也不做,返回0 。项目从0连续编号。如果一个项目被删除,其他项目将被重新编号。
下面的代码片段显示了一个安全的方式从布局中删除的所有项目:
](qlayoutitem.html)
```
QLayoutItem *child;
while ((child = layout->takeAt(0)) != 0) {
...
delete child;
}
```
**See also** [itemAt](qlayout.html#itemAt)()和[count](qlayout.html#count)( ) 。
```
int QLayout.totalHeightForWidth (self, int w)
```
```
QSize QLayout.totalMaximumSize (self)
```
[](qsize.html)
```
QSize QLayout.totalMinimumSize (self)
```
[](qsize.html)
```
QSize QLayout.totalSizeHint (self)
```
[
```
QLayout.update (self)
```
](qsize.html)
[更新的布局](qsize.html)[parentWidget](qlayout.html#parentWidget)( ) 。
你通常应该不需要调用这个,因为它是自动调用在最适当的时候。
**See also** [activate](qlayout.html#activate)()和[invalidate](qlayout.html#invalidate)( ) 。
```
QLayout.widgetEvent (self, QEvent)
```
```
QLayout.__len__ (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