Hi,
I have a problem with oscilloscope example. I try to modify it by using qwt designer plugin.
Originally class Plot inherits from QwtPlot and is created in constructor Plot::Plot. When I used designer plugin I have already QwtPlot object created (ui->qwtPlot), so firstly i tried copy contructor but it was wrong way I think.
Then I modified Plot class to store pointer to QwtPlot and changed every usage of inherited methods... problem occurs in timerEvent() and resizeEvent() which are protected:
error: ‘virtual void QObject::timerEvent(QTimerEvent*)’ is protected
Can't call protected method from pointer...

What is the best way to solve it?

Thanks in advance.