120
120
const bool bDark = (pal.window().color().value() < 0x7f);
121
121
const QColor& rgbLite = (isEnabled()
122
122
? (bDark ? Qt::darkYellow : Qt::yellow) : pal.mid().color());
126
127
painter.setPen(bDark ? pal.mid().color() : pal.midlight().color());
127
128
painter.drawLine(w2, 0, w2, h);