Commit d46963cc authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Jean-Baptiste Kempf

Qt: speed and time button actionable visual feedback

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent b0ccb760
...@@ -453,6 +453,10 @@ inline void MainInterface::createStatusBar() ...@@ -453,6 +453,10 @@ inline void MainInterface::createStatusBar()
timeLabel->setFrameStyle( QFrame::Sunken | QFrame::Panel ); timeLabel->setFrameStyle( QFrame::Sunken | QFrame::Panel );
speedLabel->setFrameStyle( QFrame::Sunken | QFrame::Panel ); speedLabel->setFrameStyle( QFrame::Sunken | QFrame::Panel );
nameLabel->setFrameStyle( QFrame::Sunken | QFrame::StyledPanel); 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 */ /* and adding those */
statusBarr->addWidget( nameLabel, 8 ); statusBarr->addWidget( nameLabel, 8 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment