if ( option.sliderPosition > minimum() && option.sliderPosition <= maximum() ) {
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 );
}
<file alias="go-next">pixmaps/go-next.png</file>
<file alias="new.png">pixmaps/profile_new.png</file>
<file alias="lock">pixmaps/lock.png</file>
+ <file alias="progress">pixmaps/progress.png</file>
</qresource>
<qresource prefix="/prefsmenu">
<file alias="cone_audio_64">pixmaps/prefs/spref_cone_Audio_64.png</file>