|
| K3IconViewItem (Q3IconView *parent) |
|
| K3IconViewItem (Q3IconView *parent, Q3IconViewItem *after) |
|
| K3IconViewItem (Q3IconView *parent, const QString &text) |
|
| K3IconViewItem (Q3IconView *parent, Q3IconViewItem *after, const QString &text) |
|
| K3IconViewItem (Q3IconView *parent, const QString &text, const QPixmap &icon) |
|
| K3IconViewItem (Q3IconView *parent, Q3IconViewItem *after, const QString &text, const QPixmap &icon) |
|
| K3IconViewItem (Q3IconView *parent, const QString &text, const QPicture &picture) |
|
| K3IconViewItem (Q3IconView *parent, Q3IconViewItem *after, const QString &text, const QPicture &picture) |
|
virtual | ~K3IconViewItem () |
|
QSize | pixmapSize () const |
|
void | setPixmapSize (const QSize &size) |
|
| Q3IconViewItem (Q3IconView *parent) |
|
| Q3IconViewItem (Q3IconView *parent, Q3IconViewItem *after) |
|
| Q3IconViewItem (Q3IconView *parent, Q3IconViewItem *after, const QString &text) |
|
| Q3IconViewItem (Q3IconView *parent, Q3IconViewItem *after, const QString &text, const QPicture &picture) |
|
| Q3IconViewItem (Q3IconView *parent, const QString &text, const QPixmap &icon) |
|
| Q3IconViewItem (Q3IconView *parent, const QString &text) |
|
| Q3IconViewItem (Q3IconView *parent, Q3IconViewItem *after, const QString &text, const QPixmap &icon) |
|
| Q3IconViewItem (Q3IconView *parent, const QString &text, const QPicture &picture) |
|
virtual | ~Q3IconViewItem () |
|
virtual bool | acceptDrop (const QMimeSource *mime) const |
|
virtual int | compare (Q3IconViewItem *i) const |
|
bool | contains (const QPoint &pnt) const |
|
bool | dragEnabled () const |
|
bool | dropEnabled () const |
|
int | height () const |
|
Q3IconView * | iconView () const |
|
int | index () const |
|
bool | intersects (const QRect &r) const |
|
bool | isSelectable () const |
|
bool | isSelected () const |
|
virtual QString | key () const |
|
virtual bool | move (const QPoint &pnt) |
|
virtual bool | move (int x, int y) |
|
virtual void | moveBy (const QPoint &pnt) |
|
virtual void | moveBy (int dx, int dy) |
|
Q3IconViewItem * | nextItem () const |
|
virtual QPicture * | picture () const |
|
virtual QPixmap * | pixmap () const |
|
QRect | pixmapRect (bool relative) const |
|
QPoint | pos () const |
|
Q3IconViewItem * | prevItem () const |
|
QRect | rect () const |
|
void | rename () |
|
bool | renameEnabled () const |
|
virtual void | repaint () |
|
virtual int | rtti () const |
|
virtual void | setDragEnabled (bool allow) |
|
virtual void | setDropEnabled (bool allow) |
|
virtual void | setKey (const QString &k) |
|
virtual void | setPicture (const QPicture &icon) |
|
virtual void | setPixmap (const QPixmap &icon) |
|
virtual void | setPixmap (const QPixmap &icon, bool recalc, bool redraw) |
|
virtual void | setRenameEnabled (bool allow) |
|
virtual void | setSelectable (bool enable) |
|
virtual void | setSelected (bool s) |
|
virtual void | setSelected (bool s, bool cb) |
|
virtual void | setText (const QString &text, bool recalc, bool redraw) |
|
virtual void | setText (const QString &text) |
|
QSize | size () const |
|
virtual QString | text () const |
|
QRect | textRect (bool relative) const |
|
int | width () const |
|
int | x () const |
|
int | y () const |
|
A variant of QIconViewItem that wraps words better.
K3IconViewItem exists to improve the word-wrap functionality of QIconViewItem Use K3IconViewItem instead of QIconViewItem for any iconview item you might have :)
- Author
- David Faure faure.nosp@m.@kde.nosp@m..org
Definition at line 221 of file k3iconview.h.
void K3IconViewItem::setPixmapSize |
( |
const QSize & |
size | ) |
|
Using this function, you can specify a custom size for the pixmap.
The geometry of the item will be calculated to let a pixmap of the given size fit in the iconView without needing an update. This may be useful if you want to change the pixmap later without breaking the layout. A possible use of this function is to replace a fileItem icon by a larger pixmap (preview).
- Parameters
-
Definition at line 731 of file k3iconview.cpp.