Yes, two instances of the label. I also tried to use two different classes instead of instancing. Same result.
I added them to the same layout. The data is different. But it seems that the paint...
That looks fairly ok (other than then obvious unnecessary save/restore).
So you have two instances of that label?
In a layout?
With different data?
The scale interval is manually assigned by your code or calculated from the bounding rectangles of the plot items, that have the QwtPlotItem::AutoScale ( usually the curves ).
Qt Centre is a community site devoted to programming in C++ using the Qt framework developed at Digia.
If you have any problems with Qt or its usage, you can get help from the members of Qt community on our forum.
Don't forget to check out our links section for more Qt resources.
Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code.