Search highlighting on Calendar

.. hover color changes to differentiate.
This commit is contained in:
Mark Liversedge
2013-03-23 21:23:02 +00:00
parent c5afd227da
commit b8b21829ee

View File

@@ -164,7 +164,10 @@ GcLabel::paintEvent(QPaintEvent *)
// setup a painter and the area to paint
if (!underMouse()) painter.fillRect(all, bgColor);
else painter.fillRect(all, Qt::lightGray);
else {
if (filtered) painter.fillRect(all, QColor(255,200,200));
else painter.fillRect(all, Qt::lightGray);
}
painter.setPen(Qt::gray);
painter.drawRect(QRect(0,0,width(),height()));