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

@ -150,9 +150,11 @@ PosBar::hideBar (bool b)
if (b) {
m_button->hide ();
hide ();
} else {
m_button->show ();
}
show ();
}
update();
}