# QTextLayout Class Reference
## [[QtGui](index.htm) module]
该QTextLayout类用于布局并呈现文本。[More...](#details)
### Types
* `enum CursorMode { SkipCharacters, SkipWords }`
* `class **[FormatRange](index.htm)**`
### Methods
* `__init__ (self)`
* `__init__ (self, QString text)`
* `__init__ (self, QString text, QFont font, QPaintDevice paintDevice = None)`
* `__init__ (self, QTextBlock b)`
* `list-of-QTextLayout.FormatRange additionalFormats (self)`
* `beginLayout (self)`
* `QRectF boundingRect (self)`
* `bool cacheEnabled (self)`
* `clearAdditionalFormats (self)`
* `clearLayout (self)`
* `QTextLine createLine (self)`
* `Qt.CursorMoveStyle cursorMoveStyle (self)`
* `draw (self, QPainter p, QPointF pos, list-of-QTextLayout.FormatRange selections = list-of-QTextLayout.FormatRange, QRectF clip = QRectF())`
* `drawCursor (self, QPainter p, QPointF pos, int cursorPosition)`
* `drawCursor (self, QPainter p, QPointF pos, int cursorPosition, int width)`
* `endLayout (self)`
* `QFont font (self)`
* `list-of-QGlyphRun glyphRuns (self)`
* `bool isValidCursorPosition (self, int pos)`
* `int leftCursorPosition (self, int oldPos)`
* `QTextLine lineAt (self, int i)`
* `int lineCount (self)`
* `QTextLine lineForTextPosition (self, int pos)`
* `float maximumWidth (self)`
* `float minimumWidth (self)`
* `int nextCursorPosition (self, int oldPos, CursorMode mode = QTextLayout.SkipCharacters)`
* `QPointF position (self)`
* `int preeditAreaPosition (self)`
* `QString preeditAreaText (self)`
* `int previousCursorPosition (self, int oldPos, CursorMode mode = QTextLayout.SkipCharacters)`
* `int rightCursorPosition (self, int oldPos)`
* `setAdditionalFormats (self, list-of-QTextLayout.FormatRange overrides)`
* `setCacheEnabled (self, bool enable)`
* `setCursorMoveStyle (self, Qt.CursorMoveStyle style)`
* `setFont (self, QFont f)`
* `setPosition (self, QPointF p)`
* `setPreeditArea (self, int position, QString text)`
* `setText (self, QString string)`
* `setTextOption (self, QTextOption option)`
* `QString text (self)`
* `QTextOption textOption (self)`
* * *
## Detailed Description
该QTextLayout类用于布局并呈现文本。
它提供了从现代文字排版引擎预期的许多功能,包括Unicode标准的渲染,断行和处理游标定位。它也可以产生并呈现独立于设备的布局,东西是所见即所得的应用非常重要。
这个类有一个相当低级别的API ,除非你打算实现自己的文本呈现为一些专门的小工具,你可能不会需要直接使用它。
QTextLayout可以同时用于普通和丰富的文本。
QTextLayout可以被用来创建一个序列[QTextLine](qtextline.html)用实例给出的宽度,并且可以在屏幕上独立地放置它们。一旦布局完成,这些线可以得出一个油漆设备上。
进行布局的文本可以在构造函数中提供或设置[setText](qtextlayout.html#setText)( ) 。
布局可以被看作是一个序列[QTextLine](qtextline.html)对象;使用[createLine](qtextlayout.html#createLine)( )来创建一个[QTextLine](qtextline.html)例如,与[lineAt](qtextlayout.html#lineAt)()或[lineForTextPosition](qtextlayout.html#lineForTextPosition)( )来检索创建的行。
下面是一个代码片段,演示了布局阶段:
```
int leading = fontMetrics.leading();
[qreal](index.htm#qreal-typedef) height = 0;
textLayout.beginLayout();
while (1) {
[QTextLine](qtextline.html) line = textLayout.createLine();
if (!line.isValid())
break;
line.setLineWidth(lineWidth);
height += leading;
line.setPosition([QPointF](qpointf.html)(0, height));
height += line.height();
}
textLayout.endLayout();
```
文字可以再通过调用布局的呈现[draw](qtextlayout.html#draw)( )函数:
```
[QPainter](qpainter.html) painter(this);
textLayout.draw(&painter, [QPoint](qpoint.html)(0, 0));
```
文本中的一个给定的位置,你可以找到一个有效的光标位置与[isValidCursorPosition](qtextlayout.html#isValidCursorPosition)( )[nextCursorPosition](qtextlayout.html#nextCursorPosition)()和[previousCursorPosition](qtextlayout.html#previousCursorPosition)( ) 。
该QTextLayout本身可被定位以[setPosition](qtextlayout.html#setPosition)() ,它有一个[boundingRect](qtextlayout.html#boundingRect)() ,和一个[minimumWidth](qtextlayout.html#minimumWidth)()和一个[maximumWidth](qtextlayout.html#maximumWidth)( ) 。
* * *
## Type Documentation
```
QTextLayout.CursorMode
```
| Constant | Value |
| --- | --- |
| `QTextLayout.SkipCharacters` | `0` |
| `QTextLayout.SkipWords` | `1` |
* * *
## Method Documentation
```
QTextLayout.__init__ (self)
```
构造一个空的文本布局。
**See also** [setText](qtextlayout.html#setText)( ) 。
```
QTextLayout.__init__ (self, QString text)
```
构造一个文本布局奠定了给定的_text_。
```
QTextLayout.__init__ (self, QString text, QFont font, QPaintDevice paintDevice = None)
```
构造一个文本布局奠定了给定的_text_用指定的_font_。
所有的度量和布局计算将在绘制设备的条款进行,_paintdevice_。如果_paintdevice_为0计算将在屏幕上的指标来完成。
```
QTextLayout.__init__ (self, QTextBlock b)
```
```
list-of-QTextLayout.FormatRange QTextLayout.additionalFormats (self)
```
返回由文本布局支持其他格式的列表。
**See also** [setAdditionalFormats](qtextlayout.html#setAdditionalFormats)()和[clearAdditionalFormats](qtextlayout.html#clearAdditionalFormats)( ) 。
```
QTextLayout.beginLayout (self)
```
开始布局过程。
**See also** [endLayout](qtextlayout.html#endLayout)( ) 。
```
QRectF QTextLayout.boundingRect (self)
```
[
最小的矩形包含在布局的所有行。
```
bool QTextLayout.cacheEnabled (self)
```
返回True如果完整的布局信息被缓存,否则返回False 。
](qrectf.html)
[**See also**](qrectf.html) [setCacheEnabled](qtextlayout.html#setCacheEnabled)( ) 。
```
QTextLayout.clearAdditionalFormats (self)
```
清除由文本布局支持其他格式的列表。
**See also** [additionalFormats](qtextlayout.html#additionalFormats)()和[setAdditionalFormats](qtextlayout.html#setAdditionalFormats)( ) 。
```
QTextLayout.clearLayout (self)
```
清除布局的线路信息。已调用该函数后,[lineCount](qtextlayout.html#lineCount)( )返回0 。
此功能被引入Qt的4.4 。
```
QTextLine QTextLayout.createLine (self)
```
[
返回一个新的文本行进行布局,如果有文本被插入到布局,否则返回一个无效的文本行。
](qtextline.html)
[文本布局创建布局的最后一行之后开始,或如果布局是空的开始一个新行的对象。布局维护内部光标,每行充满了文本从光标所在位置开始的时候](qtextline.html)[QTextLine.setLineWidth](qtextline.html#setLineWidth)( )函数被调用。
一旦[QTextLine.setLineWidth](qtextline.html#setLineWidth)()被调用时,一个新的行可以被创建和填充文本。重复这个过程会布置文本包含在整个区块[QTextLayout](qtextlayout.html)。如果没有文本左被插入到布局,[QTextLine](qtextline.html)返回的将是无效的(参考isValid ( )将返回False ) 。
```
Qt.CursorMoveStyle QTextLayout.cursorMoveStyle (self)
```
[](qt.html#CursorMoveStyle-enum)
[这样做的光标运动风格](qt.html#CursorMoveStyle-enum)[QTextLayout](qtextlayout.html)。默认值是[Qt.LogicalMoveStyle](qt.html#CursorMoveStyle-enum)。
此功能被引入Qt的4.8 。
**See also** [setCursorMoveStyle](qtextlayout.html#setCursorMoveStyle)( ) 。
```
QTextLayout.draw (self, QPainter p, QPointF pos, list-of-QTextLayout.FormatRange selections = list-of-QTextLayout.FormatRange, QRectF clip = QRectF())
```
绘制整个布局上的画家_p_在所指定的位置_pos_。所呈现的布局包括给定的_selections_并通过指定的矩形内裁剪_clip_。
```
QTextLayout.drawCursor (self, QPainter p, QPointF pos, int cursorPosition)
```
绘制文本光标与当前的画笔和指定_width_在给定的_position_使用_painter_规定。在文本中的相应位置被指定_cursorPosition_。
```
QTextLayout.drawCursor (self, QPainter p, QPointF pos, int cursorPosition, int width)
```
这是一个重载函数。
绘制文本光标与当前的画笔在给定的_position_使用_painter_规定。在文本中的相应位置被指定_cursorPosition_。
```
QTextLayout.endLayout (self)
```
结束的布局过程。
**See also** [beginLayout](qtextlayout.html#beginLayout)( ) 。
```
QFont QTextLayout.font (self)
```
[
返回当前字体是用于布局,或一个默认的字体,如果没有被设置。
](qfont.html)
[**See also**](qfont.html) [setFont](qtextlayout.html#setFont)( ) 。
```
list-of-QGlyphRun QTextLayout.glyphRuns (self)
```
返回所有字形的字形索引和位置在这[QTextLayout](qtextlayout.html)。这是一个昂贵的功能,并且不应该被称为在一个时间敏感的上下文。
此功能被引入Qt的4.8 。
**See also** [draw](qtextlayout.html#draw)()和[QPainter.drawGlyphRun](qpainter.html#drawGlyphRun)( ) 。
```
bool QTextLayout.isValidCursorPosition (self, int pos)
```
/返回True如果位置_pos_是一个有效的光标位置。
在Unicode上下文中的文字部分职位是无效的光标位置,因为该位置是一个Unicode代理或字形集群内。
一字形群集是两个或两个以上构成屏幕上的一个不可分割的实体Unicode字符序列。例如拉丁字符`A ( 0X41 ) ,以及结合diaresis ( 0x308 ) '可以在Unicode中由两个字符, 'A来表示' 。文本光标只能有效地定位之前或之后,这两个人物,他们之间从来没有因为这没有任何意义。在印度语每一个音节构成字形集群。
```
int QTextLayout.leftCursorPosition (self, int oldPos)
```
返回光标位置的左边_oldPos_,在它旁边。该位置是依赖于字符的视觉位置,后双向重新排序。
此功能被引入Qt的4.8 。
**See also** [rightCursorPosition](qtextlayout.html#rightCursorPosition)()和[previousCursorPosition](qtextlayout.html#previousCursorPosition)( ) 。
```
QTextLine QTextLayout.lineAt (self, int i)
```
[
返回_i_个线在这个文本布局的文本。
](qtextline.html)
[**See also**](qtextline.html) [lineCount](qtextlayout.html#lineCount)()和[lineForTextPosition](qtextlayout.html#lineForTextPosition)( ) 。
```
int QTextLayout.lineCount (self)
```
返回总行在这个文本布局的数量。
**See also** [lineAt](qtextlayout.html#lineAt)( ) 。
```
QTextLine QTextLayout.lineForTextPosition (self, int pos)
```
[
返回包含由指定的光标位置的行_pos_。
](qtextline.html)
[**See also**](qtextline.html) [isValidCursorPosition](qtextlayout.html#isValidCursorPosition)()和[lineAt](qtextlayout.html#lineAt)( ) 。
```
float QTextLayout.maximumWidth (self)
```
最大宽度的布局可能会扩大到,这基本上是整个文本的宽度。
**Warning:**这个函数只返回一个有效的值的布局已经完成之后。
**See also** [minimumWidth](qtextlayout.html#minimumWidth)( ) 。
```
float QTextLayout.minimumWidth (self)
```
最小宽度的布局需要。这是布局的最小的非易碎的子串的宽度。
**Warning:**这个函数只返回一个有效的值的布局已经完成之后。
**See also** [maximumWidth](qtextlayout.html#maximumWidth)( ) 。
```
int QTextLayout.nextCursorPosition (self, int oldPos, CursorMode mode = QTextLayout.SkipCharacters)
```
后返回下一个有效的光标位置_oldPos_尊重给定的游标_mode_。的回报价值_oldPos_如果_oldPos_不是一个有效的光标位置。
**See also** [isValidCursorPosition](qtextlayout.html#isValidCursorPosition)()和[previousCursorPosition](qtextlayout.html#previousCursorPosition)( ) 。
```
QPointF QTextLayout.position (self)
```
[
布局的全球地位。这是独立于布局过程中的边界矩形和。
这个函数中引入了Qt 4.2中。
](qpointf.html)
[**See also**](qpointf.html) [setPosition](qtextlayout.html#setPosition)( ) 。
```
int QTextLayout.preeditAreaPosition (self)
```
返回编辑发生之前,将待处理的文本布局的区域的位置。
**See also** [preeditAreaText](qtextlayout.html#preeditAreaText)( ) 。
```
QString QTextLayout.preeditAreaText (self)
```
返回插入在布局编辑发生前的文本。
**See also** [preeditAreaPosition](qtextlayout.html#preeditAreaPosition)( ) 。
```
int QTextLayout.previousCursorPosition (self, int oldPos, CursorMode mode = QTextLayout.SkipCharacters)
```
返回前的第一个有效的光标位置_oldPos_尊重给定的游标_mode_。的回报价值_oldPos_如果_oldPos_不是一个有效的光标位置。
**See also** [isValidCursorPosition](qtextlayout.html#isValidCursorPosition)()和[nextCursorPosition](qtextlayout.html#nextCursorPosition)( ) 。
```
int QTextLayout.rightCursorPosition (self, int oldPos)
```
返回光标位置的右侧_oldPos_,在它旁边。该位置是依赖于字符的视觉位置,后双向重新排序。
此功能被引入Qt的4.8 。
**See also** [leftCursorPosition](qtextlayout.html#leftCursorPosition)()和[nextCursorPosition](qtextlayout.html#nextCursorPosition)( ) 。
```
QTextLayout.setAdditionalFormats (self, list-of-QTextLayout.FormatRange overrides)
```
设置由文本布局,以支持更多的格式_formatList_。
**See also** [additionalFormats](qtextlayout.html#additionalFormats)()和[clearAdditionalFormats](qtextlayout.html#clearAdditionalFormats)( ) 。
```
QTextLayout.setCacheEnabled (self, bool enable)
```
启用的完整布局信息,如果缓存_enable_为True,否则将禁用布局缓存。平时[QTextLayout](qtextlayout.html)调用后抛出的大部分布点信息了[endLayout](qtextlayout.html#endLayout)()来减少内存消耗。但是,如果你要绘制奠定了文字后直接启用缓存可能会加快显着绘图。
**See also** [cacheEnabled](qtextlayout.html#cacheEnabled)( ) 。
```
QTextLayout.setCursorMoveStyle (self, Qt.CursorMoveStyle style)
```
设置光标的运动风格。如果[QTextLayout](qtextlayout.html)由文件的支持,你可以忽略这一点,在使用该选项[QTextDocument](qtextdocument.html),这个选项对于像小部件[QLineEdit](qlineedit.html)或自定义部件没有[QTextDocument](qtextdocument.html)。默认值是[Qt.LogicalMoveStyle](qt.html#CursorMoveStyle-enum)。
此功能被引入Qt的4.8 。
**See also** [cursorMoveStyle](qtextlayout.html#cursorMoveStyle)( ) 。
```
QTextLayout.setFont (self, QFont f)
```
设置布局的字体给定的_font_。布局是无效的,必须重新布局。
**See also** [font](qtextlayout.html#font)( ) 。
```
QTextLayout.setPosition (self, QPointF p)
```
将文本布局指向_p_。
**See also** [position](qtextlayout.html#position)( ) 。
```
QTextLayout.setPreeditArea (self, int position, QString text)
```
设置_position_和_text_编辑发生之前被处理在布局区域。
**See also** [preeditAreaPosition](qtextlayout.html#preeditAreaPosition)()和[preeditAreaText](qtextlayout.html#preeditAreaText)( ) 。
```
QTextLayout.setText (self, QString string)
```
设置布局的文本给定的_string_。布局是无效的,必须重新布局。
当使用这种注意[QTextLayout](qtextlayout.html)作为一个部分[QTextDocument](qtextdocument.html)这种方法不会有任何影响。
**See also** [text](qtextlayout.html#text)( ) 。
```
QTextLayout.setTextOption (self, QTextOption option)
```
设置文本选项的结构,控制布局过程中给定的_option_。
**See also** [textOption](qtextlayout.html#textOption)( ) 。
```
QString QTextLayout.text (self)
```
返回布局的文本。
**See also** [setText](qtextlayout.html#setText)( ) 。
```
QTextOption QTextLayout.textOption (self)
```
[
返回用于控制布局过程中的当前文本选项。
](qtextoption.html)
[**See also**](qtextoption.html) [setTextOption](qtextlayout.html#setTextOption)( ) 。
- 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