QwtPlotLayout(3) | Qwt User's Guide | QwtPlotLayout(3) |
QwtPlotLayout -
#include <qwt_plot_layout.h>
enum Options { AlignScales = 1,
IgnoreScrollbars = 2, IgnoreFrames = 4, IgnoreMargin =
8, IgnoreLegend = 16 }
QwtPlotLayout ()
virtual ~QwtPlotLayout ()
virtual void activate (const QwtPlot *, const QRect &rect,
int options=0)
bool alignCanvasToScales () const
int canvasMargin (int axis) const
const QRect & canvasRect () const
virtual void invalidate ()
QwtPlot::LegendPosition legendPosition () const
double legendRatio () const
const QRect & legendRect () const
int margin () const
virtual QSize minimumSizeHint (const QwtPlot *) const
const QRect & scaleRect (int axis) const
void setAlignCanvasToScales (bool)
void setCanvasMargin (int margin, int axis=-1)
void setLegendPosition (QwtPlot::LegendPosition pos, double
ratio)
void setLegendPosition (QwtPlot::LegendPosition pos)
void setLegendRatio (double ratio)
void setMargin (int)
void setSpacing (int)
int spacing () const
const QRect & titleRect () const
QRect alignLegend (const QRect &canvasRect,
const QRect &legendRect) const
void alignScales (int options, QRect &canvasRect, QRect
scaleRect[QwtPlot::axisCnt]) const
void expandLineBreaks (int options, const QRect &rect, int
&dimTitle, int dimAxes[QwtPlot::axisCnt]) const
QRect layoutLegend (int options, const QRect &) const
Layout engine for QwtPlot.
It is used by the QwtPlot widget to organize its internal widgets or by QwtPlot::print() to render its content to a QPaintDevice like a QPrinter, QPixmap/QImage or QSvgRenderer.
Options to configure the plot layout engine
See also:
Recalculate the geometry of all components. Parameters:
See also:
Return the align-canvas-to-axis-scales setting. The canvas may:
Returns:
See also:
Note:
Align the legend to the canvas
Parameters:
Returns:
Align the ticks of the axis to the canvas borders using the empty corners.
See also:
Returns:
See also:
Returns:
See also:
Expand all line breaks in text labels, and calculate the height of their widgets in orientation of the text.
Parameters:
See also:
Invalidate the geometry of all components.
See also:
Find the geometry for the legend
Parameters:
Returns:
See also:
Returns:
See also:
Returns:
See also:
Returns:
See also:
Returns:
See also:
Return a minimum size hint. See also:
Parameters:
Returns:
See also:
Change the align-canvas-to-axis-scales setting. The canvas may:
Parameters:
See also:
Note:
Warning:
Change a margin of the canvas. The margin is the space above/below the scale ticks. A negative margin will be set to -1, excluding the borders of the scales.
Parameters:
See also:
Warning:
Specify the position of the legend. Parameters:
See also:
Specify the position of the legend. Parameters:
See also:
Specify the relative size of the legend in the plot
Parameters:
Change the margin of the plot. The margin is the space around all components.
Parameters:
See also:
Change the spacing of the plot. The spacing is the distance between the plot components.
Parameters:
See also:
Returns:
See also:
Returns:
See also:
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Tue Nov 20 2012 | Version 5.2.3 |