NOTE: Hackish, but the QwtPlot::XAxis enforces a minimumSizeHint if the parent does not provide a strict max size. This means that this widget will always have the minimum size dicated by the XAxis and it cannot be changed. This would be ok, but the XAxix can always be smalled by reducing the number of segments (e.g. if it doesn't fit). This hack just lets the parent tell the XAxis to be smaller.
| 496 | // but the XAxix can always be smalled by reducing the number of segments (e.g. if it |
| 497 | // doesn't fit). This hack just lets the parent tell the XAxis to be smaller. |
| 498 | QSize PlotWidget::minimumSizeHint() const { return QSize(0, 0); } |
| 499 | |
| 500 | #include "moc_plotwidget.cpp" |
no outgoing calls
no test coverage detected