ColorListViewItem Class Reference
A customized QListViewItem with additional features. More...
#include <poplistview.h>
Inherits QListViewItem.
Inherited by AnalysisListViewItem, DataInfoListViewItem, SigListViewItem, SpikeListViewItem, UserInfoListViewItem, and WUListViewItem.
Inheritance diagram for ColorListViewItem:


Public Methods | |
| ColorListViewItem (QListView *parent, const QColor &color=QColor(), bool separator=false) | |
| ColorListViewItem (QListView *parent, QListViewItem *after, const QColor &color=QColor(), bool separator=false) | |
| ColorListViewItem (QListViewItem *parent, const QColor &color=QColor(), bool separator=false) | |
| ColorListViewItem (QListViewItem *parent, QListViewItem *after, const QColor &color=QColor(), bool separator=false) | |
| ~ColorListViewItem () | |
Protected Methods | |
| void | init (QListView *parent, const QColor &color) |
| virtual void | paintCell (QPainter *p, const QColorGroup &cg, int column, int width, int align) |
Detailed Description
A customized QListViewItem with additional features.Adds grid lines and colored text.
- Warning:
- Only to be used with the popListView class.
Definition at line 29 of file poplistview.h.
Constructor & Destructor Documentation
|
||||||||||||||||
|
The constructor.
Definition at line 24 of file poplistview.cpp. References init(). |
|
||||||||||||||||||||
|
The constructor. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 32 of file poplistview.cpp. References init(). |
|
||||||||||||||||
|
The constructor. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 40 of file poplistview.cpp. References init(), and QListViewItem::listView(). |
|
||||||||||||||||||||
|
The constructor. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 48 of file poplistview.cpp. References init(), and QListViewItem::listView(). |
|
|
The destructor.
Definition at line 56 of file poplistview.cpp. |
Member Function Documentation
|
||||||||||||
|
Initializes the list view item.
Definition at line 61 of file poplistview.cpp. References QWidget::colorGroup(), and QColor::isValid(). Referenced by ColorListViewItem(). |
|
||||||||||||||||||||||||
|
Reimplemented to allow customized painting of one column of an item.
Reimplemented from QListViewItem. Definition at line 71 of file poplistview.cpp. References QListViewItem::height(), QPainter::lineTo(), QColorGroup::mid(), QPainter::moveTo(), QListViewItem::paintCell(), QColorGroup::setColor(), QPainter::setPen(), QPen::setWidth(), and QListViewItem::width(). |
The documentation for this class was generated from the following files:

