# QRawFont Class Reference
## [[QtGui](index.htm) module]
该QRawFont类提供了访问字体的单个物理实例。[More...](#details)
### Types
* `enum AntialiasingType { PixelAntialiasing, SubPixelAntialiasing }`
### Methods
* `__init__ (self)`
* `__init__ (self, QString fileName, float pixelSize, QFont.HintingPreference hintingPreference = QFont.PreferDefaultHinting)`
* `__init__ (self, QByteArray fontData, float pixelSize, QFont.HintingPreference hintingPreference = QFont.PreferDefaultHinting)`
* `__init__ (self, QRawFont other)`
* `list-of-QPointF advancesForGlyphIndexes (self, list-of-int glyphIndexes)`
* `QImage alphaMapForGlyph (self, int glyphIndex, AntialiasingType antialiasingType = QRawFont.SubPixelAntialiasing, QTransform transform = QTransform())`
* `float ascent (self)`
* `float averageCharWidth (self)`
* `float descent (self)`
* `QString familyName (self)`
* `QByteArray fontTable (self, str tagName)`
* `list-of-int glyphIndexesForString (self, QString text)`
* `QFont.HintingPreference hintingPreference (self)`
* `bool isValid (self)`
* `float leading (self)`
* `loadFromData (self, QByteArray fontData, float pixelSize, QFont.HintingPreference hintingPreference)`
* `loadFromFile (self, QString fileName, float pixelSize, QFont.HintingPreference hintingPreference)`
* `float maxCharWidth (self)`
* `QPainterPath pathForGlyph (self, int glyphIndex)`
* `float pixelSize (self)`
* `setPixelSize (self, float pixelSize)`
* `QFont.Style style (self)`
* `QString styleName (self)`
* `list-of-QFontDatabase.WritingSystem supportedWritingSystems (self)`
* `bool supportsCharacter (self, int ucs4)`
* `bool supportsCharacter (self, QChar character)`
* `float unitsPerEm (self)`
* `int weight (self)`
* `float xHeight (self)`
### Static Methods
* `QRawFont fromFont (QFont font, QFontDatabase.WritingSystem writingSystem = QFontDatabase.Any)`
### Special Methods
* `bool __eq__ (self, QRawFont other)`
* `bool __ne__ (self, QRawFont other)`
* * *
## Detailed Description
该QRawFont类提供了访问字体的单个物理实例。
**Note:**QRawFont是一个低级别的类。对于大多数用途[QFont](qfont.html)是一个比较合适的类。
最常见的是,在用户界面中显示文本时,确切的字体用于呈现字符在某种程度上是未知的。这可能是有几个原因的情况:例如,在实际的物理存在于目标系统上的字体可能会不期而至的开发商,或者文本可以包含用户选择的样式,尺寸或书写系统不支持所选择的字体的代码。
因此, Qt的[QFont](qfont.html)类真正代表字体的查询。当文本被解释, Qt会尽力的文字查询匹配,但根据的支持,不同的字体可用于在幕后。
对于大多数用例来说,这既是预期的和必要的,因为它最大限度地减少文本的用户界面是不可显示的可能性。在某些情况下,但是,更直接地控制这个过程可能是有用的。正是由于这些用例的QRawFont类存在。
一个QRawFont对象代表一个给定的字体在一个给定的像素大小单个物理实例。即在典型的情况下,它代表一组TrueType或OpenType字体表,并使用用户指定的像素大小来度量转换为逻辑像素单位。它可与组合使用[QGlyphRun](qglyphrun.html)类绘制特定的字形索引在特定位置,也有访问到物理字体的一些相关数据。
QRawFont只提供了主要的字体技术支持: GDI和DirectWrite在Windows平台上,[FreeType](index.htm#freetype)Symbian和Linux平台和CoreText在Mac OS X。对于其他字体后端上,这些API将被禁用。
QRawFont可以以多种方式进行构造:
* It can be constructed by calling QTextLayout.glyphs() or QTextFragment.glyphs(). The returned QGlyphs objects will contain QRawFont objects which represent the actual fonts used to render each portion of the text.
* It can be constructed by passing a [QFont](qfont.html) object to [QRawFont.fromFont](qrawfont.html#fromFont)(). The function will return a QRawFont object representing the font that will be selected as response to the [QFont](qfont.html) query and the selected writing system.
* It can be constructed by passing a file name or [QByteArray](qbytearray.html) directly to the QRawFont constructor, or by calling [loadFromFile](qrawfont.html#loadFromFile)() or [loadFromData](qrawfont.html#loadFromData)(). In this case, the font will not be registered in [QFontDatabase](qfontdatabase.html), and it will not be available as part of regular font selection.
QRawFont被认为是本地在其构造(或者使用构造函数的线程,或致电[loadFromData](qrawfont.html#loadFromData)()或[loadFromFile](qrawfont.html#loadFromFile)())。该QRawFont不能移动到一个不同的线程,但会在有问题的线程被创建。
**Note:**对于缓存字形索引和字体选项的静态文本,以避免重塑和relayouting在应用程序的内部循环的要求,更好的选择是[QStaticText](qstatictext.html)类,因为它优化高速缓存的存储器成本并且还提供了额外的加速绘图引擎的特定高速缓存的可能性。
* * *
## Type Documentation
```
QRawFont.AntialiasingType
```
这个枚举变量代表了不同方式的字形可以在函数被光栅化[alphaMapForGlyph](qrawfont.html#alphaMapForGlyph)( ) 。
| Constant | Value | Description |
| --- | --- | --- |
| `QRawFont.PixelAntialiasing` | `0` | 通过测量全像素形状的复盖范围将栅格化。返回的图像中包含的每个像素的基础上,字形形状的复盖范围的alpha值。 |
| `QRawFont.SubPixelAntialiasing` | `1` | 通过测量各子像素的显示,对于每个各像素的红色,绿色和蓝色分量的返回一个单独的α值将栅格化。 |
* * *
## Method Documentation
```
QRawFont.__init__ (self)
```
构造一个无效的[QRawFont](qrawfont.html)。
```
QRawFont.__init__ (self, QString fileName, float pixelSize, QFont.HintingPreference hintingPreference = QFont.PreferDefaultHinting)
```
构造一个[QRawFont](qrawfont.html)表示包含由所引用的文件中的字体_fileName_对于通过给定的大小(以像素为单位)_pixelSize_,并使用所指定的提示的优先级_hintingPreference_。
**Note:**引用的文件必须包含一个TrueType或OpenType字体。
```
QRawFont.__init__ (self, QByteArray fontData, float pixelSize, QFont.HintingPreference hintingPreference = QFont.PreferDefaultHinting)
```
构造一个[QRawFont](qrawfont.html)表示包含在所提供的字体_fontData_对于通过给定的大小(以像素为单位)_pixelSize_,并使用所指定的提示的优先级_hintingPreference_。
**Note:**该数据必须包含TrueType或OpenType字体。
```
QRawFont.__init__ (self, QRawFont other)
```
创建[QRawFont](qrawfont.html)这是一个拷贝_other_。
```
list-of-QPointF QRawFont.advancesForGlyphIndexes (self, list-of-int glyphIndexes)
```
返回[QRawFont](qrawfont.html)的前进对每个_glyphIndexes_以像素为单位。该贷款给从给定字形的位置到下一个字形应绘制,使其看起来好像两个字形unspaced的距离。
**See also** [QTextLine.horizontalAdvance](qtextline.html#horizontalAdvance)()和[QFontMetricsF.width](qfontmetricsf.html#width)( ) 。
```
QImage QRawFont.alphaMapForGlyph (self, int glyphIndex, AntialiasingType antialiasingType = QRawFont.SubPixelAntialiasing, QTransform transform = QTransform())
```
[](qimage.html)
[该函数返回字形的光栅化图像在给定的_glyphIndex_在底层的字体,用_transform_规定。如果](qimage.html)[QRawFont](qrawfont.html)是无效的,该函数将返回一个无效[QImage](qimage.html)。
If _antialiasingType_被设置为[QRawFont.SubPixelAntialiasing](qrawfont.html#AntialiasingType-enum),然后将生成的图像将在[QImage.Format_RGB32](qimage.html#Format-enum)和每个像素的RGB值,将表示在该字形的光栅化的像素的子像素的不透明度。否则,图像将在格式[QImage.Format_Indexed8](qimage.html#Format-enum)和每个像素将包含像素的光栅化的不透明度。
**See also** [pathForGlyph](qrawfont.html#pathForGlyph)()和[QPainter.drawGlyphRun](qpainter.html#drawGlyphRun)( ) 。
```
float QRawFont.ascent (self)
```
返回此东昇[QRawFont](qrawfont.html)以像素为单位。
**See also** [QFontMetricsF.ascent](qfontmetricsf.html#ascent)( ) 。
```
float QRawFont.averageCharWidth (self)
```
返回此字符的平均宽度[QRawFont](qrawfont.html)以像素为单位。
**See also** [QFontMetricsF.averageCharWidth](qfontmetricsf.html#averageCharWidth)( ) 。
```
float QRawFont.descent (self)
```
返回此下降[QRawFont](qrawfont.html)以像素为单位。
**See also** [QFontMetricsF.descent](qfontmetricsf.html#descent)( ) 。
```
QString QRawFont.familyName (self)
```
返回此姓氏[QRawFont](qrawfont.html)。
```
QByteArray QRawFont.fontTable (self, str tagName)
```
[
检索评为SFNT表_tagName_从底层的物理字体,或者一个空字节数组,如果没有这样的表被发现。返回的字体表中的字节顺序是大端,像SFNT格式指定。该_tagName_必须为四个字符,并应在当前平台的默认字节顺序进行格式化。
](qbytearray.html)
```
QRawFont QRawFont.fromFont (QFont font, QFontDatabase.WritingSystem writingSystem = QFontDatabase.Any)
```
[
取基于物理表示_font_查询。返回的物理字体是由Qt的首选,以在选定的显示文本的字体_writingSystem_。
```
list-of-int QRawFont.glyphIndexesForString (self, QString text)
```
unicode的点串由下式给出转换_text_使用CMAP表的基本字体到字形索引,并返回包含结果的载体。
](qrawfont.html)
[需要注意的是,在存在于该字体的其他表影响文本的成形的情况下,返回的字形索引将不正确地表示该文本的渲染。为了得到正确的形文字,可以使用](qrawfont.html)[QTextLayout](qtextlayout.html)布置和形状的文本,然后调用QTextLayout.glyphs ( )来获取一套字形索引列表和[QRawFont](qrawfont.html)对。
**See also** [advancesForGlyphIndexes](qrawfont.html#advancesForGlyphIndexes)( )[glyphIndexesForChars](qrawfont.html#glyphIndexesForChars)( )[QGlyphRun](qglyphrun.html),[QTextLayout.glyphRuns](qtextlayout.html#glyphRuns)()和[QTextFragment.glyphRuns](qtextfragment.html#glyphRuns)( ) 。
```
QFont.HintingPreference QRawFont.hintingPreference (self)
```
[](qfont.html#HintingPreference-enum)
[返回用于构造这个暗示偏好](qfont.html#HintingPreference-enum)[QRawFont](qrawfont.html)。
**See also** [QFont.hintingPreference](qfont.html#hintingPreference)( ) 。
```
bool QRawFont.isValid (self)
```
返回True如果[QRawFont](qrawfont.html)是有效的,否则为False。
```
float QRawFont.leading (self)
```
返回此领先[QRawFont](qrawfont.html)以像素为单位。
**See also** [QFontMetricsF.leading](qfontmetricsf.html#leading)( ) 。
```
QRawFont.loadFromData (self, QByteArray fontData, float pixelSize, QFont.HintingPreference hintingPreference)
```
替换当前[QRawFont](qrawfont.html)与包含在所提供的字体_fontData_对于通过给定的大小(以像素为单位)_pixelSize_,并使用所指定的提示的优先级_hintingPreference_。
该_fontData_必须包含TrueType或OpenType字体。
**See also** [loadFromFile](qrawfont.html#loadFromFile)( ) 。
```
QRawFont.loadFromFile (self, QString fileName, float pixelSize, QFont.HintingPreference hintingPreference)
```
替换当前[QRawFont](qrawfont.html)由所引用的文件中的内容_fileName_对于通过给定的大小(以像素为单位)_pixelSize_,并使用所指定的提示的优先级_hintingPreference_。
该文件必须引用一个TrueType或OpenType字体。
**See also** [loadFromData](qrawfont.html#loadFromData)( ) 。
```
float QRawFont.maxCharWidth (self)
```
返回最宽的字符的字体的宽度。
**See also** [QFontMetricsF.maxWidth](qfontmetricsf.html#maxWidth)( ) 。
```
QPainterPath QRawFont.pathForGlyph (self, int glyphIndex)
```
[](qpainterpath.html)
[这个函数返回该字形的形状在给定的_glyphIndex_在底层的字体,如果](qpainterpath.html)[QRawFont](qrawfont.html)是有效的。否则,它返回一个空[QPainterPath](qpainterpath.html)。
返回的字形将始终unhinted 。
**See also** [alphaMapForGlyph](qrawfont.html#alphaMapForGlyph)()和[QPainterPath.addText](qpainterpath.html#addText)( ) 。
```
float QRawFont.pixelSize (self)
```
返回此像素大小设置[QRawFont](qrawfont.html)。像素大小会影响字形光栅,通过回字形的大小[pathForGlyph](qrawfont.html#pathForGlyph)() ,并用于内部度量转换设计单位逻辑像素单位。
**See also** [setPixelSize](qrawfont.html#setPixelSize)( ) 。
```
QRawFont.setPixelSize (self, float pixelSize)
```
设置像素大小与该字体应该被渲染到_pixelSize_。
**See also** [pixelSize](qrawfont.html#pixelSize)( ) 。
```
QFont.Style QRawFont.style (self)
```
[](qfont.html#Style-enum)
[返回此风格](qfont.html#Style-enum)[QRawFont](qrawfont.html)。
**See also** [QFont.style](qfont.html#style)( ) 。
```
QString QRawFont.styleName (self)
```
返回此样式名[QRawFont](qrawfont.html)。
**See also** [QFont.styleName](qfont.html#styleName)( ) 。
```
list-of-QFontDatabase.WritingSystem QRawFont.supportedWritingSystems (self)
```
返回根据设计师对字体支持的书写系统列表中的字体文件中提供的信息。请注意,这并不能保证在字体特定的Unicode点支撑。您可以使用[supportsCharacter](qrawfont.html#supportsCharacter)( )来检查一个单一的,特定的字符支持。
**Note:**该列表是基于字体的OS / 2表设置,需要这样一个表存在于底层的字体文件Unicode范围和代码页范围内确定。
**See also** [supportsCharacter](qrawfont.html#supportsCharacter)( ) 。
```
bool QRawFont.supportsCharacter (self, int ucs4)
```
如果字体有对应于给定的字形,则返回True_character_。
**See also** [supportedWritingSystems](qrawfont.html#supportedWritingSystems)( ) 。
```
bool QRawFont.supportsCharacter (self, QChar character)
```
这是一个重载函数。
如果字体有对应于UCS- 4编码的字符的字形,则返回True_ucs4_。
**See also** [supportedWritingSystems](qrawfont.html#supportedWritingSystems)( ) 。
```
float QRawFont.unitsPerEm (self)
```
返回设计单位的数量界定em方形这个的宽度和高度[QRawFont](qrawfont.html)。此值与像素尺寸转换设计度量时,以像素单位使用的,作为内部度量在设计单位指定与像素大小给出1烯的大小(像素)。
**See also** [pixelSize](qrawfont.html#pixelSize)()和[setPixelSize](qrawfont.html#setPixelSize)( ) 。
```
int QRawFont.weight (self)
```
返回此重量[QRawFont](qrawfont.html)。
**See also** [QFont.weight](qfont.html#weight)( ) 。
```
float QRawFont.xHeight (self)
```
返回此的xHeight[QRawFont](qrawfont.html)以像素为单位。
**See also** [QFontMetricsF.xHeight](qfontmetricsf.html#xHeight)( ) 。
```
bool QRawFont.__eq__ (self, QRawFont other)
```
```
bool QRawFont.__ne__ (self, QRawFont other)
```
- 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