[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/multimedia/amarok/src
From: Mark Kretschmann <kretschmann () kde ! org>
Date: 2008-03-29 7:59:37
Message-ID: 1206777577.289407.17616.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 791356 by markey:
Some cleanup.
M +3 -4 osd.cpp
--- trunk/extragear/multimedia/amarok/src/osd.cpp #791355:791356
@@ -64,7 +64,7 @@
setObjectName( name );
setFocusPolicy( Qt::NoFocus );
if( AmarokConfig::osdUseTransparency() )
- setWindowOpacity( 0.5 );
+ setWindowOpacity( 0.6 );
unsetColors();
m_timer->setSingleShot( true );
@@ -306,12 +306,11 @@
QPainter p( this );
p.setRenderHints( QPainter::Antialiasing | QPainter::TextAntialiasing | \
QPainter::SmoothPixmapTransform | QPainter::HighQualityAntialiasing );
-// p.fillRect( rect, palette().color( QPalette::Inactive, QPalette::Dark \
)/*.dark( 125 )*/ ); + p.fillRect( rect, QColor( 255, 255, 255, 0 ) ); //fill with \
transparent color
p.setBrush( palette().color( QPalette::Inactive, QPalette::Dark ) );
p.setPen( palette().color( QPalette::Normal, QPalette::Dark ).dark( 150 ) );
- rect.setWidth( rect.width() );
- p.drawRoundedRect( rect, 10.0, 10.0, Qt::RelativeSize );
+ p.drawRoundedRect( rect, 20.0, 15.0 );
rect.adjust( M, M, -M, -M );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic