#include <kiconview.h>
Inherits TQIconViewItem.
|
| TDEIconViewItem (TQIconView *parent) |
|
| TDEIconViewItem (TQIconView *parent, TQIconViewItem *after) |
|
| TDEIconViewItem (TQIconView *parent, const TQString &text) |
|
| TDEIconViewItem (TQIconView *parent, TQIconViewItem *after, const TQString &text) |
|
| TDEIconViewItem (TQIconView *parent, const TQString &text, const TQPixmap &icon) |
|
| TDEIconViewItem (TQIconView *parent, TQIconViewItem *after, const TQString &text, const TQPixmap &icon) |
|
| TDEIconViewItem (TQIconView *parent, const TQString &text, const TQPicture &picture) |
|
| TDEIconViewItem (TQIconView *parent, TQIconViewItem *after, const TQString &text, const TQPicture &picture) |
|
void | setPixmapSize (const TQSize &size) |
|
TQSize | pixmapSize () const |
|
A variant of TQIconViewItem that wraps words better.
TDEIconViewItem exists to improve the word-wrap functionality of QIconViewItem Use TDEIconViewItem instead of TQIconViewItem for any iconview item you might have :)
- Author
- David Faure david.nosp@m.@man.nosp@m.drake.nosp@m.soft.nosp@m..com
Definition at line 226 of file kiconview.h.
◆ TDEIconViewItem() [1/8]
TDEIconViewItem::TDEIconViewItem |
( |
TQIconView * |
parent | ) |
|
|
inline |
◆ TDEIconViewItem() [2/8]
TDEIconViewItem::TDEIconViewItem |
( |
TQIconView * |
parent, |
|
|
TQIconViewItem * |
after |
|
) |
| |
|
inline |
◆ TDEIconViewItem() [3/8]
TDEIconViewItem::TDEIconViewItem |
( |
TQIconView * |
parent, |
|
|
const TQString & |
text |
|
) |
| |
|
inline |
◆ TDEIconViewItem() [4/8]
TDEIconViewItem::TDEIconViewItem |
( |
TQIconView * |
parent, |
|
|
TQIconViewItem * |
after, |
|
|
const TQString & |
text |
|
) |
| |
|
inline |
◆ TDEIconViewItem() [5/8]
TDEIconViewItem::TDEIconViewItem |
( |
TQIconView * |
parent, |
|
|
const TQString & |
text, |
|
|
const TQPixmap & |
icon |
|
) |
| |
|
inline |
◆ TDEIconViewItem() [6/8]
TDEIconViewItem::TDEIconViewItem |
( |
TQIconView * |
parent, |
|
|
TQIconViewItem * |
after, |
|
|
const TQString & |
text, |
|
|
const TQPixmap & |
icon |
|
) |
| |
|
inline |
◆ TDEIconViewItem() [7/8]
TDEIconViewItem::TDEIconViewItem |
( |
TQIconView * |
parent, |
|
|
const TQString & |
text, |
|
|
const TQPicture & |
picture |
|
) |
| |
|
inline |
◆ TDEIconViewItem() [8/8]
TDEIconViewItem::TDEIconViewItem |
( |
TQIconView * |
parent, |
|
|
TQIconViewItem * |
after, |
|
|
const TQString & |
text, |
|
|
const TQPicture & |
picture |
|
) |
| |
|
inline |
◆ ~TDEIconViewItem()
TDEIconViewItem::~TDEIconViewItem |
( |
| ) |
|
|
virtual |
◆ calcRect()
void TDEIconViewItem::calcRect |
( |
const TQString & |
text_ = TQString::null | ) |
|
|
protectedvirtual |
◆ init()
void TDEIconViewItem::init |
( |
| ) |
|
|
protected |
◆ paintItem()
void TDEIconViewItem::paintItem |
( |
TQPainter * |
p, |
|
|
const TQColorGroup & |
c |
|
) |
| |
|
protectedvirtual |
◆ paintPixmap()
void TDEIconViewItem::paintPixmap |
( |
TQPainter * |
p, |
|
|
const TQColorGroup & |
c |
|
) |
| |
|
protected |
◆ paintText()
void TDEIconViewItem::paintText |
( |
TQPainter * |
p, |
|
|
const TQColorGroup & |
c |
|
) |
| |
|
protected |
◆ pixmapSize()
TQSize TDEIconViewItem::pixmapSize |
( |
| ) |
const |
◆ setPixmapSize()
void TDEIconViewItem::setPixmapSize |
( |
const TQSize & |
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).
- Since
- 3.3
- Parameters
-
Definition at line 775 of file kiconview.cpp.
◆ wordWrap()
The documentation for this class was generated from the following files: