Home · All Classes · Modules

QDirModel Class Reference
[QtGui module]

Inherits QAbstractItemModel.

Types

Methods


Detailed Description


Type Documentation

QDirModel.Roles


Method Documentation

QDirModel.__init__ (self, QStringList, QDir.Filters, QDir.SortFlags, QObject parent = None)

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

QDirModel.__init__ (self, QObject parent = None)

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

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

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

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

QIcon QDirModel.fileIcon (self, QModelIndex)

QFileInfo QDirModel.fileInfo (self, QModelIndex)

QString QDirModel.fileName (self, QModelIndex)

QString QDirModel.filePath (self, QModelIndex)

QDir.Filters QDirModel.filter (self)

Qt.ItemFlags QDirModel.flags (self, QModelIndex)

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

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

QFileIconProvider QDirModel.iconProvider (self)

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

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

bool QDirModel.isDir (self, QModelIndex)

bool QDirModel.isReadOnly (self)

bool QDirModel.lazyChildCount (self)

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

The QMimeData result

QStringList QDirModel.mimeTypes (self)

QModelIndex QDirModel.mkdir (self, QModelIndex, QString)

QStringList QDirModel.nameFilters (self)

QModelIndex QDirModel.parent (self, QModelIndex)

QObject QDirModel.parent (self)

QDirModel.refresh (self, QModelIndex parent = QModelIndex())

bool QDirModel.remove (self, QModelIndex)

bool QDirModel.resolveSymlinks (self)

bool QDirModel.rmdir (self, QModelIndex)

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

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

QDirModel.setFilter (self, QDir.Filters)

QDirModel.setIconProvider (self, QFileIconProvider)

QDirModel.setLazyChildCount (self, bool)

QDirModel.setNameFilters (self, QStringList)

QDirModel.setReadOnly (self, bool)

QDirModel.setResolveSymlinks (self, bool)

QDirModel.setSorting (self, QDir.SortFlags)

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

QDir.SortFlags QDirModel.sorting (self)

Qt.DropActions QDirModel.supportedDropActions (self)


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