Hi,
I want to change the background color of a QwtPlot. The method "setCanvasBackground" changes only the background color of the canvas. How can I change the color "under" the scales and the labels (this is normally gray)?
I tried the following snippet with no effect...
Qt Code:
plot->setPalette(p);To copy to clipboard, switch view to plain text mode
if I remove "plot->" in the snippet, it works for my whole widget (including toolbar and statusbar). How can I change the color only in QwtPlot widget?
thanks!
Felix
Bookmarks