10 #ifndef QWT_PLOT_LAYOUT_H    11 #define QWT_PLOT_LAYOUT_H    13 #include "qwt_global.h"    42         IgnoreScrollbars = 0x02,
    63     void setCanvasMargin( 
int margin, 
int axis = -1 );
    64     int canvasMargin( 
int axis ) 
const;
    66     void setAlignCanvasToScales( 
bool );
    68     void setAlignCanvasToScale( 
int axisId, 
bool );
    69     bool alignCanvasToScale( 
int axisId ) 
const;
    71     void setSpacing( 
int );
    78     void setLegendRatio( 
double ratio );
    79     double legendRatio() 
const;
    81     virtual QSize minimumSizeHint( 
const QwtPlot * ) 
const;
    83     virtual void activate( 
const QwtPlot *,
    84         const QRectF &rect, Options options = 0x00 );
    86     virtual void invalidate();
    88     QRectF titleRect() 
const;
    89     QRectF footerRect() 
const;
    90     QRectF legendRect() 
const;
    91     QRectF scaleRect( 
int axis ) 
const;
    92     QRectF canvasRect() 
const;
    98     void setTitleRect( 
const QRectF & );
    99     void setFooterRect( 
const QRectF & );
   100     void setLegendRect( 
const QRectF & );
   101     void setScaleRect( 
int axis, 
const QRectF & );
   102     void setCanvasRect( 
const QRectF & );
   104     QRectF layoutLegend( Options options, 
const QRectF & ) 
const;
   105     QRectF alignLegend( 
const QRectF &canvasRect,
   106         const QRectF &legendRect ) 
const;
   108     void expandLineBreaks( Options options, 
const QRectF &rect,
   111     void alignScales( Options options, QRectF &canvasRect,
 Number of axes. 
Definition: qwt_plot.h:108
LegendPosition
Definition: qwt_plot.h:116
Layout engine for QwtPlot. 
Definition: qwt_plot_layout.h:26
A 2-D plotting widget. 
Definition: qwt_plot.h:74
QFlags< Option > Options
Layout options. 
Definition: qwt_plot_layout.h:58
Option
Definition: qwt_plot_layout.h:33