Re: Canvas never transparent
Is it because my question is stupid that nobody answers? :( Or am I not clear?
Please I just need this to finish my interface ! :)
Re: Canvas never transparent
It's quite simple - when you already know it :)
Code:
plot
->canvas
()->setPaintAttribute
( QwtPlotCanvas::PaintPacked,
false );
plot
->canvas
()->setPaintAttribute
( QwtPlotCanvas::PaintCached,
false );
plot->setCanvasBackground( Qt::transparent );
:)
Using this method you may get severe performance hit with large plots as caching is disabled, but I'm not sure if there's another way of doing it.
Re: Canvas never transparent
When the background color is set to transparent you probably don't need to disable the PaintCached mode, what is the important one for the performance when using stuff like rubberbands.
Uwe
Re: Canvas never transparent
I've tested it against qwt5 and you need to disable both in there.
Not sure about qwt6 though.