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:
parent
88b8ab8683
commit
6e7e2c2184
10 changed files with 311 additions and 280 deletions
|
@ -1,6 +1,8 @@
|
|||
HEADERS += pixmapbutton.h
|
||||
HEADERS += pixmapbutton.h \
|
||||
pixmapslider.h
|
||||
|
||||
SOURCES += pixmapbutton.cpp
|
||||
SOURCES += pixmapbutton.cpp \
|
||||
pixmapslider.cpp
|
||||
|
||||
INCLUDEPATH += $$PWD
|
||||
DEPENDPATH += $$PWD
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue