|
QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
|
Layout class for QwtPolarPlot. More...
#include <qwt_polar_layout.h>
Classes | |
| class | LayoutData |
| class | PrivateData |
Public Types | |
| enum | Option { IgnoreScrollbars = 0x01 , IgnoreFrames = 0x02 , IgnoreTitle = 0x04 , IgnoreLegend = 0x08 } |
| Options to configure the plot layout engine. More... | |
Public Member Functions | |
| QwtPolarLayout () | |
| Constructor. | |
| virtual | ~QwtPolarLayout () |
| Destructor. | |
| void | setLegendPosition (QwtPolarPlot::LegendPosition pos, double ratio) |
| Set the legend position with ratio. | |
| void | setLegendPosition (QwtPolarPlot::LegendPosition pos) |
| Set the legend position. | |
| QwtPolarPlot::LegendPosition | legendPosition () const |
| Get the legend position. | |
| void | setLegendRatio (double ratio) |
| Set the legend ratio. | |
| double | legendRatio () const |
| Get the legend ratio. | |
| virtual void | activate (const QwtPolarPlot *, const QRectF &rect, Options options=Options()) |
| Activate the layout. | |
| virtual void | invalidate () |
| Invalidate the layout. | |
| const QRectF & | titleRect () const |
| Get the title rectangle. | |
| const QRectF & | legendRect () const |
| Get the legend rectangle. | |
| const QRectF & | canvasRect () const |
| Get the canvas rectangle. | |
Protected Member Functions | |
| QRectF | layoutLegend (Options options, QRectF &) const |
| Find the geometry for the legend. | |
Layout class for QwtPolarPlot.
|
explicit |
Constructor.
Constructor
.
|
virtual |
Destructor.
Destructor
.
|
virtual |
Activate the layout.
Recalculate the geometry of all components.
| const QRectF & QwtPolarLayout::canvasRect | ( | ) | const |
Get the canvas rectangle.
Get geometry for the canvas.
|
virtual |
Invalidate the layout.
Invalidate the geometry of all components.
|
protected |
Find the geometry for the legend.
| QwtPolarPlot::LegendPosition QwtPolarLayout::legendPosition | ( | ) | const |
Get the legend position.
Get the position of the legend.
| double QwtPolarLayout::legendRatio | ( | ) | const |
Get the legend ratio.
Get the relative size of the legend in the plot.
| const QRectF & QwtPolarLayout::legendRect | ( | ) | const |
Get the legend rectangle.
Get geometry for the legend.
| void QwtPolarLayout::setLegendPosition | ( | QwtPolarPlot::LegendPosition | pos | ) |
Set the legend position.
Specify the position of the legend.
| void QwtPolarLayout::setLegendPosition | ( | QwtPolarPlot::LegendPosition | pos, |
| double | ratio | ||
| ) |
Set the legend position with ratio.
Specify the position of the legend.
| void QwtPolarLayout::setLegendRatio | ( | double | ratio | ) |
Set the legend ratio.
Specify the relative size of the legend in the plot.
| const QRectF & QwtPolarLayout::titleRect | ( | ) | const |
Get the title rectangle.
Get geometry for the title.