! \internal Returns a minimum size hint that corresponds to the minimum size of the top level layout (\ref plotLayout). To prevent QCustomPlot from being collapsed to size/width zero, set a minimum size (setMinimumSize) either on the whole QCustomPlot or on any layout elements inside the plot. This is especially important, when placed in a QLayout where other components try to take in a
| 14723 | much space as possible (e.g. QMdiArea). |
| 14724 | */ |
| 14725 | QSize QCustomPlot::minimumSizeHint() const |
| 14726 | { |
| 14727 | return mPlotLayout->minimumOuterSizeHint(); |
| 14728 | } |
| 14729 | |
| 14730 | /*! \internal |
| 14731 |
nothing calls this directly
no test coverage detected