--- infoscreen/clockoverlay.cpp 2010/06/24 08:59:43 883 +++ infoscreen/clockoverlay.cpp 2010/06/24 12:50:01 890 @@ -4,6 +4,17 @@ ClockOverlay::ClockOverlay(QWidget* parent) : QLCDNumber(parent) { + QPalette palette; + palette.setColor(QPalette::Window, Qt::white ); + + palette.setColor(QPalette::WindowText, Qt::darkBlue ); + palette.setColor(QPalette::Light, Qt::darkBlue ); //Light and dark are used for shadows when SegmentStyle is filled or Outline + palette.setColor(QPalette::Dark, Qt::darkBlue ); //they are also used in the border + + + this->setSegmentStyle( Flat ); + this->setAutoFillBackground ( true ); + this->setPalette(palette); } @@ -14,5 +25,7 @@ this->display( QTime::currentTime().toString(format) ); + this->raise(); } +