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.
15 class QColorItem : public QListBoxItem {
18 QColorItem(QColor c, QString const & text);
24 void color(QColor c) {
28 virtual int height(const QListBox *) const {
32 virtual int width(const QListBox *) const {
37 virtual void paint(QPainter * p);