.TH "KIconViewItem" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdeui Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KIconViewItem \- A variant of \fBQIconViewItem\fP that wraps words better.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kiconview.h>\fP
.PP
Inherits \fBQIconViewItem\fP.
.PP
Inherited by \fBKFileIconViewItem\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKIconViewItem\fP (\fBQIconView\fP *parent)"
.br
.ti -1c
.RI "\fBKIconViewItem\fP (\fBQIconView\fP *parent, \fBQIconViewItem\fP *after)"
.br
.ti -1c
.RI "\fBKIconViewItem\fP (\fBQIconView\fP *parent, const \fBQString\fP &\fBtext\fP)"
.br
.ti -1c
.RI "\fBKIconViewItem\fP (\fBQIconView\fP *parent, \fBQIconViewItem\fP *after, const \fBQString\fP &\fBtext\fP)"
.br
.ti -1c
.RI "\fBKIconViewItem\fP (\fBQIconView\fP *parent, const \fBQString\fP &\fBtext\fP, const \fBQPixmap\fP &icon)"
.br
.ti -1c
.RI "\fBKIconViewItem\fP (\fBQIconView\fP *parent, \fBQIconViewItem\fP *after, const \fBQString\fP &\fBtext\fP, const \fBQPixmap\fP &icon)"
.br
.ti -1c
.RI "\fBKIconViewItem\fP (\fBQIconView\fP *parent, const \fBQString\fP &\fBtext\fP, const \fBQPicture\fP &\fBpicture\fP)"
.br
.ti -1c
.RI "\fBKIconViewItem\fP (\fBQIconView\fP *parent, \fBQIconViewItem\fP *after, const \fBQString\fP &\fBtext\fP, const \fBQPicture\fP &\fBpicture\fP)"
.br
.ti -1c
.RI "void \fBsetPixmapSize\fP (const \fBQSize\fP &\fBsize\fP)"
.br
.ti -1c
.RI "\fBQSize\fP \fBpixmapSize\fP () const "
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "void \fBinit\fP ()"
.br
.ti -1c
.RI "virtual void \fBcalcRect\fP (const \fBQString\fP &text_=QString::null)"
.br
.ti -1c
.RI "virtual void \fBpaintItem\fP (\fBQPainter\fP *p, const \fBQColorGroup\fP &c)"
.br
.ti -1c
.RI "\fBKWordWrap\fP * \fBwordWrap\fP ()"
.br
.ti -1c
.RI "void \fBpaintPixmap\fP (\fBQPainter\fP *p, const \fBQColorGroup\fP &c)"
.br
.ti -1c
.RI "void \fBpaintText\fP (\fBQPainter\fP *p, const \fBQColorGroup\fP &c)"
.br
.in -1c
.SH "Detailed Description"
.PP 
A variant of \fBQIconViewItem\fP that wraps words better. 

KIconViewItem exists to improve the word-wrap functionality of \fBQIconViewItem\fP Use KIconViewItem instead of \fBQIconViewItem\fP for any iconview item you might have :)
.PP
\fBAuthor:\fP
.RS 4
David Faure <david@mandrakesoft.com> 
.RE
.PP

.PP
Definition at line 224 of file kiconview.h.
.SH "Member Function Documentation"
.PP 
.SS "void KIconViewItem::setPixmapSize (const \fBQSize\fP & size)"
.PP
Using this function, you can specify a custom size for the pixmap. 
.PP
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). 
.PP
\fBSince:\fP
.RS 4
3.3
.RE
.PP
\fBParameters:\fP
.RS 4
\fIsize\fP The size to use 
.RE
.PP

.PP
Definition at line 720 of file kiconview.cpp.
.SS "\fBQSize\fP KIconViewItem::pixmapSize () const"
.PP
\fBReturns:\fP
.RS 4
The size set by \fBsetPixmapSize()\fP or QSize( 0, 0 ) 
.RE
.PP
\fBSince:\fP
.RS 4
3.3 
.RE
.PP

.PP
Definition at line 715 of file kiconview.cpp.

.SH "Author"
.PP 
Generated automatically by Doxygen for kdeui Library from the source code.
