# QScriptEngineAgent Class Reference
## [[QtScript](index.htm) module]
该QScriptEngineAgent类提供了一个接口来报告有关事件[QScriptEngine](qscriptengine.html)执行。[More...](#details)
### Types
* `enum Extension { DebuggerInvocationRequest }`
### Methods
* `__init__ (self, QScriptEngine engine)`
* `contextPop (self)`
* `contextPush (self)`
* `QScriptEngine engine (self)`
* `exceptionCatch (self, int scriptId, QScriptValue exception)`
* `exceptionThrow (self, int scriptId, QScriptValue exception, bool hasHandler)`
* `QVariant extension (self, Extension extension, QVariant argument = QVariant())`
* `functionEntry (self, int scriptId)`
* `functionExit (self, int scriptId, QScriptValue returnValue)`
* `positionChange (self, int scriptId, int lineNumber, int columnNumber)`
* `scriptLoad (self, int id, QString program, QString fileName, int baseLineNumber)`
* `scriptUnload (self, int id)`
* `bool supportsExtension (self, Extension extension)`
* * *
## Detailed Description
该QScriptEngineAgent类提供了一个接口来报告有关事件[QScriptEngine](qscriptengine.html)执行。
该QScriptEngineAgent类是用来监视和/或控制的一个执行工具的基础[QScriptEngine](qscriptengine.html)如调试器和分析器。
为了处理脚本加载和卸载事件,重新实现[scriptLoad](qscriptengineagent.html#scriptLoad)()和[scriptUnload](qscriptengineagent.html#scriptUnload)()函数。[scriptLoad](qscriptengineagent.html#scriptLoad)()被输入到后称为[QScriptEngine.evaluate](qscriptengine.html#evaluate)( )已经被解析,执行给定的脚本权利之前。该引擎可为每个脚本一个ID ,它可作为一个参数来[scriptLoad](qscriptengineagent.html#scriptLoad)();随后,其它事件处理程序可以使用该ID来识别特定的脚本。一个常见的用法[scriptLoad](qscriptengineagent.html#scriptLoad)( )是保留的脚本文本,文件名和底线号(原输入[QScriptEngine.evaluate](qscriptengine.html#evaluate)()),以使其他的事件处理程序可以例如一个行号映射到文本的相应的行。
[scriptUnload](qscriptengineagent.html#scriptUnload)( )被调用时,[QScriptEngine](qscriptengine.html)已经不再使用的脚本;的QScriptEngineAgent可能在这一点上安全地丢弃任何与脚本(如脚本文本)相关联的资源。注意,后[scriptUnload](qscriptengineagent.html#scriptUnload)( )被调用时,[QScriptEngine](qscriptengine.html)可重复使用相关的脚本ID为新脚本(即作为参数传递给后续调用[scriptLoad](qscriptengineagent.html#scriptLoad)())。
评价下面的脚本将导致[scriptUnload](qscriptengineagent.html#scriptUnload)( )被调用的评估完成后立即:
```
var a = Math.random() + 2;
```
评价下面的脚本将\ B { }不导致调用[scriptUnload](qscriptengineagent.html#scriptUnload)( )当评估完成:
```
function cube(a) {
return a * a * a;
}
var a = cube(3);
```
该脚本不被卸载,因为它定义了一个函数(`cube`)保留在脚本环境评估已完成。如果后续的脚本中删除该`cube`功能(例如,通过将其设置为`null`) ,[scriptUnload](qscriptengineagent.html#scriptUnload)( )当函数被垃圾收集会被调用。一般而言,一个脚本不卸载,直到发动机已确定没有其内容被引用。
处理脚本函数调用和返回,重新实现[functionEntry](qscriptengineagent.html#functionEntry)()和[functionExit](qscriptengineagent.html#functionExit)()函数。[functionEntry](qscriptengineagent.html#functionEntry)( )当一个脚本函数将要执行的调用;[functionExit](qscriptengineagent.html#functionExit)()被调用时,一个脚本函数即将返回,无论是正常还是由于异常。
为了处理单个脚本语句,重新实现[positionChange](qscriptengineagent.html#positionChange)( ) 。[positionChange](qscriptengineagent.html#positionChange)()被调用每次引擎将要执行的脚本的一个新的语句,因此提供的脚本监控的最好水平。
为了处理异常,重新实现[exceptionThrow](qscriptengineagent.html#exceptionThrow)()和[exceptionCatch](qscriptengineagent.html#exceptionCatch)( ) 。[exceptionThrow](qscriptengineagent.html#exceptionThrow)()被调用时,一个脚本异常被抛出,它已被处理之前。[exceptionCatch](qscriptengineagent.html#exceptionCatch)( )被调用时,一个异常处理程序存在,并执行将在处理程序代码将被收回。
* * *
## Type Documentation
```
QScriptEngineAgent.Extension
```
这个枚举指定可能的扩展到[QScriptEngineAgent](qscriptengineagent.html)。
| Constant | Value | Description |
| --- | --- | --- |
| `QScriptEngineAgent.DebuggerInvocationRequest` | `0` | 代理手柄`debugger`脚本语句。 |
**See also** [extension](qscriptengineagent.html#extension)( ) 。
* * *
## Method Documentation
```
QScriptEngineAgent.__init__ (self, QScriptEngine engine)
```
该_engine_的说法,如果不是没有,原因_self_通过Qt的,而不是PyQt的拥有。
构造一个[QScriptEngineAgent](qscriptengineagent.html)对象为给定的_engine_。
该发动机采用了代理的所有权。
Call [QScriptEngine.setAgent](qscriptengine.html#setAgent)( )使本剂中的活性剂。
```
QScriptEngineAgent.contextPop (self)
```
在当前脚本上下文将要弹出这个函数被调用。
默认实现不执行任何操作。
**See also** [contextPush](qscriptengineagent.html#contextPush)()和[functionExit](qscriptengineagent.html#functionExit)( ) 。
```
QScriptEngineAgent.contextPush (self)
```
这个函数被调用时,一个新的脚本上下文一直推。
默认实现不执行任何操作。
**See also** [contextPop](qscriptengineagent.html#contextPop)()和[functionEntry](qscriptengineagent.html#functionEntry)( ) 。
```
QScriptEngine QScriptEngineAgent.engine (self)
```
[](qscriptengine.html)
[返回](qscriptengine.html)[QScriptEngine](qscriptengine.html)此代理相关联。
```
QScriptEngineAgent.exceptionCatch (self, int scriptId, QScriptValue exception)
```
这个函数被调用的时候给出_exception_即将被捕获,在所确定的脚本_scriptId_。
如果你想处理此事件重新实现这个函数。
默认实现不执行任何操作。
**See also** [exceptionThrow](qscriptengineagent.html#exceptionThrow)( ) 。
```
QScriptEngineAgent.exceptionThrow (self, int scriptId, QScriptValue exception, bool hasHandler)
```
这个函数被调用的时候给出_exception_发生在发动机,在所确定的脚本_scriptId_。如果异常是由本地的Qt脚本函数抛出,_scriptId_是-1。
If _hasHandler_诚然,有一个`catch` or `finally`块将处理该异常。如果_hasHandler_是假的,没有异常处理程序。
如果你想处理此事件重新实现这个函数。例如,一个调试器可以当一个未捕获的异常发生时通知用户(即_hasHandler_是假的) 。
默认实现不执行任何操作。
**See also** [exceptionCatch](qscriptengineagent.html#exceptionCatch)( ) 。
```
QVariant QScriptEngineAgent.extension (self, Extension extension, QVariant argument = QVariant())
```
这个虚函数可以在重新实现[QScriptEngineAgent](qscriptengineagent.html)子类以提供扩展的支持。可选的_argument_可以作为输入提供给_extension_;结果必须在一个形式被返回[QVariant](qvariant.html)。您可以致电[supportsExtension](qscriptengineagent.html#supportsExtension)( )来检查一个扩展是支持的[QScriptEngineAgent](qscriptengineagent.html)。默认情况下,没有扩展名的支持,这个函数返回一个无效[QVariant](qvariant.html)。
如果实现[DebuggerInvocationRequest](qscriptengineagent.html#Extension-enum)扩展, Qt的脚本会调用这个函数时,`debugger`语句在脚本中遇到的问题。该_argument_是[QVariantList](qvariant.html#QVariantList-typedef)包含三个项目:第一个项目是scriptId (长) ,第二项是行数(一个int ) ,第三项是列数(一个整数) 。
**See also** [supportsExtension](qscriptengineagent.html#supportsExtension)( ) 。
```
QScriptEngineAgent.functionEntry (self, int scriptId)
```
这个函数被调用时,一个脚本函数被调用的引擎。如果脚本的功能是不是原生的Qt脚本功能,它驻留在确定脚本_scriptId_否则,_scriptId_是-1。
这个函数被调用执行脚本函数的开始之前。你可以得到[QScriptContext](qscriptcontext.html)与函数调用相关[QScriptEngine.currentContext](qscriptengine.html#currentContext)( ) 。可传递给函数的参数。
重新实现这个函数来处理此事件。例如,一个调试器的实现可以重新实现这个函数(和[functionExit](qscriptengineagent.html#functionExit)())来跟踪调用堆栈和提供步骤,以上的功能。
默认实现不执行任何操作。
**See also** [functionExit](qscriptengineagent.html#functionExit)( )[positionChange](qscriptengineagent.html#positionChange)()和[QScriptEngine.currentContext](qscriptengine.html#currentContext)( ) 。
```
QScriptEngineAgent.functionExit (self, int scriptId, QScriptValue returnValue)
```
当目前执行的脚本函数即将返回该函数被调用。如果脚本的功能是不是原生的Qt脚本功能,它驻留在确定脚本_scriptId_否则,_scriptId_是-1。该_returnValue_是脚本函数将返回值。
只是脚本函数返回之前调用此函数。您仍然可以访问[QScriptContext](qscriptcontext.html)与脚本函数调用相关联[QScriptEngine.currentContext](qscriptengine.html#currentContext)( ) 。
如果发动机的[hasUncaughtException](qscriptengine.html#hasUncaughtException)( )函数返回True ,脚本函数退出,由于异常,否则,脚本函数正常返回。
重新实现这个函数来处理此事件,通常你会那么还需要重新实现[functionEntry](qscriptengineagent.html#functionEntry)( ) 。
默认实现不执行任何操作。
**See also** [functionEntry](qscriptengineagent.html#functionEntry)()和[QScriptEngine.hasUncaughtException](qscriptengine.html#hasUncaughtException)( ) 。
```
QScriptEngineAgent.positionChange (self, int scriptId, int lineNumber, int columnNumber)
```
这个函数被调用当发动机即将在确定脚本执行一个新的语句_scriptId_。该语句开始由指定的行和列_lineNumber_是不是原生的Qt脚本函数生成此事件。
重新实现这个函数来处理此事件。例如,一个调试器的实现可以重新实现这个功能,提供线,由线步进,和一个分析器实现可以用它来计算被执行每个语句的次数。
默认实现不执行任何操作。
**Note:** _columnNumber_未定义
**See also** [scriptLoad](qscriptengineagent.html#scriptLoad)()和[functionEntry](qscriptengineagent.html#functionEntry)( ) 。
```
QScriptEngineAgent.scriptLoad (self, int id, QString program, QString fileName, int baseLineNumber)
```
这个函数被调用时,引擎解析的脚本,并与给定关联的它_id_。该ID可以用来识别在随后的事件通知这个特定的脚本。
_program_,_fileName_和_baseLineNumber_是原始参数的[QScriptEngine.evaluate](qscriptengine.html#evaluate)( )调用触发此事件。
这个函数被调用之前的脚本即将进行评估。
您可以重新实现此功能来记录关于脚本的信息,例如,通过保留脚本文本,你可以得到的文本行对应于一个后续调用一个行号[positionChange](qscriptengineagent.html#positionChange)( ) 。
默认实现不执行任何操作。
**See also** [scriptUnload](qscriptengineagent.html#scriptUnload)( ) 。
```
QScriptEngineAgent.scriptUnload (self, int id)
```
这个函数被调用时,引擎已经丢弃确定给定的脚本_id_。
您可以重新实现这个函数来清除任何已与脚本相关的资源。
默认实现不执行任何操作。
**See also** [scriptLoad](qscriptengineagent.html#scriptLoad)( ) 。
```
bool QScriptEngineAgent.supportsExtension (self, Extension extension)
```
返回True如果[QScriptEngineAgent](qscriptengineagent.html)支持给定_extension_否则,则返回False。默认情况下,没有扩展名的支持。
**See also** [extension](qscriptengineagent.html#extension)( ) 。
- 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