KDE3Support
#include <k3iconview.h>
Public Member Functions | |
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) |
Protected Member Functions | |
virtual void | calcRect (const QString &text_=QString()) |
void | init () |
virtual void | paintItem (QPainter *p, const QColorGroup &c) |
void | paintPixmap (QPainter *p, const QColorGroup &c) |
void | paintText (QPainter *p, const QColorGroup &c) |
KWordWrap * | wordWrap () |
Detailed Description
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 :)
Definition at line 221 of file k3iconview.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 225 of file k3iconview.h.
|
inline |
Definition at line 227 of file k3iconview.h.
|
inline |
Definition at line 229 of file k3iconview.h.
|
inline |
Definition at line 231 of file k3iconview.h.
|
inline |
Definition at line 233 of file k3iconview.h.
|
inline |
Definition at line 235 of file k3iconview.h.
|
inline |
Definition at line 237 of file k3iconview.h.
|
inline |
Definition at line 239 of file k3iconview.h.
|
virtual |
Definition at line 470 of file k3iconview.cpp.
Member Function Documentation
Definition at line 476 of file k3iconview.cpp.
|
protected |
Definition at line 463 of file k3iconview.cpp.
|
protectedvirtual |
Definition at line 635 of file k3iconview.cpp.
|
protected |
Definition at line 662 of file k3iconview.cpp.
|
protected |
Definition at line 708 of file k3iconview.cpp.
QSize K3IconViewItem::pixmapSize | ( | ) | const |
- Returns
- The size set by setPixmapSize() or QSize( 0, 0 )
Definition at line 726 of file k3iconview.cpp.
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
-
size The size to use
Definition at line 731 of file k3iconview.cpp.
|
protected |
Definition at line 657 of file k3iconview.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.