#include <fancylistviewitem.h>
|
| | FancyListViewItem (TextPaintStyleStore &styles, TQListView *parent, const TQString &label1, const TQString &label2="") |
| | FancyListViewItem (TextPaintStyleStore &styles, TQListViewItem *parent, const TQString &label1, const TQString &label2="") |
| virtual void | paintCell (TQPainter *painter, const TQColorGroup &cg, int column, int width, int align) |
| virtual int | width (const TQFontMetrics &fm, const TQListView *lv, int column) |
| virtual void | setText (int column, const TQString &text) |
| virtual TQString | text (int column) const |
| void | clear () |
| TextPaintItem & | item (int column=0) |
| void | setItem (int column, TextPaintItem item) |
does not support multiple column, a "column" represents a part of the real first column TDEListViewItem is only needed for the background-color
Definition at line 124 of file fancylistviewitem.h.
◆ FancyListViewItem() [1/2]
| FancyListViewItem::FancyListViewItem |
( |
TextPaintStyleStore & | styles, |
|
|
TQListView * | parent, |
|
|
const TQString & | label1, |
|
|
const TQString & | label2 = "" ) |
|
inline |
◆ FancyListViewItem() [2/2]
| FancyListViewItem::FancyListViewItem |
( |
TextPaintStyleStore & | styles, |
|
|
TQListViewItem * | parent, |
|
|
const TQString & | label1, |
|
|
const TQString & | label2 = "" ) |
|
inline |
◆ clear()
| void FancyListViewItem::clear |
( |
| ) |
|
|
inline |
◆ item()
| TextPaintItem & FancyListViewItem::item |
( |
int | column = 0 | ) |
|
|
inline |
◆ paintCell()
| void FancyListViewItem::paintCell |
( |
TQPainter * | painter, |
|
|
const TQColorGroup & | cg, |
|
|
int | column, |
|
|
int | width, |
|
|
int | align ) |
|
virtual |
this is a modified version of the original TQListViewItem::paintCell from the qt source multiline is not supported!
currently only the first background-color is used
use the nice kde background-color
Definition at line 67 of file fancylistviewitem.cpp.
◆ setItem()
| void FancyListViewItem::setItem |
( |
int | column, |
|
|
TextPaintItem | item ) |
◆ setText()
| void FancyListViewItem::setText |
( |
int | column, |
|
|
const TQString & | text ) |
|
virtual |
◆ text()
| TQString FancyListViewItem::text |
( |
int | column | ) |
const |
|
virtual |
◆ width()
| int FancyListViewItem::width |
( |
const TQFontMetrics & | fm, |
|
|
const TQListView * | lv, |
|
|
int | column ) |
|
virtual |
◆ m_styles
| TextPaintStyleStore& FancyListViewItem::m_styles |
|
protected |
The documentation for this class was generated from the following files: