KFileMetaDataWidget Class Reference
from PyKDE4.kio import *
Inherits: QWidget → QObject
Detailed Description
Shows the meta data of one or more file items.
Meta data like name, size, rating, comment, ... are
shown as several rows containing a description and
the meta data value. It is possible for the user
to change specific meta data like rating, tags and
comment. The changes are stored automatically by the
meta data widget.
- Since:
- 4.5
Signal Documentation
urlActivated |
( |
KUrl |
url |
|
) |
|
|
|
Is emitted, if a meta data represents an URL that has
been clicked by the user.
- Signal syntax:
QObject.connect(source, SIGNAL("urlActivated(const KUrl&)"), target_slot)
Method Documentation
__init__ |
( |
self, |
|
|
|
QWidget |
parent=0 |
|
) |
|
|
|
bool event |
( |
self, |
|
|
|
QEvent |
event |
|
) |
|
|
|
Sets the items for which the meta data should be shown.
setReadOnly |
( |
self, |
|
|
|
bool |
readOnly |
|
) |
|
|
|
If set to true, data such as the comment, tag or rating cannot be
changed by the user. Per default read-only is disabled.
- See also:
- QWidget.sizeHint()