#include <tdelistview.h>
Inherits TQListViewItem.
Inherited by KKeyChooserItem.
Public Member Functions | |
TDEListViewItem (TQListView *parent) | |
TDEListViewItem (TQListViewItem *parent) | |
TDEListViewItem (TQListView *parent, TQListViewItem *after) | |
TDEListViewItem (TQListViewItem *parent, TQListViewItem *after) | |
TDEListViewItem (TQListView *parent, TQString, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null) | |
TDEListViewItem (TQListViewItem *parent, TQString, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null) | |
TDEListViewItem (TQListView *parent, TQListViewItem *after, TQString, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null) | |
TDEListViewItem (TQListViewItem *parent, TQListViewItem *after, TQString, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null, TQString=TQString::null) | |
virtual void | insertItem (TQListViewItem *item) |
virtual void | takeItem (TQListViewItem *item) |
bool | isAlternate () |
const TQColor & | backgroundColor () TDE_DEPRECATED |
TQColor | backgroundColor (int column) |
virtual void | paintCell (TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment) |
Friends | |
class | TDEListView |
Detailed Description
A listview item with support for alternate background colors.
It is a drop-in replacement for QListViewItem
listview item with alternate background color support
Definition at line 1118 of file tdelistview.h.
Constructor & Destructor Documentation
◆ TDEListViewItem() [1/8]
TDEListViewItem::TDEListViewItem | ( | TQListView * | parent | ) |
constructors.
The semantics remain as in TQListViewItem. Although they accept a TQListViewItem as parent, please don't mix TDEListViewItem (or subclasses) with QListViewItem (or subclasses).
Definition at line 2358 of file tdelistview.cpp.
◆ TDEListViewItem() [2/8]
TDEListViewItem::TDEListViewItem | ( | TQListViewItem * | parent | ) |
Definition at line 2364 of file tdelistview.cpp.
◆ TDEListViewItem() [3/8]
TDEListViewItem::TDEListViewItem | ( | TQListView * | parent, |
TQListViewItem * | after | ||
) |
Definition at line 2370 of file tdelistview.cpp.
◆ TDEListViewItem() [4/8]
TDEListViewItem::TDEListViewItem | ( | TQListViewItem * | parent, |
TQListViewItem * | after | ||
) |
Definition at line 2376 of file tdelistview.cpp.
◆ TDEListViewItem() [5/8]
TDEListViewItem::TDEListViewItem | ( | TQListView * | parent, |
TQString | label1, | ||
TQString | label2 = TQString::null , |
||
TQString | label3 = TQString::null , |
||
TQString | label4 = TQString::null , |
||
TQString | label5 = TQString::null , |
||
TQString | label6 = TQString::null , |
||
TQString | label7 = TQString::null , |
||
TQString | label8 = TQString::null |
||
) |
Definition at line 2382 of file tdelistview.cpp.
◆ TDEListViewItem() [6/8]
TDEListViewItem::TDEListViewItem | ( | TQListViewItem * | parent, |
TQString | label1, | ||
TQString | label2 = TQString::null , |
||
TQString | label3 = TQString::null , |
||
TQString | label4 = TQString::null , |
||
TQString | label5 = TQString::null , |
||
TQString | label6 = TQString::null , |
||
TQString | label7 = TQString::null , |
||
TQString | label8 = TQString::null |
||
) |
Definition at line 2390 of file tdelistview.cpp.
◆ TDEListViewItem() [7/8]
TDEListViewItem::TDEListViewItem | ( | TQListView * | parent, |
TQListViewItem * | after, | ||
TQString | label1, | ||
TQString | label2 = TQString::null , |
||
TQString | label3 = TQString::null , |
||
TQString | label4 = TQString::null , |
||
TQString | label5 = TQString::null , |
||
TQString | label6 = TQString::null , |
||
TQString | label7 = TQString::null , |
||
TQString | label8 = TQString::null |
||
) |
Definition at line 2398 of file tdelistview.cpp.
◆ TDEListViewItem() [8/8]
TDEListViewItem::TDEListViewItem | ( | TQListViewItem * | parent, |
TQListViewItem * | after, | ||
TQString | label1, | ||
TQString | label2 = TQString::null , |
||
TQString | label3 = TQString::null , |
||
TQString | label4 = TQString::null , |
||
TQString | label5 = TQString::null , |
||
TQString | label6 = TQString::null , |
||
TQString | label7 = TQString::null , |
||
TQString | label8 = TQString::null |
||
) |
Definition at line 2406 of file tdelistview.cpp.
◆ ~TDEListViewItem()
|
virtual |
Definition at line 2414 of file tdelistview.cpp.
Member Function Documentation
◆ backgroundColor() [1/2]
const TQColor & TDEListViewItem::backgroundColor | ( | ) |
returns the background color for this item
Definition at line 2442 of file tdelistview.cpp.
◆ backgroundColor() [2/2]
TQColor TDEListViewItem::backgroundColor | ( | int | column | ) |
returns the background color for this item at given column This can be different in the column which is sorted due to shading
could be merged with above (column = -1) to be source compatible
but will only work if sort-shading is not used or the listView has
only 1 column
- Since
- 3.4
Definition at line 2449 of file tdelistview.cpp.
◆ insertItem()
|
virtual |
Definition at line 2428 of file tdelistview.cpp.
◆ isAlternate()
bool TDEListViewItem::isAlternate | ( | ) |
returns true if this item is to be drawn with the alternate background
Definition at line 2475 of file tdelistview.cpp.
◆ paintCell()
|
virtual |
Definition at line 2550 of file tdelistview.cpp.
◆ takeItem()
|
virtual |
Definition at line 2435 of file tdelistview.cpp.
Friends And Related Function Documentation
◆ TDEListView
|
friend |
Definition at line 1120 of file tdelistview.h.
The documentation for this class was generated from the following files: