Public Types |
enum | Options { IgnoreScrollbars = 1,
AlignScales = 2,
IgnoreFrames = 4
} |
Public Methods |
| QwtPlotLayout () |
virtual | ~QwtPlotLayout () |
void | setMargin (int) |
int | margin () const |
void | setSpacing (int) |
int | spacing () const |
void | setLegendPos (int pos) |
int | legendPos () const |
virtual QSize | minimumSizeHint (const QLabel *, const QwtLegend *, const QwtScale *[QwtPlot::axisCnt], const QwtPlotCanvas *) const |
virtual void | activate (const QRect &rect, const QwtPlotPrintFilter &, const QLabel *, const QwtLegend *, const QwtScale *[QwtPlot::axisCnt], const QwtPlotCanvas *, int options=0) |
virtual void | invalidate () |
const QRect & | titleRect () const |
const QRect & | legendRect () const |
const QRect & | scaleRect (int axis) const |
const QRect & | canvasRect () const |
Protected Methods |
QRect | layoutLegend (int options, const QRect &) const |
QRect | alignLegend (int options, const QRect &canvasRect, const QRect &legendRect) const |
void | expandLineBreaks (int options, const QRect &rect, int &dimTitle, int dimAxes[QwtPlot::axisCnt]) const |
void | alignScales (int options, QRect scaleRect[QwtPlot::axisCnt]) const |
Protected Attributes |
QRect | d_titleRect |
QRect | d_legendRect |
QRect | d_scaleRect [QwtPlot::axisCnt] |
QRect | d_canvasRect |
QwtPlotLayoutData * | d_layoutData |