KMimeTypeChooser Class Reference
from PyKDE4.kio import *
Inherits: KVBox → KHBox → QFrame → QWidget → QObject
Detailed Description
This widget provides a checkable list of all available mimetypes,
and a list of selected ones, as well as a corresponding list of file
extensions, an optional text and an optional edit button (not working yet).
Mime types is presented in a list view, with name, comment and patterns columns.
- Author:
- Anders Lund (anders at alweb dk), jan 23, 2002
Method Documentation
__init__ |
( |
self, |
|
|
|
QString |
text=QString(), |
|
|
QStringList |
selectedMimeTypes=QStringList(), |
|
|
QString |
defaultGroup=QString(), |
|
|
QStringList |
groupsToShow=QStringList(), |
|
|
int |
visuals=Comments|Patterns|EditButton, |
|
|
QWidget |
parent=0 |
|
) |
|
|
|
- Returns:
- a list of all selected selected mimetypes represented by their name.
- Returns:
- a list of the fileame patterns associated with all selected mimetypes.
Enumeration Documentation