# QSessionManager Class Reference
## [[QtGui](index.htm) module]
该QSessionManager类提供了访问会话管理器。[More...](#details)
继承[QObject](qobject.html)。
### Types
* `enum RestartHint { RestartIfRunning, RestartAnyway, RestartImmediately, RestartNever }`
### Methods
* `bool allowsErrorInteraction (self)`
* `bool allowsInteraction (self)`
* `cancel (self)`
* `QStringList discardCommand (self)`
* `bool isPhase2 (self)`
* `release (self)`
* `requestPhase2 (self)`
* `QStringList restartCommand (self)`
* `RestartHint restartHint (self)`
* `QString sessionId (self)`
* `QString sessionKey (self)`
* `setDiscardCommand (self, QStringList)`
* `setManagerProperty (self, QString name, QString value)`
* `setManagerProperty (self, QString name, QStringList value)`
* `setRestartCommand (self, QStringList)`
* `setRestartHint (self, RestartHint)`
* * *
## Detailed Description
该QSessionManager类提供了访问会话管理器。
在桌面环境中(其中Qt的GUI应用程序实时)的会话管理器会跟踪会话,这是一组运行的应用程序,每个都有一个特定的状态。应用程序的状态包含(最显着的)的应用程序所打开的文件和位置,它的窗口大小。
会话管理器是用来保存会话,例如,当机器关闭,并恢复会话,例如,当机器启动。我们建议您使用[QSettings](qsettings.html)保存应用程序的设置,例如,窗口位置,最近使用的文件等。当申请是由会话管理器重新启动,就可以恢复设置。
QSessionManager提供了应用程序和会话管理器之间的接口,使程序可以与会话管理工作。在Qt中,行动会话管理请求由两个虚函数来处理[QApplication.commitData](qapplication.html#commitData)()和[QApplication.saveState](qapplication.html#saveState)( ) 。两者都提供一个参考的会话管理器对象作为参数,以允许应用程序与会话管理器通信。会话管理器只能通过这些函数来访问。
无需用户交互是可能的_unless_该应用程序从会话管理器得到明确的许可。你可以通过调用请求许可[allowsInteraction](qsessionmanager.html#allowsInteraction)( )或者,如果它是真的急了,[allowsErrorInteraction](qsessionmanager.html#allowsErrorInteraction)( ) 。 Qt不执行这一点,但会话管理器可以。
您可以尝试通过调用中止关机程序[cancel](qsessionmanager.html#cancel)( ) 。默认commitData ( )函数的作用这一点,如果某些顶层窗口拒绝了的closeEvent ( ) 。
对于提供的UNIX/X11复杂的会话管理器, QSessionManager提供了进一步的可能性,以微调应用程序的会话管理的行为:[setRestartCommand](qsessionmanager.html#setRestartCommand)( )[setDiscardCommand](qsessionmanager.html#setDiscardCommand)( )[setRestartHint](qsessionmanager.html#setRestartHint)( )[setProperty](qobject.html#setProperty)( )[requestPhase2](qsessionmanager.html#requestPhase2)( ) 。进一步详情请参阅相应的功能说明。
* * *
## Type Documentation
```
QSessionManager.RestartHint
```
这个枚举类型定义下,这项应用程序要由会话管理器重新启动的情况。该电流值是:
| Constant | Value | Description |
| --- | --- | --- |
| `QSessionManager.RestartIfRunning` | `0` | 如果在会话关闭该应用程序仍在运行,它希望在下届会议上开始重新启动。 |
| `QSessionManager.RestartAnyway` | `1` | 应用程序希望在下届会议开始时启动,不管是什么。 (这对于刚刚启动后,然后退出运行实用程序非常有用。 ) |
| `QSessionManager.RestartImmediately` | `2` | 该应用程序要立即启动时,它没有运行。 |
| `QSessionManager.RestartNever` | `3` | 应用程序不希望被自动重新启动。 |
默认提示是`RestartIfRunning`。
* * *
## Method Documentation
```
bool QSessionManager.allowsErrorInteraction (self)
```
返回True如果错误的交互是允许的,否则返回False 。
这类似于[allowsInteraction](qsessionmanager.html#allowsInteraction)( ) ,而且还使应用程序能够讲述发生的任何错误的用户。会话管理器可发出错误交互请求更高的优先级,这意味着它更可能是错误的相互作用是允许的。但是,你仍然不能保证会话管理器将允许交互。
**See also** [allowsInteraction](qsessionmanager.html#allowsInteraction)( )[release](qsessionmanager.html#release)()和[cancel](qsessionmanager.html#cancel)( ) 。
```
bool QSessionManager.allowsInteraction (self)
```
要求权限与用户交互的会话管理器。返回True如果互动是允许的,否则返回False 。
这背后的机制的基本原理是使人们有可能停机期间同步的用户交互。高级会话管理器可能会问,所有的应用程序同时提交他们的数据,从而导致更快的关机。
当交互完成后,我们强烈建议释放用户交互信号通过调用[release](qsessionmanager.html#release)( ) 。这样一来,其他应用程序可能得到机会与用户进行交互,而你的应用程序仍然忙于保存数据。 (该信号量,当应用程序退出隐含释放。 )
如果用户决定在互动阶段取消关机的过程中,你必须告诉会话管理器得知此事致电[cancel](qsessionmanager.html#cancel)( ) 。
下面是一个应用程序是如何的一个例子[QApplication.commitData](qapplication.html#commitData)( )可能会实施:
```
void MyApplication.commitData([QSessionManager](qsessionmanager.html)& manager)
{
if (manager.allowsInteraction()) {
int ret = [QMessageBox](qmessagebox.html).warning(
mainWindow,
tr("My Application"),
tr("Save changes to document?"),
[QMessageBox](qmessagebox.html).Save | [QMessageBox](qmessagebox.html).Discard | [QMessageBox](qmessagebox.html).Cancel);
switch (ret) {
case [QMessageBox](qmessagebox.html).Save:
manager.release();
if (!saveDocument())
manager.cancel();
break;
case [QMessageBox](qmessagebox.html).Discard:
break;
case [QMessageBox](qmessagebox.html).Cancel:
default:
manager.cancel();
}
} else {
// we did not get permission to interact, then
// do something reasonable instead
}
}
```
如果在保存其数据的应用程序中发生了错误,你可能需要尝试[allowsErrorInteraction](qsessionmanager.html#allowsErrorInteraction)( )来代替。
**See also** [QApplication.commitData](qapplication.html#commitData)( )[release](qsessionmanager.html#release)()和[cancel](qsessionmanager.html#cancel)( ) 。
```
QSessionManager.cancel (self)
```
告诉会话管理器来取消关机过程。应用程序不应在没有先询问用户调用这个函数。
**See also** [allowsInteraction](qsessionmanager.html#allowsInteraction)()和[allowsErrorInteraction](qsessionmanager.html#allowsErrorInteraction)( ) 。
```
QStringList QSessionManager.discardCommand (self)
```
返回当前设置的丢弃命令。
遍历列表中,您可以使用[foreach](index.htm#foreach)伪关键字:
```
foreach (const [QString](qstring.html) &command, mySession.discardCommand())
do_something(command);
```
**See also** [setDiscardCommand](qsessionmanager.html#setDiscardCommand)( )[restartCommand](qsessionmanager.html#restartCommand)()和[setRestartCommand](qsessionmanager.html#setRestartCommand)( ) 。
```
bool QSessionManager.isPhase2 (self)
```
返回True如果会话管理器目前正在进行第二阶段管理阶段,否则返回False 。
**See also** [requestPhase2](qsessionmanager.html#requestPhase2)( ) 。
```
QSessionManager.release (self)
```
交互阶段后释放会话管理器的交互信号。
**See also** [allowsInteraction](qsessionmanager.html#allowsInteraction)()和[allowsErrorInteraction](qsessionmanager.html#allowsErrorInteraction)( ) 。
```
QSessionManager.requestPhase2 (self)
```
请求第二次会议管理阶段应用程序。该应用程序然后可从立即返回[QApplication.commitData](qapplication.html#commitData)()或[QApplication.saveState](qapplication.html#saveState)( )函数,它们将被再次调用一次大部分或所有其他应用程序已经完成了他们的会话管理。
这两个阶段是应用,如X11窗口管理器,需要存储有关其他应用程序的窗口的信息很有用,所以一定要等到这些申请都完成各自的会话管理任务。
**Note:**如果另一个应用程序已经请求了第二阶段它可能会调用之前,同时或应用程序的第二阶段之后。
**See also** [isPhase2](qsessionmanager.html#isPhase2)( ) 。
```
QStringList QSessionManager.restartCommand (self)
```
返回当前设置的重新启动命令。
遍历列表中,您可以使用[foreach](index.htm#foreach)伪关键字:
```
foreach (const [QString](qstring.html) &command, mySession.restartCommand())
do_something(command);
```
**See also** [setRestartCommand](qsessionmanager.html#setRestartCommand)()和[restartHint](qsessionmanager.html#restartHint)( ) 。
```
RestartHint QSessionManager.restartHint (self)
```
[
返回应用程序的当前重启提示。默认值是`RestartIfRunning`。
](qsessionmanager.html#RestartHint-enum)
[**See also**](qsessionmanager.html#RestartHint-enum) [setRestartHint](qsessionmanager.html#setRestartHint)( ) 。
```
QString QSessionManager.sessionId (self)
```
返回当前会话的标识符。
如果应用程序已恢复从以前的会话,这个标识符是因为它是在早期阶段相同。
**See also** [sessionKey](qsessionmanager.html#sessionKey)()和[QApplication.sessionId](qapplication.html#sessionId)( ) 。
```
QString QSessionManager.sessionKey (self)
```
返回在当前会话的会话密钥。
如果应用程序已恢复从以前的会话,这个键是一样的,当前一交易日结束它。
与commitData的每次调用( )或saveState和( )的会话密钥的变化。
**See also** [sessionId](qsessionmanager.html#sessionId)()和[QApplication.sessionKey](qapplication.html#sessionKey)( ) 。
```
QSessionManager.setDiscardCommand (self, QStringList)
```
设置丢弃命令给定的_list_。
**See also** [discardCommand](qsessionmanager.html#discardCommand)()和[setRestartCommand](qsessionmanager.html#setRestartCommand)( ) 。
```
QSessionManager.setManagerProperty (self, QString name, QString value)
```
低级别的写访问应用程序的识别和状态记录都保存在会话管理器。
所谓的财产_name_已经将其值设置为字符串列表_value_。
```
QSessionManager.setManagerProperty (self, QString name, QStringList value)
```
这是一个重载函数。
低级别的写访问应用程序的识别和状态记录保存在会话管理器。
所谓的财产_name_已经将其值设置为字符串_value_。
```
QSessionManager.setRestartCommand (self, QStringList)
```
如果会话管理器能够恢复会话将执行的_command_为了恢复应用程序。该命令默认为
```
appname -session id
```
该`-session`选项是必需的,否则[QApplication](qapplication.html)无法分辨它是否已经恢复或者什么当前会话标识符。看[QApplication.isSessionRestored](qapplication.html#isSessionRestored)()和[QApplication.sessionId](qapplication.html#sessionId)( )了解详情。
如果你的应用程序是非常简单的,它可能会存储在额外的命令行选项整个应用程序的状态。这通常是一个非常糟糕的主意,因为命令行往往局限于几百个字节。相反,使用[QSettings](qsettings.html),临时文件,或用于此目的的数据库。通过用独特的标记数据[sessionId](qsessionmanager.html#sessionId)( ) ,你就可以恢复应用程序在今后的会议。
**See also** [restartCommand](qsessionmanager.html#restartCommand)( )[setDiscardCommand](qsessionmanager.html#setDiscardCommand)()和[setRestartHint](qsessionmanager.html#setRestartHint)( ) 。
```
QSessionManager.setRestartHint (self, RestartHint)
```
设置应用程序的重启提示_hint_。在应用程序启动时,提示设置为`RestartIfRunning`。
**Note:**这些标志只是提示,一个会话管理器可能会或可能不会尊重他们。
我们建议设置重启的提示[QApplication.saveState](qapplication.html#saveState)( ),因为一个应用程序的启动后不久,大多数会话管理器执行检查点。
**See also** [restartHint](qsessionmanager.html#restartHint)( ) 。
- 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