#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()
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.
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.
◆ 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.
The documentation for this class was generated from the following files: