[vlc-commits] commit: Qt: speed and time button actionable visual feedback ( Francois Cartegnie )
git at videolan.org
git at videolan.org
Sun Mar 28 23:14:05 CEST 2010
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Mar 10 22:48:58 2010 +0100| [d46963cc7f1dc355c8c08fb2ae318f8fad6d3a02] | committer: Jean-Baptiste Kempf
Qt: speed and time button actionable visual feedback
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d46963cc7f1dc355c8c08fb2ae318f8fad6d3a02
---
modules/gui/qt4/main_interface.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 85b829c..99e1409 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 );
More information about the vlc-commits
mailing list