|
QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
|
Data for legend layout calculation. More...
#include <qwt_plot_layout_engine.h>
Public Member Functions | |
| void | init (const QwtAbstractLegend *legend) |
| Initialize legend data from a QwtAbstractLegend. | |
| QSize | legendHint (const QwtAbstractLegend *legend, const QRectF &rect) const |
| Calculate optimal legend size for given rectangle. | |
Public Attributes | |
| int | frameWidth |
| int | hScrollExtent |
| int | vScrollExtent |
| QSize | hint |
Data for legend layout calculation.
| void QwtPlotLayoutEngine::LayoutData::LegendData::init | ( | const QwtAbstractLegend * | legend | ) |
Initialize legend data from a QwtAbstractLegend.
| QSize QwtPlotLayoutEngine::LayoutData::LegendData::legendHint | ( | const QwtAbstractLegend * | legend, |
| const QRectF & | rect | ||
| ) | const |
Calculate optimal legend size for given rectangle.