Re: Why does QwtAbstractSlider not inherit QAbstractSlider?
Brought to you by:
rathmann
From: Uwe R. <Uwe...@ti...> - 2011-04-27 07:14:27
|
> Why does QwtAbstractSlider not inherit QAbstractSlider another interface? The answer is quite simple: the first version of Qwt was written for Qt 1.x (1997 !) what offered only a very limited set of widgets ( f.e no QSlider ! ). So at that time the implementation of the Qwt widgets needed to find its individual design. QAbstractSlider came many years later with Qt 4.x. I agree, that all classes derived from QwtAbstractSlider should derive from QAbstractSlider ( if possible ), but changing the widget class design was never done. Uwe |