# QFileSystemModel Class Reference
## [[QtGui](index.htm) module]
该QFileSystemModel类提供了在本地文件系统的数据模型。[More...](#details)
继承[QAbstractItemModel](qabstractitemmodel.html)。
### Types
* `enum Roles { FileIconRole, FilePathRole, FileNameRole, FilePermissions }`
### Methods
* `__init__ (self, QObject parent = None)`
* `bool canFetchMore (self, QModelIndex parent)`
* `int columnCount (self, QModelIndex parent = QModelIndex())`
* `QVariant data (self, QModelIndex index, int role = Qt.DisplayRole)`
* `bool dropMimeData (self, QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)`
* `bool event (self, QEvent event)`
* `fetchMore (self, QModelIndex parent)`
* `QIcon fileIcon (self, QModelIndex aindex)`
* `QFileInfo fileInfo (self, QModelIndex aindex)`
* `QString fileName (self, QModelIndex aindex)`
* `QString filePath (self, QModelIndex index)`
* `QDir.Filters filter (self)`
* `Qt.ItemFlags flags (self, QModelIndex index)`
* `bool hasChildren (self, QModelIndex parent = QModelIndex())`
* `QVariant headerData (self, int section, Qt.Orientation orientation, int role = Qt.DisplayRole)`
* `QFileIconProvider iconProvider (self)`
* `QModelIndex index (self, int row, int column, QModelIndex parent = QModelIndex())`
* `QModelIndex index (self, QString path, int column = 0)`
* `bool isDir (self, QModelIndex index)`
* `bool isReadOnly (self)`
* `QDateTime lastModified (self, QModelIndex index)`
* `QMimeData mimeData (self, list-of-QModelIndex indexes)`
* `QStringList mimeTypes (self)`
* `QModelIndex mkdir (self, QModelIndex parent, QString name)`
* `QVariant myComputer (self, int role = Qt.DisplayRole)`
* `bool nameFilterDisables (self)`
* `QStringList nameFilters (self)`
* `QModelIndex parent (self, QModelIndex child)`
* `QFile.Permissions permissions (self, QModelIndex index)`
* `bool remove (self, QModelIndex aindex)`
* `bool resolveSymlinks (self)`
* `bool rmdir (self, QModelIndex aindex)`
* `QDir rootDirectory (self)`
* `QString rootPath (self)`
* `int rowCount (self, QModelIndex parent = QModelIndex())`
* `bool setData (self, QModelIndex idx, QVariant value, int role = Qt.EditRole)`
* `setFilter (self, QDir.Filters filters)`
* `setIconProvider (self, QFileIconProvider provider)`
* `setNameFilterDisables (self, bool enable)`
* `setNameFilters (self, QStringList filters)`
* `setReadOnly (self, bool enable)`
* `setResolveSymlinks (self, bool enable)`
* `QModelIndex setRootPath (self, QString path)`
* `int size (self, QModelIndex index)`
* `sort (self, int column, Qt.SortOrder order = Qt.AscendingOrder)`
* `Qt.DropActions supportedDropActions (self)`
* `timerEvent (self, QTimerEvent event)`
* `QString type (self, QModelIndex index)`
### Qt Signals
* `void directoryLoaded (const QString&)`
* `void fileRenamed (const QString&,const QString&,const QString&)`
* `void rootPathChanged (const QString&)`
* * *
## Detailed Description
该QFileSystemModel类提供了在本地文件系统的数据模型。
这个类提供了访问本地文件系统,提供了功能重命名和删除文件和目录,并创建新的目录。在最简单的情况下,它可以用于与合适的显示部件作为一个浏览器或过滤器的一部分。
QFileSystemModel可以使用所提供的标准接口来访问[QAbstractItemModel](qabstractitemmodel.html)的,但它也提供了一些方便的功能所特有的一个目录模型。该[fileInfo](qfilesystemmodel.html#fileInfo)( )[isDir](qfilesystemmodel.html#isDir)( )[name](index.htm#name)( )和路径( )函数提供了有关与模型中的项目相关的文件和目录信息。目录中可以创建和删除使用[mkdir](qfilesystemmodel.html#mkdir)( )[rmdir](qfilesystemmodel.html#rmdir)( ) 。
**Note:**QFileSystemModel需要一个GUI应用程序的一个实例。
### Example Usage
通常是构造一个父对象,显示一个默认目录中的内容的目录型号:
```
QFileSystemModel *model = new QFileSystemModel;
model->setRootPath([QDir](qdir.html).currentPath());
```
树视图可用于显示模型的内容
```
[QTreeView](qtreeview.html) *tree = new [QTreeView](qtreeview.html)(splitter);
tree->setModel(model);
```
和一个特定的目录中的内容可以显示通过将树视图的根指数:
```
tree->setRootIndex(model->index([QDir](qdir.html).currentPath()));
```
视图的根指数,可用于控制如何分层模型的多显示。[QDirModel(obsolete)](qdirmodel.html)提供了一个方便的功能,用于返回一个路径模型中的一个目录一个合适的模型索引。
### Caching and Performance
QFileSystemModel不会获取任何文件或目录,直到[setRootPath](qfilesystemmodel.html#setRootPath)()被调用。这将防止在文件系统上的任何不必要的查询,直到这一点,如清单上的Windows的驱动器。
不像[QDirModel(obsolete)](qdirmodel.html), QFileSystemModel使用单独的线程来填充自身,所以它不会造成主线程挂起的文件系统受到质疑。调用[rowCount](qfilesystemmodel.html#rowCount)( )将返回0 ,直到模型填充的目录。
QFileSystemModel保持与文件信息的高速缓存。高速缓存是使用自动保持更新的[QFileSystemWatcher](qfilesystemwatcher.html)。
* * *
## Type Documentation
```
QFileSystemModel.Roles
```
| Constant | Value |
| --- | --- |
| `QFileSystemModel.FileIconRole` | `Qt.DecorationRole` |
| `QFileSystemModel.FilePathRole` | `Qt.UserRole + 1` |
| `QFileSystemModel.FileNameRole` | `Qt.UserRole + 2` |
| `QFileSystemModel.FilePermissions` | `Qt.UserRole + 3` |
* * *
## Method Documentation
```
QFileSystemModel.__init__ (self, QObject parent = None)
```
该_parent_的说法,如果不是没有,原因_self_通过Qt的,而不是PyQt的拥有。
构造一个文件系统模型与给定的_parent_。
```
bool QFileSystemModel.canFetchMore (self, QModelIndex parent)
```
从重新实现[QAbstractItemModel.canFetchMore](qabstractitemmodel.html#canFetchMore)( ) 。
```
int QFileSystemModel.columnCount (self, QModelIndex parent = QModelIndex())
```
从重新实现[QAbstractItemModel.columnCount](qabstractitemmodel.html#columnCount)( ) 。
```
QVariant QFileSystemModel.data (self, QModelIndex index, int role = Qt.DisplayRole)
```
从重新实现[QAbstractItemModel.data](qabstractitemmodel.html#data)( ) 。
**See also** [setData](qfilesystemmodel.html#setData)( ) 。
```
bool QFileSystemModel.dropMimeData (self, QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)
```
从重新实现[QAbstractItemModel.dropMimeData](qabstractitemmodel.html#dropMimeData)( ) 。
处理_data_通过拖放操作,与给定的供给结束_action_过在由指定的模型中的行_row_和_column_以及由_parent_索引。
**See also** [supportedDropActions](qfilesystemmodel.html#supportedDropActions)( ) 。
```
bool QFileSystemModel.event (self, QEvent event)
```
从重新实现[QObject.event](qobject.html#event)( ) 。
```
QFileSystemModel.fetchMore (self, QModelIndex parent)
```
从重新实现[QAbstractItemModel.fetchMore](qabstractitemmodel.html#fetchMore)( ) 。
```
QIcon QFileSystemModel.fileIcon (self, QModelIndex aindex)
```
[
根据给定的返回存储在模型中的项的图标_index_。
](qicon.html)
```
QFileInfo QFileSystemModel.fileInfo (self, QModelIndex aindex)
```
[](qfileinfo.html)
[返回](qfileinfo.html)[QFileInfo](qfileinfo.html)根据给定的存储在模型中的项_index_。
```
QString QFileSystemModel.fileName (self, QModelIndex aindex)
```
返回根据给定的存储在模型中的项目的文件名_index_。
```
QString QFileSystemModel.filePath (self, QModelIndex index)
```
返回根据存储在模型中的项的路径_index_给出。
```
QDir.Filters QFileSystemModel.filter (self)
```
[
返回目录模型中指定的过滤器。
](index.htm)
[如果一个过滤器没有被设置,则默认过滤器是](index.htm)[QDir.AllEntries](qdir.html#Filter-enum)|[QDir.NoDotAndDotDot](qdir.html#Filter-enum)|[QDir.AllDirs](qdir.html#Filter-enum)。
**See also** [setFilter](qfilesystemmodel.html#setFilter)()和[QDir.Filters](qdir.html#Filter-enum)。
```
Qt.ItemFlags QFileSystemModel.flags (self, QModelIndex index)
```
[](index.htm)
[从重新实现](index.htm)[QAbstractItemModel.flags](qabstractitemmodel.html#flags)( ) 。
```
bool QFileSystemModel.hasChildren (self, QModelIndex parent = QModelIndex())
```
从重新实现[QAbstractItemModel.hasChildren](qabstractitemmodel.html#hasChildren)( ) 。
```
QVariant QFileSystemModel.headerData (self, int section, Qt.Orientation orientation, int role = Qt.DisplayRole)
```
从重新实现[QAbstractItemModel.headerData](qabstractitemmodel.html#headerData)( ) 。
```
QFileIconProvider QFileSystemModel.iconProvider (self)
```
[
返回文件的图标提供商此目录的模式。
](qfileiconprovider.html)
[**See also**](qfileiconprovider.html) [setIconProvider](qfilesystemmodel.html#setIconProvider)( ) 。
```
QModelIndex QFileSystemModel.index (self, int row, int column, QModelIndex parent = QModelIndex())
```
[](qmodelindex.html)
[从重新实现](qmodelindex.html)[QAbstractItemModel.index](qabstractitemmodel.html#index)( ) 。
```
QModelIndex QFileSystemModel.index (self, QString path, int column = 0)
```
[
这是一个重载函数。
返回模型项指数为给定的_path_和_column_。
```
bool QFileSystemModel.isDir (self, QModelIndex index)
```
返回True如果模型项目_index_表示一个目录,否则返回False 。
```
bool QFileSystemModel.isReadOnly (self)
```
](qmodelindex.html)
```
QDateTime QFileSystemModel.lastModified (self, QModelIndex index)
```
[
返回的日期和时间时_index_最后修订。
](qdatetime.html)
```
QMimeData QFileSystemModel.mimeData (self, list-of-QModelIndex indexes)
```
[](qmimedata.html)
[从重新实现](qmimedata.html)[QAbstractItemModel.mimeData](qabstractitemmodel.html#mimeData)( ) 。
返回一个对象,该对象包含指定的序列化描述_indexes_。用于描述对应于该索引的项的格式是从所获得的[mimeTypes](qfilesystemmodel.html#mimeTypes)()函数。
如果索引的列表为空,则返回0 ,而不是一个序列化的空单。
```
QStringList QFileSystemModel.mimeTypes (self)
```
从重新实现[QAbstractItemModel.mimeTypes](qabstractitemmodel.html#mimeTypes)( ) 。
返回可用于描述在模型中的项列表的MIME类型的列表。
```
QModelIndex QFileSystemModel.mkdir (self, QModelIndex parent, QString name)
```
[
创建具有一个目录_name_在_parent_模型索引。
```
QVariant QFileSystemModel.myComputer (self, int role = Qt.DisplayRole)
```
返回下指定存储的数据_role_该项目“我的电脑” 。
](qmodelindex.html)
[**See also**](qmodelindex.html) [Qt.ItemDataRole](qt.html#ItemDataRole-enum)。
```
bool QFileSystemModel.nameFilterDisables (self)
```
```
QStringList QFileSystemModel.nameFilters (self)
```
返回应用到该模型中的名称的过滤器列表。
**See also** [setNameFilters](qfilesystemmodel.html#setNameFilters)( ) 。
```
QModelIndex QFileSystemModel.parent (self, QModelIndex child)
```
[](qmodelindex.html)
[从重新实现](qmodelindex.html)[QAbstractItemModel.parent](qabstractitemmodel.html#parent)( ) 。
```
QFile.Permissions QFileSystemModel.permissions (self, QModelIndex index)
```
[](index.htm)
[返回的完整或的结果组合在一起](index.htm)[QFile.Permission](qfile.html#Permission-enum)为_index_。
```
bool QFileSystemModel.remove (self, QModelIndex aindex)
```
删除模型项目_index_从文件系统模型和**deletes the corresponding file from the file system**,返回True,如果成功的。如果该项目不能被删除,则返回False。
**Warning:**此函数删除从文件系统中的文件,它**not**它们移动到那里他们可以恢复的位置。
**See also** [rmdir](qfilesystemmodel.html#rmdir)( ) 。
```
bool QFileSystemModel.resolveSymlinks (self)
```
```
bool QFileSystemModel.rmdir (self, QModelIndex aindex)
```
删除对应的模型项目的目录_index_在文件系统模型和**deletes the corresponding directory from the file system**,返回True,如果成功的。如果目录不能被删除,则返回False。
**Warning:**此函数删除目录的文件系统;它**not**它们移动到那里他们可以恢复的位置。
**See also** [remove](qfilesystemmodel.html#remove)( ) 。
```
QDir QFileSystemModel.rootDirectory (self)
```
[
当前设置的目录
](qdir.html)
[**See also**](qdir.html) [rootPath](qfilesystemmodel.html#rootPath)( ) 。
```
QString QFileSystemModel.rootPath (self)
```
当前设置的根路径
**See also** [setRootPath](qfilesystemmodel.html#setRootPath)()和[rootDirectory](qfilesystemmodel.html#rootDirectory)( ) 。
```
int QFileSystemModel.rowCount (self, QModelIndex parent = QModelIndex())
```
从重新实现[QAbstractItemModel.rowCount](qabstractitemmodel.html#rowCount)( ) 。
```
bool QFileSystemModel.setData (self, QModelIndex idx, QVariant value, int role = Qt.EditRole)
```
从重新实现[QAbstractItemModel.setData](qabstractitemmodel.html#setData)( ) 。
**See also** [data](qfilesystemmodel.html#data)( ) 。
```
QFileSystemModel.setFilter (self, QDir.Filters filters)
```
设置目录型号的过滤器,通过指定_filters_。
请注意,您设置的过滤器应始终包含[QDir.AllDirs](qdir.html#Filter-enum)枚举值,否则[QFileSystemModel](qfilesystemmodel.html)将无法读取的目录结构。
**See also** [filter](qfilesystemmodel.html#filter)()和[QDir.Filters](qdir.html#Filter-enum)。
```
QFileSystemModel.setIconProvider (self, QFileIconProvider provider)
```
设置_provider_文件图标的目录模式。
**See also** [iconProvider](qfilesystemmodel.html#iconProvider)( ) 。
```
QFileSystemModel.setNameFilterDisables (self, bool enable)
```
```
QFileSystemModel.setNameFilters (self, QStringList filters)
```
设置名称_filters_应用对现有的文件。
**See also** [nameFilters](qfilesystemmodel.html#nameFilters)( ) 。
```
QFileSystemModel.setReadOnly (self, bool enable)
```
```
QFileSystemModel.setResolveSymlinks (self, bool enable)
```
```
QModelIndex QFileSystemModel.setRootPath (self, QString path)
```
[](qmodelindex.html)
[设置被观看了该模型的目录_newPath_通过安装](qmodelindex.html)[file system watcher](qfilesystemwatcher.html)就可以了。任何更改的文件和该目录下的目录将反映在模型中。
如果该路径被改变,[rootPathChanged](qfilesystemmodel.html#rootPathChanged)()信号将被发射。
**Note:**此函数不改变模型的结构或修改提供给视图的数据。换句话说,本模型的“根”是_not_更改为包含所指定的目录中唯一的文件和目录_newPath_在文件系统中。
**See also** [rootPath](qfilesystemmodel.html#rootPath)( ) 。
```
int QFileSystemModel.size (self, QModelIndex index)
```
返回该尺寸中的字节_index_。如果文件不存在,则返回0 。
```
QFileSystemModel.sort (self, int column, Qt.SortOrder order = Qt.AscendingOrder)
```
从重新实现[QAbstractItemModel.sort](qabstractitemmodel.html#sort)( ) 。
```
Qt.DropActions QFileSystemModel.supportedDropActions (self)
```
[](index.htm)
[从重新实现](index.htm)[QAbstractItemModel.supportedDropActions](qabstractitemmodel.html#supportedDropActions)( ) 。
```
QFileSystemModel.timerEvent (self, QTimerEvent event)
```
从重新实现[QObject.timerEvent](qobject.html#timerEvent)( ) 。
```
QString QFileSystemModel.type (self, QModelIndex index)
```
返回文件的类型_index_如“目录”或“ JPEG文件” 。
* * *
## Qt Signal Documentation
```
void directoryLoaded (const QString&)
```
这是该信号的默认超载。
当采集线程完成加载这个信号被发射的_path_。
此功能被引入Qt的4.7 。
```
void fileRenamed (const QString&,const QString&,const QString&)
```
这是该信号的默认超载。
这个信号被发射时与一个文件_oldName_成功更名为_newName_。该文件位于目录_path_。
```
void rootPathChanged (const QString&)
```
这是该信号的默认超载。
这个信号被发射时的根路径已被更改为一个_newPath_。
- 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