mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Search highlighting on Calendar
.. hover color changes to differentiate.
This commit is contained in:
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user