KDE3Support
K3ListViewItem Class Reference
A listview item with support for alternate background colors. More...
#include <k3listview.h>

Detailed Description
A listview item with support for alternate background colors.It is a drop-in replacement for Q3ListViewItem
listview item with alternate background color support
Definition at line 986 of file k3listview.h.
Constructor & Destructor Documentation
K3ListViewItem::K3ListViewItem | ( | Q3ListView * | parent | ) |
constructors.
The semantics remain as in Q3ListViewItem. Although they accept a Q3ListViewItem as parent, please don't mix K3ListViewItem (or subclasses) with Q3ListViewItem (or subclasses).
Definition at line 2154 of file k3listview.cpp.
K3ListViewItem::K3ListViewItem | ( | Q3ListViewItem * | parent | ) |
Definition at line 2160 of file k3listview.cpp.
K3ListViewItem::K3ListViewItem | ( | Q3ListView * | parent, | |
Q3ListViewItem * | after | |||
) |
Definition at line 2166 of file k3listview.cpp.
K3ListViewItem::K3ListViewItem | ( | Q3ListViewItem * | parent, | |
Q3ListViewItem * | after | |||
) |
Definition at line 2172 of file k3listview.cpp.
K3ListViewItem::K3ListViewItem | ( | Q3ListView * | parent, | |
const QString & | label1, | |||
const QString & | label2 = QString() , |
|||
const QString & | label3 = QString() , |
|||
const QString & | label4 = QString() , |
|||
const QString & | label5 = QString() , |
|||
const QString & | label6 = QString() , |
|||
const QString & | labem7 = QString() , |
|||
const QString & | label7 = QString() | |||
) |
Definition at line 2178 of file k3listview.cpp.
K3ListViewItem::K3ListViewItem | ( | Q3ListViewItem * | parent, | |
const QString & | label1, | |||
const QString & | label2 = QString() , |
|||
const QString & | label3 = QString() , |
|||
const QString & | label4 = QString() , |
|||
const QString & | label5 = QString() , |
|||
const QString & | label6 = QString() , |
|||
const QString & | labem7 = QString() , |
|||
const QString & | label7 = QString() | |||
) |
Definition at line 2186 of file k3listview.cpp.
K3ListViewItem::K3ListViewItem | ( | Q3ListView * | parent, | |
Q3ListViewItem * | after, | |||
const QString & | label1, | |||
const QString & | label2 = QString() , |
|||
const QString & | label3 = QString() , |
|||
const QString & | label4 = QString() , |
|||
const QString & | label5 = QString() , |
|||
const QString & | label6 = QString() , |
|||
const QString & | labem7 = QString() , |
|||
const QString & | label7 = QString() | |||
) |
Definition at line 2194 of file k3listview.cpp.
K3ListViewItem::K3ListViewItem | ( | Q3ListViewItem * | parent, | |
Q3ListViewItem * | after, | |||
const QString & | label1, | |||
const QString & | label2 = QString() , |
|||
const QString & | label3 = QString() , |
|||
const QString & | label4 = QString() , |
|||
const QString & | label5 = QString() , |
|||
const QString & | label6 = QString() , |
|||
const QString & | labem7 = QString() , |
|||
const QString & | label7 = QString() | |||
) |
Definition at line 2202 of file k3listview.cpp.
K3ListViewItem::~K3ListViewItem | ( | ) | [virtual] |
Definition at line 2210 of file k3listview.cpp.
Member Function Documentation
QColor K3ListViewItem::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
Definition at line 2245 of file k3listview.cpp.
const QColor & K3ListViewItem::backgroundColor | ( | ) |
void K3ListViewItem::insertItem | ( | Q3ListViewItem * | item | ) | [virtual] |
bool K3ListViewItem::isAlternate | ( | ) |
returns true if this item is to be drawn with the alternate background
Definition at line 2271 of file k3listview.cpp.
void K3ListViewItem::paintCell | ( | QPainter * | p, | |
const QColorGroup & | cg, | |||
int | column, | |||
int | width, | |||
int | alignment | |||
) | [virtual] |
void K3ListViewItem::takeItem | ( | Q3ListViewItem * | item | ) | [virtual] |
The documentation for this class was generated from the following files: