Added a PixmapSlider class and changed Slider to inherit from it.

PixmapSlider is a subclass of QAbstractSlider.
It is independent of Skin.cpp. Slider is now only a wrapper to update the
QPixmaps on a skin change.
removed a workaround from equalizerwidget, that was necessary for the previous
implementation.
2-3 one line fixes I don't remember
This commit is contained in:
Thomas Frauendorfer 2008-03-13 05:30:00 +01:00
parent 88b8ab8683
commit 6e7e2c2184
10 changed files with 311 additions and 280 deletions

View file

@ -73,7 +73,7 @@ PlaylistScrollBar::mouseMoveEvent (QMouseEvent *event)
setValue(tmp);
//TODO only repaint necessary range
repaint ();
update ();
}
void
@ -98,7 +98,7 @@ PlaylistScrollBar::mousePressEvent (QMouseEvent *event)
}
//TODO only repaint necessary range
repaint ();
update ();
}
void
@ -115,7 +115,7 @@ PlaylistScrollBar::mouseReleaseEvent (QMouseEvent *event)
}
//TODO only repaint necessary range
repaint ();
update ();
}
void