Your draw methods are not overriding - they have a QRect while QwtPlotItem::draw has a QRectF in the signature.
Using the C++11 override keyword would have told you.
HTH,
Uwe
Your draw methods are not overriding - they have a QRect while QwtPlotItem::draw has a QRectF in the signature.
Using the C++11 override keyword would have told you.
HTH,
Uwe
olredi (9th April 2021)
Bookmarks