3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS
14 class QColorItem : public QListBoxItem {
17 QColorItem(QColor c, QString const & text);
23 void color(QColor c) {
27 virtual int height(const QListBox *) const {
31 virtual int width(const QListBox *) const {
36 virtual void paint(QPainter * p);