4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef QT_QCOLORITEM_H
13 #define QT_QCOLORITEM_H
18 class QColorItem : public Q3ListBoxItem {
21 QColorItem(QColor c, QString const & text);
27 void color(QColor c) {
31 virtual int height(const Q3ListBox *) const {
35 virtual int width(const Q3ListBox *) const {
40 virtual void paint(QPainter * p);