# QXmlStreamWriter Class Reference
## [[QtCore](index.htm) module]
该QXmlStreamWriter类提供了一个XML编写一个简单的流API 。[More...](#details)
### Methods
* `__init__ (self)`
* `__init__ (self, QIODevice device)`
* `__init__ (self, QByteArray array)`
* `__init__ (self, QString string)`
* `bool autoFormatting (self)`
* `int autoFormattingIndent (self)`
* `QTextCodec codec (self)`
* `QIODevice device (self)`
* `bool hasError (self)`
* `setAutoFormatting (self, bool)`
* `setAutoFormattingIndent (self, int spaces)`
* `setCodec (self, QTextCodec codec)`
* `setCodec (self, str codecName)`
* `setDevice (self, QIODevice device)`
* `writeAttribute (self, QString qualifiedName, QString value)`
* `writeAttribute (self, QString namespaceUri, QString name, QString value)`
* `writeAttribute (self, QXmlStreamAttribute attribute)`
* `writeAttributes (self, QXmlStreamAttributes attributes)`
* `writeCDATA (self, QString text)`
* `writeCharacters (self, QString text)`
* `writeComment (self, QString text)`
* `writeCurrentToken (self, QXmlStreamReader reader)`
* `writeDefaultNamespace (self, QString namespaceUri)`
* `writeDTD (self, QString dtd)`
* `writeEmptyElement (self, QString qualifiedName)`
* `writeEmptyElement (self, QString namespaceUri, QString name)`
* `writeEndDocument (self)`
* `writeEndElement (self)`
* `writeEntityReference (self, QString name)`
* `writeNamespace (self, QString namespaceUri, QString prefix = QString())`
* `writeProcessingInstruction (self, QString target, QString data = QString())`
* `writeStartDocument (self)`
* `writeStartDocument (self, QString version)`
* `writeStartDocument (self, QString version, bool standalone)`
* `writeStartElement (self, QString qualifiedName)`
* `writeStartElement (self, QString namespaceUri, QString name)`
* `writeTextElement (self, QString qualifiedName, QString text)`
* `writeTextElement (self, QString namespaceUri, QString name, QString text)`
* * *
## Detailed Description
该QXmlStreamWriter类提供了一个XML编写一个简单的流API 。
QXmlStreamWriter是对口[QXmlStreamReader](qxmlstreamreader.html)用于编写XML 。像它的相关的类,它运行在一个[QIODevice](qiodevice.html)与指定[setDevice](qxmlstreamwriter.html#setDevice)( ) 。该API是简单而直接:为每个XML标记或你想要写的事件,笔者提供了一个专门的功能。
开始时你有一个文件[writeStartDocument](qxmlstreamwriter.html#writeStartDocument)( )和结束它[writeEndDocument](qxmlstreamwriter.html#writeEndDocument)( ) 。这将隐式关闭所有剩馀的开放标籤。
元素标记开[writeStartElement](qxmlstreamwriter.html#writeStartElement)( ),随后[writeAttribute](qxmlstreamwriter.html#writeAttribute)()或[writeAttributes](qxmlstreamwriter.html#writeAttributes)() ,元素的内容,然后[writeEndElement](qxmlstreamwriter.html#writeEndElement)( ) 。较短的形式[writeEmptyElement](qxmlstreamwriter.html#writeEmptyElement)( )可以用来写空元素,其次是[writeAttributes](qxmlstreamwriter.html#writeAttributes)( ) 。
元素含量由两种字符,实体引用或嵌套元素。这是用[writeCharacters](qxmlstreamwriter.html#writeCharacters)( ) ,这也需要转义禁止所有字符和字符序列的照顾,[writeEntityReference](qxmlstreamwriter.html#writeEntityReference)( ) ,或后续调用[writeStartElement](qxmlstreamwriter.html#writeStartElement)( ) 。一种简便方法[writeTextElement](qxmlstreamwriter.html#writeTextElement)( )可用于编写仅仅包含文本终端元素。
下面简略的代码片段显示了基本使用的类来写格式化的XML缩进:
```
QXmlStreamWriter stream(&output);
stream.setAutoFormatting(true);
stream.writeStartDocument();
...
stream.writeStartElement("bookmark");
stream.writeAttribute("href", "http://qt.nokia.com/");
stream.writeTextElement("title", "Qt Home");
stream.writeEndElement(); // bookmark
...
stream.writeEndDocument();
```
QXmlStreamWriter采用前缀命名空间的照顾,你需要做的就是指定`namespaceUri`写元素或属性的时候。如果您必须符合一定的前缀,你可以强制笔者通过手动声明的命名空间使用它们[writeNamespace](qxmlstreamwriter.html#writeNamespace)()或[writeDefaultNamespace](qxmlstreamwriter.html#writeDefaultNamespace)( ) 。或者,您可以绕过流作家的命名空间支持,并使用该采取一个合格的名称,而不是重载方法。命名空间_http://www.w3.org/XML/1998/namespace_是隐式映射到前缀_xml_。
流作家可以通过添加换行符和缩进到元素之间的空白部分,使XML数据的可读性更强的人类和更容易使用的大部分源代码管理系统自动格式化生成的XML数据。该功能可以被打开以[autoFormatting](qxmlstreamwriter.html#autoFormatting-prop)物业和定制与[autoFormattingIndent](qxmlstreamwriter.html#autoFormattingIndent-prop)属性。
其它功能[writeCDATA](qxmlstreamwriter.html#writeCDATA)( )[writeComment](qxmlstreamwriter.html#writeComment)( )[writeProcessingInstruction](qxmlstreamwriter.html#writeProcessingInstruction)()和[writeDTD](qxmlstreamwriter.html#writeDTD)( ) 。 XML流的链接时支持[writeCurrentToken](qxmlstreamwriter.html#writeCurrentToken)( ) 。
默认情况下, QXmlStreamWriter XML编码为UTF -8 。不同的编码可以通过强制执行[setCodec](qxmlstreamwriter.html#setCodec)( ) 。
如果在写入到底层设备发生错误,[hasError](qxmlstreamwriter.html#hasError)( )开始返回真和随后的写入被忽略。
该[QXmlStream Bookmarks Example](index.htm)说明如何使用流作家写一个XML书籤文件( XBEL ) ,是由以前在读[QXmlStreamReader](qxmlstreamreader.html)。
* * *
## Method Documentation
```
QXmlStreamWriter.__init__ (self)
```
构造一个流作家。
**See also** [setDevice](qxmlstreamwriter.html#setDevice)( ) 。
```
QXmlStreamWriter.__init__ (self, QIODevice device)
```
构造一个流作家写入到_device_;
```
QXmlStreamWriter.__init__ (self, QByteArray array)
```
构造一个流作家写入到_array_。这是一样的创建XML编写器运行在一个[QBuffer](qbuffer.html)装置,该装置反过来作用于_array_。
```
QXmlStreamWriter.__init__ (self, QString string)
```
构造一个流作家写入到_string_。
```
bool QXmlStreamWriter.autoFormatting (self)
```
```
int QXmlStreamWriter.autoFormattingIndent (self)
```
```
QTextCodec QXmlStreamWriter.codec (self)
```
[
返回当前分配给流的编解码器。
](qtextcodec.html)
[**See also**](qtextcodec.html) [setCodec](qxmlstreamwriter.html#setCodec)( ) 。
```
QIODevice QXmlStreamWriter.device (self)
```
[](qiodevice.html)
[返回与关联的当前设备](qiodevice.html)[QXmlStreamWriter](qxmlstreamwriter.html),或者0,如果没有设备已经被分配。
**See also** [setDevice](qxmlstreamwriter.html#setDevice)( ) 。
```
bool QXmlStreamWriter.hasError (self)
```
返回True如果流无法写入到基础设备,否则返回False 。
错误状态永远不会复位。发生写入错误发生后会被忽略,即使错误条件被清除。
此功能被引入Qt的4.8 。
```
QXmlStreamWriter.setAutoFormatting (self, bool)
```
```
QXmlStreamWriter.setAutoFormattingIndent (self, int spaces)
```
```
QXmlStreamWriter.setCodec (self, QTextCodec codec)
```
设置编解码器,该流_codec_。编解码器是用于编码被写入任何数据。默认情况下,[QXmlStreamWriter](qxmlstreamwriter.html)使用UTF-8 。
该编码信息存储在其中,当你调用将会写入初始XML标记[writeStartDocument](qxmlstreamwriter.html#writeStartDocument)( ) 。在调用之前调用此函数[writeStartDocument](qxmlstreamwriter.html#writeStartDocument)( ) 。
**See also** [codec](qxmlstreamwriter.html#codec)( ) 。
```
QXmlStreamWriter.setCodec (self, str codecName)
```
设置编解码器,该数据流的[QTextCodec](qtextcodec.html)对于由指定的编码_codecName_。为共同的价值观`codecName`包括“ ISO 8859 ”,“ UTF-8” ,和“UTF- 16” 。如果编码不被识别,没有任何反应。
**See also** [QTextCodec.codecForName](qtextcodec.html#codecForName)( ) 。
```
QXmlStreamWriter.setDevice (self, QIODevice device)
```
设置当前设备_device_。如果你想流写入到一个[QByteArray](qbytearray.html),你可以创建一个[QBuffer](qbuffer.html)设备。
**See also** [device](qxmlstreamwriter.html#device)( ) 。
```
QXmlStreamWriter.writeAttribute (self, QString qualifiedName, QString value)
```
写与属性_name_和_value_,前缀为指定_namespaceUri_。如果命名空间还没有被宣布的是,[QXmlStreamWriter](qxmlstreamwriter.html)将生成一个命名空间声明它。
此功能后,才可以称为[writeStartElement](qxmlstreamwriter.html#writeStartElement)( )任何内容被写入之前,或之后[writeEmptyElement](qxmlstreamwriter.html#writeEmptyElement)( ) 。
```
QXmlStreamWriter.writeAttribute (self, QString namespaceUri, QString name, QString value)
```
这是一个重载函数。
写与属性_qualifiedName_和_value_。
此功能后,才可以称为[writeStartElement](qxmlstreamwriter.html#writeStartElement)( )任何内容被写入之前,或之后[writeEmptyElement](qxmlstreamwriter.html#writeEmptyElement)( ) 。
```
QXmlStreamWriter.writeAttribute (self, QXmlStreamAttribute attribute)
```
这是一个重载函数。
写_attribute_。
此功能后,才可以称为[writeStartElement](qxmlstreamwriter.html#writeStartElement)( )任何内容被写入之前,或之后[writeEmptyElement](qxmlstreamwriter.html#writeEmptyElement)( ) 。
```
QXmlStreamWriter.writeAttributes (self, QXmlStreamAttributes attributes)
```
写入属性向量_attributes_。如果在属性中引用的命名空间没有被宣布的是,[QXmlStreamWriter](qxmlstreamwriter.html)将生成一个命名空间声明它。
此功能后,才可以称为[writeStartElement](qxmlstreamwriter.html#writeStartElement)( )任何内容被写入之前,或之后[writeEmptyElement](qxmlstreamwriter.html#writeEmptyElement)( ) 。
**See also** [writeAttribute](qxmlstreamwriter.html#writeAttribute)()和[writeNamespace](qxmlstreamwriter.html#writeNamespace)( ) 。
```
QXmlStreamWriter.writeCDATA (self, QString text)
```
Writes _text_作为CDATA节。如果_text_包含禁止字符序列“ ]]\u003e ” ,它被分成不同的CDATA节。
此功能主要存在的完整性。通常你应该不需要使用它,因为[writeCharacters](qxmlstreamwriter.html#writeCharacters)( )自动转义所有非内容的字符。
```
QXmlStreamWriter.writeCharacters (self, QString text)
```
Writes _text_。字符“ \u003c ” , “& ”和“ ” “被转义为实体引用”\u003c“ , ”& ,和“”“ 。为了避免禁止序列“ ]]\u003e ” , “ \u003e ”也转义为“ \u003e ” 。
**See also** [writeEntityReference](qxmlstreamwriter.html#writeEntityReference)( ) 。
```
QXmlStreamWriter.writeComment (self, QString text)
```
Writes _text_作为XML注释,其中_text_不得含有禁序列“ - ”或终结“ - ” 。在注释 - 请注意, XML不提供任何方式来逃避“ ” 。
```
QXmlStreamWriter.writeCurrentToken (self, QXmlStreamReader reader)
```
写入的当前状态_reader_。所有可能的有效状态的支持。
此功能的目的是为了支持XML数据的链接的处理。
**See also** [QXmlStreamReader.tokenType](qxmlstreamreader.html#tokenType)( ) 。
```
QXmlStreamWriter.writeDefaultNamespace (self, QString namespaceUri)
```
写一个默认的命名空间声明_namespaceUri_。
If [writeStartElement](qxmlstreamwriter.html#writeStartElement)()或[writeEmptyElement](qxmlstreamwriter.html#writeEmptyElement)( )被调用,该声明适用于当前元素,否则它适用于下一个子元素。
请注意,命名空间_http://www.w3.org/XML/1998/namespace_(绑定到_xmlns_)和_http://www.w3.org/2000/xmlns/_(绑定到_xml_)由定义不能被声明为默认值。
```
QXmlStreamWriter.writeDTD (self, QString dtd)
```
写一个DTD部分。该_dtd_表示从XML 1.0规范整个doctypedecl产品。
```
QXmlStreamWriter.writeEmptyElement (self, QString qualifiedName)
```
写一个空元素与_name_,前缀为指定_namespaceUri_。如果命名空间还没有被宣布,[QXmlStreamWriter](qxmlstreamwriter.html)将生成一个命名空间声明它。后续调用[writeAttribute](qxmlstreamwriter.html#writeAttribute)( )将属性添加到这个元素。
**See also** [writeNamespace](qxmlstreamwriter.html#writeNamespace)( ) 。
```
QXmlStreamWriter.writeEmptyElement (self, QString namespaceUri, QString name)
```
这是一个重载函数。
写一个空元素与限定名_qualifiedName_。后续调用[writeAttribute](qxmlstreamwriter.html#writeAttribute)( )将属性添加到这个元素。
```
QXmlStreamWriter.writeEndDocument (self)
```
关闭所有剩馀的开放开始元素和写入一个换行符。
**See also** [writeStartDocument](qxmlstreamwriter.html#writeStartDocument)( ) 。
```
QXmlStreamWriter.writeEndElement (self)
```
关闭以前开始元素。
**See also** [writeStartElement](qxmlstreamwriter.html#writeStartElement)( ) 。
```
QXmlStreamWriter.writeEntityReference (self, QString name)
```
写实体引用_name_到流中,如“与_name_; “ 。
```
QXmlStreamWriter.writeNamespace (self, QString namespaceUri, QString prefix = QString())
```
写一个命名空间声明_namespaceUri_同_prefix_。如果_prefix_是空的,[QXmlStreamWriter](qxmlstreamwriter.html)指定由字母' N'后跟一个数字的唯一的前缀。
If [writeStartElement](qxmlstreamwriter.html#writeStartElement)()或[writeEmptyElement](qxmlstreamwriter.html#writeEmptyElement)( )被调用,该声明适用于当前元素,否则它适用于下一个子元素。
注意,前缀_xml_是预定义的和保留的_http://www.w3.org/XML/1998/namespace_,这反过来又不能绑定到任何其他前缀。前缀_xmlns_和它的URI_http://www.w3.org/2000/xmlns/_用于命名空间机制本身,因此在声明中完全禁止的。
```
QXmlStreamWriter.writeProcessingInstruction (self, QString target, QString data = QString())
```
写一个XML处理指令_target_和_data_,其中_data_不得包含序列“ ? \u003e ” 。
```
QXmlStreamWriter.writeStartDocument (self)
```
写入一个文件的开始与XML版本号_version_。
**See also** [writeEndDocument](qxmlstreamwriter.html#writeEndDocument)( ) 。
```
QXmlStreamWriter.writeStartDocument (self, QString version)
```
写入一个文件的开始与XML版本号_version_和一个独立的属性_standalone_。
此功能被引入Qt的4.5 。
**See also** [writeEndDocument](qxmlstreamwriter.html#writeEndDocument)( ) 。
```
QXmlStreamWriter.writeStartDocument (self, QString version, bool standalone)
```
这是一个重载函数。
写入一个文件开始的XML版本号“1.0” 。这也写入编码信息。
此功能被引入Qt的4.5 。
**See also** [writeEndDocument](qxmlstreamwriter.html#writeEndDocument)()和[setCodec](qxmlstreamwriter.html#setCodec)( ) 。
```
QXmlStreamWriter.writeStartElement (self, QString qualifiedName)
```
写一个开始元素与_name_,前缀为指定_namespaceUri_。如果命名空间还没有被宣布的是,[QXmlStreamWriter](qxmlstreamwriter.html)将生成一个命名空间声明它。后续调用[writeAttribute](qxmlstreamwriter.html#writeAttribute)( )将属性添加到这个元素。
**See also** [writeNamespace](qxmlstreamwriter.html#writeNamespace)( )[writeEndElement](qxmlstreamwriter.html#writeEndElement)()和[writeEmptyElement](qxmlstreamwriter.html#writeEmptyElement)( ) 。
```
QXmlStreamWriter.writeStartElement (self, QString namespaceUri, QString name)
```
这是一个重载函数。
写一个开始元素与_qualifiedName_。后续调用[writeAttribute](qxmlstreamwriter.html#writeAttribute)( )将属性添加到这个元素。
**See also** [writeEndElement](qxmlstreamwriter.html#writeEndElement)()和[writeEmptyElement](qxmlstreamwriter.html#writeEmptyElement)( ) 。
```
QXmlStreamWriter.writeTextElement (self, QString qualifiedName, QString text)
```
写入一个文本元素与_name_,前缀为指定_namespaceUri_和_text_。如果命名空间还没有被宣布,[QXmlStreamWriter](qxmlstreamwriter.html)将生成一个命名空间声明它。
这是一个方便的功能等同于:
```
writeStartElement(namespaceUri, name);
writeCharacters(text);
writeEndElement();
```
```
QXmlStreamWriter.writeTextElement (self, QString namespaceUri, QString name, QString text)
```
这是一个重载函数。
写入一个文本元素与_qualifiedName_和_text_。
这是一个方便的功能等同于:
```
writeStartElement(qualifiedName);
writeCharacters(text);
writeEndElement();
```
- 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