The PySide.QtGui.QFileIconProvider class provides file icons for the PySide.QtGui.QDirModel and the PySide.QtGui.QFileSystemModel classes.
Constructs a file icon provider.
Constant | Description |
---|---|
QFileIconProvider.Computer | |
QFileIconProvider.Desktop | |
QFileIconProvider.Trashcan | |
QFileIconProvider.Network | |
QFileIconProvider.Drive | |
QFileIconProvider.Folder | |
QFileIconProvider.File |
Parameters: | info – PySide.QtCore.QFileInfo |
---|---|
Return type: | PySide.QtGui.QIcon |
Returns an icon for the file described by info .
Parameters: | type – PySide.QtGui.QFileIconProvider.IconType |
---|---|
Return type: | PySide.QtGui.QIcon |
Returns an icon set for the given type .
Parameters: | info – PySide.QtCore.QFileInfo |
---|---|
Return type: | unicode |
Returns the type of the file described by info .