QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QwtPlotLayoutEngine::LayoutData::LegendData Struct Reference

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
 

Detailed Description

Data for legend layout calculation.

Member Function Documentation

◆ init()

void QwtPlotLayoutEngine::LayoutData::LegendData::init ( const QwtAbstractLegend legend)

Initialize legend data from a QwtAbstractLegend.

◆ legendHint()

QSize QwtPlotLayoutEngine::LayoutData::LegendData::legendHint ( const QwtAbstractLegend legend,
const QRectF &  rect 
) const

Calculate optimal legend size for given rectangle.


The documentation for this struct was generated from the following files: