So far, I subclassed QwtPlot, I rewrote the sizeHint() method and I specified size policy :
// Overload sizeHint
QSize PlotDistanceReccurence::sizeHint()
{
return QSize(-1, -1);
}
// In constructor...
setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum);
which allowed to reduce a little further the size of the QwtPlot but I still see a limit. Where can it comes from ?


Reply With Quote


Bookmarks