2
* Copyright (C) 2000 Rik Hemsley (rikkus) <rik@kde.org>. All rights reserved.
8
#include "CharlatanItem.h"
12
CharlatanItem::paintCell(
14
const QColorGroup & g,
21
return QListViewItem::paintCell(p, g, c, w, a);
23
p->fillRect(0, 0, 16, height(), Qt::white);
26
int top = height() / 2 - 8;
27
qDrawShadeRect(p, 0, top, 16, 16, g, sunken_ == c, 1, 1, &b);
29
int ofs = sunken_ == c ? 3 : 2;
34
p->drawPixmap(ofs, top + ofs, Static::instance()->pixmap("plus"));
38
p->drawPixmap(ofs, top + ofs, Static::instance()->pixmap("minus"));