|
QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
|
Canvas of a QwtPolarPlot. More...
#include <qwt_polar_canvas.h>
Classes | |
| class | PrivateData |
Public Types | |
| enum | PaintAttribute { BackingStore = 0x01 } |
| Paint attributes. More... | |
Public Member Functions | |
| QwtPolarCanvas (QwtPolarPlot *) | |
| Constructor. | |
| virtual | ~QwtPolarCanvas () |
| Destructor. | |
| QwtPolarPlot * | plot () |
| Get the plot. | |
| const QwtPolarPlot * | plot () const |
| Get the plot (const version) | |
| void | setPaintAttribute (PaintAttribute, bool on=true) |
| Set a paint attribute. | |
| bool | testPaintAttribute (PaintAttribute) const |
| Test a paint attribute. | |
| const QPixmap * | backingStore () const |
| Get the backing store. | |
| void | invalidateBackingStore () |
| Invalidate the backing store. | |
| QwtPointPolar | invTransform (const QPoint &) const |
| Inverse transform from widget coordinates to polar coordinates. | |
| QPoint | transform (const QwtPointPolar &) const |
| Transform from polar coordinates to widget coordinates. | |
Protected Member Functions | |
| virtual void | paintEvent (QPaintEvent *) override |
| Handle paint events. | |
| virtual void | resizeEvent (QResizeEvent *) override |
| Handle resize events. | |
Canvas of a QwtPolarPlot.
|
explicit |
Constructor.
|
virtual |
Destructor.
Destructor
.
| const QPixmap * QwtPolarCanvas::backingStore | ( | ) | const |
Get the backing store.
Get the backing store pixmap.
| void QwtPolarCanvas::invalidateBackingStore | ( | ) |
Invalidate the backing store.
Invalidate the internal backing store.
| QwtPointPolar QwtPolarCanvas::invTransform | ( | const QPoint & | pos | ) | const |
Inverse transform from widget coordinates to polar coordinates.
Translate a point from widget coordinates to polar coordinates.
|
overrideprotectedvirtual |
Handle paint events.
Paint event.
| event | Paint event |
| QwtPolarPlot * QwtPolarCanvas::plot | ( | ) |
Get the plot.
Get the parent plot widget.
| const QwtPolarPlot * QwtPolarCanvas::plot | ( | ) | const |
Get the plot (const version)
Get the parent plot widget (const version)
|
overrideprotectedvirtual |
Handle resize events.
Resize event.
| event | Resize event |
| void QwtPolarCanvas::setPaintAttribute | ( | PaintAttribute | attribute, |
| bool | on = true |
||
| ) |
Set a paint attribute.
Change the paint attributes.
| bool QwtPolarCanvas::testPaintAttribute | ( | PaintAttribute | attribute | ) | const |
Test a paint attribute.
Test whether a paint attribute is enabled.
| QPoint QwtPolarCanvas::transform | ( | const QwtPointPolar & | polarPos | ) | const |
Transform from polar coordinates to widget coordinates.
Translate a point from polar coordinates to widget coordinates.