Home · All Classes · Modules

QFileIconProvider Class Reference
[QtGui module]

The QFileIconProvider class provides file icons for the QDirModel(obsolete) and the QFileSystemModel classes. More...

Types

Methods


Detailed Description

The QFileIconProvider class provides file icons for the QDirModel(obsolete) and the QFileSystemModel classes.


Type Documentation

QFileIconProvider.IconType

Constant Value
QFileIconProvider.Computer 0
QFileIconProvider.Desktop 1
QFileIconProvider.Trashcan 2
QFileIconProvider.Network 3
QFileIconProvider.Drive 4
QFileIconProvider.Folder 5
QFileIconProvider.File 6

Method Documentation

QFileIconProvider.__init__ (self)

Constructs a file icon provider.

QIcon QFileIconProvider.icon (self, IconType type)

Returns an icon set for the given type.

QIcon QFileIconProvider.icon (self, QFileInfo info)

Returns an icon for the file described by info.

QString QFileIconProvider.type (self, QFileInfo info)

Returns the type of the file described by info.


PyQt 4.10.1 for MacOSCopyright © Riverbank Computing Ltd and Nokia 2012Qt 4.8.4