One more question: about the method you gave me before to customize the labels, how could I use it?
I am accessing the QwtSlider from the ui, with ui.timeSampleSlider, as you have already seen when I showed code here. I know I can get the ScaleDraw associated to my QwtSlider with the scaleDraw() method, but I don't know how to write the function you gave me then.
I can think of:
Qt Code:
{ }To copy to clipboard, switch view to plain text mode
which is obviously wrong, but I can't think of how to access to the ScaleDraw. By the way, I'm writting this method into my code, into the same cpp file I have been working before to set the ticks where I wanted.
How can I use this method then? Thanks once more!
Bookmarks