Home · All Classes · Modules

QFileSystemModel Class Reference
[QtGui module]

Inherits QAbstractItemModel.

Types

Methods

Qt Signals


Detailed Description


Type Documentation

QFileSystemModel.Roles


Method Documentation

QFileSystemModel.__init__ (self, QObject parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

bool QFileSystemModel.canFetchMore (self, QModelIndex)

int QFileSystemModel.columnCount (self, QModelIndex parent = QModelIndex())

QVariant QFileSystemModel.data (self, QModelIndex, int role = Qt.DisplayRole)

bool QFileSystemModel.dropMimeData (self, QMimeData, Qt.DropAction, int, int, QModelIndex)

bool QFileSystemModel.event (self, QEvent)

QFileSystemModel.fetchMore (self, QModelIndex)

QIcon QFileSystemModel.fileIcon (self, QModelIndex)

QFileInfo QFileSystemModel.fileInfo (self, QModelIndex)

QString QFileSystemModel.fileName (self, QModelIndex)

QString QFileSystemModel.filePath (self, QModelIndex)

QDir.Filters QFileSystemModel.filter (self)

Qt.ItemFlags QFileSystemModel.flags (self, QModelIndex)

bool QFileSystemModel.hasChildren (self, QModelIndex parent = QModelIndex())

QVariant QFileSystemModel.headerData (self, int, Qt.Orientation, int role = Qt.DisplayRole)

QFileIconProvider QFileSystemModel.iconProvider (self)

QModelIndex QFileSystemModel.index (self, int, int, QModelIndex parent = QModelIndex())

QModelIndex QFileSystemModel.index (self, QString, int column = 0)

bool QFileSystemModel.isDir (self, QModelIndex)

bool QFileSystemModel.isReadOnly (self)

QDateTime QFileSystemModel.lastModified (self, QModelIndex)

QMimeData QFileSystemModel.mimeData (self, list-of-QModelIndex)

QStringList QFileSystemModel.mimeTypes (self)

QModelIndex QFileSystemModel.mkdir (self, QModelIndex, QString)

QVariant QFileSystemModel.myComputer (self, int role = Qt.DisplayRole)

bool QFileSystemModel.nameFilterDisables (self)

QStringList QFileSystemModel.nameFilters (self)

QModelIndex QFileSystemModel.parent (self, QModelIndex)

QFile.Permissions QFileSystemModel.permissions (self, QModelIndex)

bool QFileSystemModel.remove (self, QModelIndex)

bool QFileSystemModel.resolveSymlinks (self)

bool QFileSystemModel.rmdir (self, QModelIndex)

QDir QFileSystemModel.rootDirectory (self)

QString QFileSystemModel.rootPath (self)

int QFileSystemModel.rowCount (self, QModelIndex parent = QModelIndex())

bool QFileSystemModel.setData (self, QModelIndex, QVariant, int role = Qt.EditRole)

QFileSystemModel.setFilter (self, QDir.Filters)

QFileSystemModel.setIconProvider (self, QFileIconProvider)

QFileSystemModel.setNameFilterDisables (self, bool)

QFileSystemModel.setNameFilters (self, QStringList)

QFileSystemModel.setReadOnly (self, bool)

QFileSystemModel.setResolveSymlinks (self, bool)

QModelIndex QFileSystemModel.setRootPath (self, QString)

int QFileSystemModel.size (self, QModelIndex)

QFileSystemModel.sort (self, int, Qt.SortOrder order = Qt.AscendingOrder)

Qt.DropActions QFileSystemModel.supportedDropActions (self)

QFileSystemModel.timerEvent (self, QTimerEvent)

QString QFileSystemModel.type (self, QModelIndex)


Qt Signal Documentation

void directoryLoaded (const QString&)

This is the default overload of this signal.

void fileRenamed (const QString&,const QString&,const QString&)

This is the default overload of this signal.

void rootPathChanged (const QString&)

This is the default overload of this signal.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0