# QMovie Class Reference
## [[QtGui](index.htm) module]
该QMovie类是一个方便的类,用于播放电影的[QImageReader](qimagereader.html)。[More...](#details)
继承[QObject](qobject.html)。
### Types
* `enum CacheMode { CacheNone, CacheAll }`
* `enum MovieState { NotRunning, Paused, Running }`
### Methods
* `__init__ (self, QObject parent = None)`
* `__init__ (self, QIODevice device, QByteArray format = QByteArray(), QObject parent = None)`
* `__init__ (self, QString fileName, QByteArray format = QByteArray(), QObject parent = None)`
* `QColor backgroundColor (self)`
* `CacheMode cacheMode (self)`
* `int currentFrameNumber (self)`
* `QImage currentImage (self)`
* `QPixmap currentPixmap (self)`
* `QIODevice device (self)`
* `QString fileName (self)`
* `QByteArray format (self)`
* `int frameCount (self)`
* `QRect frameRect (self)`
* `bool isValid (self)`
* `bool jumpToFrame (self, int frameNumber)`
* `bool jumpToNextFrame (self)`
* `int loopCount (self)`
* `int nextFrameDelay (self)`
* `QSize scaledSize (self)`
* `setBackgroundColor (self, QColor color)`
* `setCacheMode (self, CacheMode mode)`
* `setDevice (self, QIODevice device)`
* `setFileName (self, QString fileName)`
* `setFormat (self, QByteArray format)`
* `setPaused (self, bool paused)`
* `setScaledSize (self, QSize size)`
* `setSpeed (self, int percentSpeed)`
* `int speed (self)`
* `start (self)`
* `MovieState state (self)`
* `stop (self)`
### Static Methods
* `list-of-QByteArray supportedFormats ()`
### Qt Signals
* `void error (QImageReader::ImageReaderError)`
* `void finished ()`
* `void frameChanged (int)`
* `void resized (const QSize&)`
* `void started ()`
* `void stateChanged (QMovie::MovieState)`
* `void updated (const QRect&)`
* * *
## Detailed Description
该QMovie类是一个方便的类,用于播放电影的[QImageReader](qimagereader.html)。
这个类是用来显示简单的动画没有声音。如果你想显示的视频和媒体内容,使用[Phonon](index.htm)多媒体框架来代替。
首先,通过传递一个文件的名称或一个指向创建QMovie对象[QIODevice](qiodevice.html)含动画图像格式QMovie的构造函数。您可以致电[isValid](qmovie.html#isValid)() ,以检查是否在图像数据是有效的,从电影之前。开始播放影片,通话[start](qmovie.html#start)( ) 。 QMovie将进入[Running](qmovie.html#MovieState-enum)状态,并放出[started](qmovie.html#started)()和[stateChanged](qmovie.html#stateChanged)( ) 。为了得到影片的当前状态,请致电[state](qmovie.html#state)( ) 。
若要显示影片在您的应用程序,你可以通过你的QMovie对象[QLabel.setMovie](qlabel.html#setMovie)( ) 。例如:
```
[QLabel](qlabel.html) label;
QMovie *movie = new QMovie("animations/fire.gif");
label.setMovie(movie);
movie->start();
```
每当一个新的框架是在电影中使用, QMovie会发出[updated](qmovie.html#updated)( ) 。如果该帧的大小变化,[resized](qmovie.html#resized)()被发射。您可以致电[currentImage](qmovie.html#currentImage)()或[currentPixmap](qmovie.html#currentPixmap)( )来获得当前帧的副本。当影片完成后, QMovie发出[finished](qmovie.html#finished)( ) 。如果播放(即图像文件已损坏)过程中发生任何错误, QMovie会发出[error](qmovie.html#error)( ) 。
你可以通过调用控制影片的播放速度[setSpeed](qmovie.html#speed-prop)(),它采用原始速度的百分比作为参数。通过调用setPaused (真)暂停电影。 QMovie将进入[Paused](qmovie.html#MovieState-enum)国家和EMIT[stateChanged](qmovie.html#stateChanged)( ) 。如果调用setPaused (假) , QMovie将重新进入[Running](qmovie.html#MovieState-enum)状态,然后再次开始播放电影。停止播放视频,呼叫[stop](qmovie.html#stop)( ) 。
某些动画格式允许您设置背景颜色。您可以致电[setBackgroundColor](qmovie.html#setBackgroundColor)()来设置颜色,或[backgroundColor](qmovie.html#backgroundColor)()来获取当前背景色。
[currentFrameNumber](qmovie.html#currentFrameNumber)()返回在当前帧的序列号。在动画的第一帧具有序列号0。[frameCount](qmovie.html#frameCount)()返回的帧的总数目在动画中,如果图像格式支持这一点。您可以致电[loopCount](qmovie.html#loopCount)( )来获得本次电影应该在完成循环之前的数量。[nextFrameDelay](qmovie.html#nextFrameDelay)()返回毫秒为单位的当前帧应该显示的数目。
QMovie可以通过调用被指示动画的帧缓存[setCacheMode](qmovie.html#cacheMode-prop)( ) 。
Call [supportedFormats](qmovie.html#supportedFormats)( )对于格式的列表QMovie支持。
* * *
## Type Documentation
```
QMovie.CacheMode
```
这个枚举变量描述了不同的缓存模式[QMovie](qmovie.html)。
| Constant | Value | Description |
| --- | --- | --- |
| `QMovie.CacheNone` | `0` | 没有帧缓存(默认值) 。 |
| `QMovie.CacheAll` | `1` | 所有的帧缓存。 |
```
QMovie.MovieState
```
该枚举描述的不同状态[QMovie](qmovie.html)。
| Constant | Value | Description |
| --- | --- | --- |
| `QMovie.NotRunning` | `0` | 这部电影没有运行。这是[QMovie](qmovie.html)的初始状态,并且状态后,它进入[stop](qmovie.html#stop)( )被调用或电影结束。 |
| `QMovie.Paused` | `1` | 电影被暂停,并[QMovie](qmovie.html)停止发光[updated](qmovie.html#updated)()或[resized](qmovie.html#resized)( ) 。调用后进入此状态[pause](index.htm#pause)( )或setPaused (真) 。当前帧号是蒙了,这部电影将继续与下一帧时[unpause](index.htm#unpause)()或setPaused (假)被调用。 |
| `QMovie.Running` | `2` | 这部电影正在运行。 |
* * *
## Method Documentation
```
QMovie.__init__ (self, QObject parent = None)
```
该_parent_的说法,如果不是没有,原因_self_通过Qt的,而不是PyQt的拥有。
构造一个[QMovie](qmovie.html)对象,通过_parent_反对[QObject](qobject.html)的构造。
**See also** [setFileName](qmovie.html#setFileName)( )[setDevice](qmovie.html#setDevice)()和[setFormat](qmovie.html#setFormat)( ) 。
```
QMovie.__init__ (self, QIODevice device, QByteArray format = QByteArray(), QObject parent = None)
```
该_parent_的说法,如果不是没有,原因_self_通过Qt的,而不是PyQt的拥有。
构造一个[QMovie](qmovie.html)对象。[QMovie](qmovie.html)将使用读取的图像数据从_device_,它假定为开放性和可读性。如果_format_不为空,[QMovie](qmovie.html)将使用的图像格式_format_对图像数据进行解码。否则,[QMovie](qmovie.html)会尝试猜测的格式。
该_parent_对象被传递给[QObject](qobject.html)的构造。
```
QMovie.__init__ (self, QString fileName, QByteArray format = QByteArray(), QObject parent = None)
```
该_parent_的说法,如果不是没有,原因_self_通过Qt的,而不是PyQt的拥有。
构造一个[QMovie](qmovie.html)对象。[QMovie](qmovie.html)将使用读取的图像数据从_fileName_。如果_format_不为空,[QMovie](qmovie.html)将使用的图像格式_format_对图像数据进行解码。否则,[QMovie](qmovie.html)会尝试猜测的格式。
该_parent_对象被传递给[QObject](qobject.html)的构造。
```
QColor QMovie.backgroundColor (self)
```
[](qcolor.html)
[返回电影的背景颜色。如果没有背景色已经被分配,一个无效的](qcolor.html)[QColor](qcolor.html)返回。
**See also** [setBackgroundColor](qmovie.html#setBackgroundColor)( ) 。
```
CacheMode QMovie.cacheMode (self)
```
[
```
int QMovie.currentFrameNumber (self)
```
返回当前帧的序列号。在电影的第一帧的数目是0。
](qmovie.html#CacheMode-enum)
```
QImage QMovie.currentImage (self)
```
[](qimage.html)
[返回当前帧作为](qimage.html)[QImage](qimage.html)。
**See also** [currentPixmap](qmovie.html#currentPixmap)()和[updated](qmovie.html#updated)( ) 。
```
QPixmap QMovie.currentPixmap (self)
```
[](qpixmap.html)
[返回当前帧作为](qpixmap.html)[QPixmap](qpixmap.html)。
**See also** [currentImage](qmovie.html#currentImage)()和[updated](qmovie.html#updated)( ) 。
```
QIODevice QMovie.device (self)
```
[](qiodevice.html)
[返回设备](qiodevice.html)[QMovie](qmovie.html)从读取图像数据。如果没有设备目前已被分配,则返回0 。
**See also** [setDevice](qmovie.html#setDevice)()和[fileName](qmovie.html#fileName)( ) 。
```
QString QMovie.fileName (self)
```
返回的文件的名称[QMovie](qmovie.html)从读取图像数据。如果没有文件名已经被分配,或者如果指定的设备是不是一个文件,一个空[QString](qstring.html)返回。
**See also** [setFileName](qmovie.html#setFileName)()和[device](qmovie.html#device)( ) 。
```
QByteArray QMovie.format (self)
```
[](qbytearray.html)
[返回格式](qbytearray.html)[QMovie](qmovie.html)图像数据进行解码时使用。如果没有指定格式已经被分配,一个空QByteArray中( )返回。
**See also** [setFormat](qmovie.html#setFormat)( ) 。
```
int QMovie.frameCount (self)
```
返回帧的电影数量。
某些动画格式不支持此功能,在这种情况下,返回0。
```
QRect QMovie.frameRect (self)
```
[](qrect.html)
[返回的最后一帧的正确。如果没有框架至今尚未更新,无效](qrect.html)[QRect](qrect.html)返回。
**See also** [currentImage](qmovie.html#currentImage)()和[currentPixmap](qmovie.html#currentPixmap)( ) 。
```
bool QMovie.isValid (self)
```
返回True如果影片是有效的(例如,图像数据是可读的,并且所支持的图像格式),否则返回False 。
```
bool QMovie.jumpToFrame (self, int frameNumber)
```
跳转到帧号_frameNumber_。成功时返回TRUE ,否则返回False 。
```
bool QMovie.jumpToNextFrame (self)
```
这种方法也是一个Qt槽与C + +的签名`bool jumpToNextFrame()`。
跳转到下一帧。成功时返回TRUE ,否则返回False 。
```
int QMovie.loopCount (self)
```
返回的次数这部电影将循环完成之前。如果影片只能播放一次(无循环) , loopCount返回0 。如果影片永远循环, loopCount返回-1 。
需要注意的是,如果图像数据是来自一个连续的设备(例如一插座)[QMovie](qmovie.html)如果只能回路的电影[cacheMode](qmovie.html#cacheMode-prop)被设置为[QMovie.CacheAll](qmovie.html#CacheMode-enum)。
```
int QMovie.nextFrameDelay (self)
```
返回的毫秒数[QMovie](qmovie.html)更新在动画中的下一帧之前,将等待。
```
QSize QMovie.scaledSize (self)
```
[
返回的帧的缩放大小。
这个函数是Qt 4.1中引入。
](qsize.html)
[**See also**](qsize.html) [setScaledSize](qmovie.html#setScaledSize)()和[QImageReader.scaledSize](qimagereader.html#scaledSize)( ) 。
```
QMovie.setBackgroundColor (self, QColor color)
```
对于支持它的图像格式,该函数设置背景颜色为_color_。
**See also** [backgroundColor](qmovie.html#backgroundColor)( ) 。
```
QMovie.setCacheMode (self, CacheMode mode)
```
```
QMovie.setDevice (self, QIODevice device)
```
设置当前设备_device_。[QMovie](qmovie.html)会从电影运行时该设备读取的图像数据。
**See also** [device](qmovie.html#device)()和[setFormat](qmovie.html#setFormat)( ) 。
```
QMovie.setFileName (self, QString fileName)
```
载的文件的名称[QMovie](qmovie.html)读取图像数据,以_fileName_。
**See also** [fileName](qmovie.html#fileName)( )[setDevice](qmovie.html#setDevice)()和[setFormat](qmovie.html#setFormat)( ) 。
```
QMovie.setFormat (self, QByteArray format)
```
设置格式[QMovie](qmovie.html)解码图像数据时,要会用_format_。默认情况下,[QMovie](qmovie.html)会尝试猜测的图像数据的格式。
您可以致电[supportedFormats](qmovie.html#supportedFormats)( )对于格式的完整列表[QMovie](qmovie.html)支持。
**See also** [format](qmovie.html#format)()和[QImageReader.supportedImageFormats](qimagereader.html#supportedImageFormats)( ) 。
```
QMovie.setPaused (self, bool paused)
```
这种方法也是一个Qt槽与C + +的签名`void setPaused(bool)`。
If _paused_是真的,[QMovie](qmovie.html)将进入[Paused](qmovie.html#MovieState-enum)状态并放出stateChanged (暂停) ,否则将进入[Running](qmovie.html#MovieState-enum)状态并放出stateChanged (运行) 。
**See also** [paused](index.htm#paused)()和[state](qmovie.html#state)( ) 。
```
QMovie.setScaledSize (self, QSize size)
```
设置缩放帧尺寸为_size_。
这个函数是Qt 4.1中引入。
**See also** [scaledSize](qmovie.html#scaledSize)()和[QImageReader.setScaledSize](qimagereader.html#setScaledSize)( ) 。
```
QMovie.setSpeed (self, int percentSpeed)
```
```
int QMovie.speed (self)
```
```
QMovie.start (self)
```
这种方法也是一个Qt槽与C + +的签名`void start()`。
开始播放电影。[QMovie](qmovie.html)将进入[Running](qmovie.html#MovieState-enum)状态,并开始发光[updated](qmovie.html#updated)()和[resized](qmovie.html#resized)( )作为电影的进展。
If [QMovie](qmovie.html)在[Paused](qmovie.html#MovieState-enum)状态时,此功能相当于调用setPaused (假) 。如果[QMovie](qmovie.html)已经在[Running](qmovie.html#MovieState-enum)状态,这个函数什么都不做。
**See also** [stop](qmovie.html#stop)()和[setPaused](qmovie.html#setPaused)( ) 。
```
MovieState QMovie.state (self)
```
[](qmovie.html#MovieState-enum)
[返回的当前状态](qmovie.html#MovieState-enum)[QMovie](qmovie.html)。
**See also** [MovieState](qmovie.html#MovieState-enum)和[stateChanged](qmovie.html#stateChanged)( ) 。
```
QMovie.stop (self)
```
这种方法也是一个Qt槽与C + +的签名`void stop()`。
停止该影片。[QMovie](qmovie.html)进入[NotRunning](qmovie.html#MovieState-enum)状态,并停止发出[updated](qmovie.html#updated)()和[resized](qmovie.html#resized)( ) 。如果[start](qmovie.html#start)( )再次被调用时,影片将从头开始重新启动。
If [QMovie](qmovie.html)已经在[NotRunning](qmovie.html#MovieState-enum)状态,这个函数什么都不做。
**See also** [start](qmovie.html#start)()和[setPaused](qmovie.html#setPaused)( ) 。
```
list-of-QByteArray QMovie.supportedFormats ()
```
传回的图像格式所支持的列表[QMovie](qmovie.html)。
这个函数是Qt 4.1中引入。
**See also** [QImageReader.supportedImageFormats](qimagereader.html#supportedImageFormats)( ) 。
* * *
## Qt Signal Documentation
```
void error (QImageReader::ImageReaderError)
```
这是该信号的默认超载。
这个信号是由发射[QMovie](qmovie.html)当错误_error_在播放过程中发生的。[QMovie](qmovie.html)将停止播放电影,并输入[QMovie.NotRunning](qmovie.html#MovieState-enum)状态。
```
void finished ()
```
这是该信号的默认超载。
当影片结束这个信号被发射。
**See also** [QMovie.stop](qmovie.html#stop)( ) 。
```
void frameChanged (int)
```
这是该信号的默认超载。
这个信号被发射时的帧编号变更为_frameNumber_。您可以致电[currentImage](qmovie.html#currentImage)()或[currentPixmap](qmovie.html#currentPixmap)( )来获取帧的副本。
这个函数是Qt 4.1中引入。
```
void resized (const QSize&)
```
这是该信号的默认超载。
当当前帧已经被改变到这一信号被发射_size_。这种效果有时用于动画作为替代更换帧。您可以致电[currentImage](qmovie.html#currentImage)()或[currentPixmap](qmovie.html#currentPixmap)( )来获取更新的帧的副本。
```
void started ()
```
这是该信号的默认超载。
之后此信号被发射[QMovie.start](qmovie.html#start)( )被调用,并[QMovie](qmovie.html)已进入[QMovie.Running](qmovie.html#MovieState-enum)状态。
```
void stateChanged (QMovie::MovieState)
```
这是该信号的默认超载。
每当这个信号被发射的电影的状态发生改变。新的状态被指定_state_。
**See also** [QMovie.state](qmovie.html#state)( ) 。
```
void updated (const QRect&)
```
这是该信号的默认超载。
这个信号被发射时的RECT_rect_在当前帧中已被更新。您可以致电[currentImage](qmovie.html#currentImage)()或[currentPixmap](qmovie.html#currentPixmap)( )来获取更新的帧的副本。
- 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