I have absolutely no idea, what you are looking for, but this sounds like you are talking about transparent backgrounds inside of the same application ( nothing, what has to to do with a composite manager ).
Add the following code to the constructor of Plot:
canvas()->setAttribute( Qt::WA_OpaquePaintEvent, false );
canvas()->setAutoFillBackground( false );
canvas()->setPaintAttribute(QwtPlotCanvas::BackingStore, false);
canvas()->setPaintAttribute(QwtPlotCanvas::Opaque, false);
canvas()->setAttribute( Qt::WA_OpaquePaintEvent, false );
canvas()->setAutoFillBackground( false );
To copy to clipboard, switch view to plain text mode
Then remove all code from Plot::initGradient
Uwe
Bookmarks