Partial quick redraw of some QwtPlot elements
Is there an alternative to the replot() method of the QwtPlot class? It is necessary to draw some elements located on QwtPlot (for example, QwtPlotMarker, which I move by 1 pixel when I click on the QPushButton), redrawing the entire QwtPlot space using the replot() method takes a lot of resources, which is why even one marker moves with slight jerks.
I’m inclined to look towards partial redrawing, I discovered the QwtWidgetOverlay class, but I don’t really understand how to use it (you need to override the drawOverlay() and maskHint() methods, and what’s next is not clear)
Re: Partial quick redraw of some QwtPlot elements
Have a look at the itemeditor example.