Hi,
I have several spectrograms. They share one color bar which I created.
I am trying to render those spectrograms with their color bar.
I efficiently render the spectrograms with the QwtPlotRenderer but when it comes to the color bar (which is a QwtScaleWidget) I am not sure how to do it. I had a look at the QwtPlotRenderer::renderScale method, but it takes as parameter a QwtPlot (which I don't have because my spectrograms don't have color bar : their spectrogram curve just has a color map).
I try to extract the relevant code from the method, but I end up with issues with the font (the tick texts are very small) and the size (the color bar is not thick but I think I can manage this one).
Here come the question : how to properly render a QwtScaleWidget which is not attached to a QwtPlot ?
Thanks,
Bookmarks