org.kde.koala
public class KIconViewItem extends QIconViewItem
UNKNOWN: A variant of QIconViewItem that wraps words better.
Constructor Summary | |
---|---|
protected | KIconViewItem(Class dummy) |
KIconViewItem(QIconView parent) | |
KIconViewItem(QIconView parent, QIconViewItem after) | |
KIconViewItem(QIconView parent, String text) | |
KIconViewItem(QIconView parent, QIconViewItem after, String text) | |
KIconViewItem(QIconView parent, String text, QPixmap icon) | |
KIconViewItem(QIconView parent, QIconViewItem after, String text, QPixmap icon) | |
KIconViewItem(QIconView parent, String text, QPicture picture) | |
KIconViewItem(QIconView parent, QIconViewItem after, String text, QPicture picture) |
Method Summary | |
---|---|
protected void | calcRect(String text_) |
protected void | calcRect() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
protected void | init() |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
protected void | paintItem(QPainter p, QColorGroup c) |
protected void | paintPixmap(QPainter p, QColorGroup c) |
protected void | paintText(QPainter p, QColorGroup c) |
QSize | pixmapSize() |
void | setPixmapSize(QSize size)
Using this function, you can specify a custom size for the pixmap. |
protected KWordWrap | wordWrap() |
Returns: The size set by setPixmapSize() or QSize( 0, 0 )
UNKNOWN:
Parameters: size The size to use
UNKNOWN: Using this function, you can specify a custom size for the pixmap.