Commit 0cc5ec0b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: orange cone mode!

</joke>
parent 21c57220
...@@ -103,6 +103,7 @@ DEPS_res = \ ...@@ -103,6 +103,7 @@ DEPS_res = \
pixmaps/eject.png \ pixmaps/eject.png \
pixmaps/faster.png \ pixmaps/faster.png \
pixmaps/go-next.png \ pixmaps/go-next.png \
pixmaps/progress.png \
pixmaps/menus/help_16px.png \ pixmaps/menus/help_16px.png \
pixmaps/menus/info_16px.png \ pixmaps/menus/info_16px.png \
pixmaps/menus/messages_16px.png \ pixmaps/menus/messages_16px.png \
......
...@@ -241,7 +241,11 @@ void InputSlider::paintEvent( QPaintEvent *event ) ...@@ -241,7 +241,11 @@ void InputSlider::paintEvent( QPaintEvent *event )
if ( option.sliderPosition > minimum() && option.sliderPosition <= maximum() ) { if ( option.sliderPosition > minimum() && option.sliderPosition <= maximum() ) {
painter.setPen( Qt::black ); painter.setPen( Qt::black );
painter.setBrush( foregroundGradient ); // painter.setBrush( foregroundGradient );
QBrush brush;
brush.setTexture( QPixmap( ":/progress" ) );
painter.setBrush( brush );
painter.drawRoundedRect( barRect.adjusted( 1, 1, -1, -1 ), barCorner, barCorner ); painter.drawRoundedRect( barRect.adjusted( 1, 1, -1, -1 ), barCorner, barCorner );
} }
......
...@@ -95,6 +95,7 @@ ...@@ -95,6 +95,7 @@
<file alias="go-next">pixmaps/go-next.png</file> <file alias="go-next">pixmaps/go-next.png</file>
<file alias="new.png">pixmaps/profile_new.png</file> <file alias="new.png">pixmaps/profile_new.png</file>
<file alias="lock">pixmaps/lock.png</file> <file alias="lock">pixmaps/lock.png</file>
<file alias="progress">pixmaps/progress.png</file>
</qresource> </qresource>
<qresource prefix="/prefsmenu"> <qresource prefix="/prefsmenu">
<file alias="cone_audio_64">pixmaps/prefs/spref_cone_Audio_64.png</file> <file alias="cone_audio_64">pixmaps/prefs/spref_cone_Audio_64.png</file>
......
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