From: Francois Cartegnie Date: Wed, 10 Mar 2010 21:48:58 +0000 (+0100) Subject: Qt: speed and time button actionable visual feedback X-Git-Tag: 1.1.0-pre1~267 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=d46963cc7f1dc355c8c08fb2ae318f8fad6d3a02;p=vlc Qt: speed and time button actionable visual feedback Signed-off-by: Jean-Baptiste Kempf --- diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp index 85b829c18a..99e1409e1f 100644 --- a/modules/gui/qt4/main_interface.cpp +++ b/modules/gui/qt4/main_interface.cpp @@ -453,6 +453,10 @@ inline void MainInterface::createStatusBar() timeLabel->setFrameStyle( QFrame::Sunken | QFrame::Panel ); speedLabel->setFrameStyle( QFrame::Sunken | QFrame::Panel ); nameLabel->setFrameStyle( QFrame::Sunken | QFrame::StyledPanel); + timeLabel->setStyleSheet( + "QLabel:hover { background-color: rgba(255, 255, 255, 50%) }" ); + speedLabel->setStyleSheet( + "QLabel:hover { background-color: rgba(255, 255, 255, 50%) }" ); /* and adding those */ statusBarr->addWidget( nameLabel, 8 );