|
QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
|
A class for drawing markers. More...
#include <qwt_polar_marker.h>
Classes | |
| class | PrivateData |
Public Member Functions | |
| QwtPolarMarker () | |
| Constructor. | |
| virtual | ~QwtPolarMarker () |
| Destructor. | |
| virtual int | rtti () const override |
| Get the runtime type information. | |
| void | setPosition (const QwtPointPolar &) |
| Set the position. | |
| QwtPointPolar | position () const |
| Get the position. | |
| void | setSymbol (const QwtSymbol *s) |
| Set the symbol. | |
| const QwtSymbol * | symbol () const |
| Get the symbol. | |
| void | setLabel (const QwtText &) |
| Set the label. | |
| QwtText | label () const |
| Get the label. | |
| void | setLabelAlignment (Qt::Alignment) |
| Set the label alignment. | |
| Qt::Alignment | labelAlignment () const |
| Get the label alignment. | |
| virtual void | draw (QPainter *painter, const QwtScaleMap &azimuthMap, const QwtScaleMap &radialMap, const QPointF &pole, double radius, const QRectF &canvasRect) const override |
| Draw the marker. | |
| virtual QwtInterval | boundingInterval (int scaleId) const override |
| Get the bounding interval for a scale. | |
Public Member Functions inherited from QwtPolarItem | |
| QwtPolarItem (const QwtText &title=QwtText()) | |
| Constructor. | |
| virtual | ~QwtPolarItem () |
| Destructor. | |
| void | attach (QwtPolarPlot *plot) |
| Attach the item to a plot. | |
| void | detach () |
| Detach the item from its plot. | |
| QwtPolarPlot * | plot () const |
| Get the attached plot. | |
| void | setTitle (const QString &title) |
| Set the title from a QString. | |
| void | setTitle (const QwtText &title) |
| Set the title from a QwtText. | |
| const QwtText & | title () const |
| Get the title. | |
| void | setItemAttribute (ItemAttribute, bool on=true) |
| Set an item attribute. | |
| bool | testItemAttribute (ItemAttribute) const |
| Test an item attribute. | |
| void | setRenderHint (RenderHint, bool on=true) |
| Set a render hint. | |
| bool | testRenderHint (RenderHint) const |
| Test a render hint. | |
| void | setRenderThreadCount (uint numThreads) |
| Set the number of render threads. | |
| uint | renderThreadCount () const |
| Get the number of render threads. | |
| double | z () const |
| Get the z value. | |
| void | setZ (double z) |
| Set the z value. | |
| void | show () |
| Show the item. | |
| void | hide () |
| Hide the item. | |
| virtual void | setVisible (bool) |
| Set the visibility. | |
| bool | isVisible () const |
| Get the visibility. | |
| virtual void | itemChanged () |
| Update the item and trigger autoRefresh. | |
| virtual void | legendChanged () |
| Update the legend. | |
| virtual void | updateScaleDiv (const QwtScaleDiv &, const QwtScaleDiv &, const QwtInterval &) |
| Update the scale division. | |
| virtual int | marginHint () const |
| Get the margin hint. | |
| void | setLegendIconSize (const QSize &) |
| Set the legend icon size. | |
| QSize | legendIconSize () const |
| Get the legend icon size. | |
| virtual QList< QwtLegendData > | legendData () const |
| Get the legend data. | |
| virtual QwtGraphic | legendIcon (int index, const QSizeF &) const |
| Get the legend icon. | |
Additional Inherited Members | |
Public Types inherited from QwtPolarItem | |
| enum | RttiValues { Rtti_PolarItem = 0 , Rtti_PolarGrid , Rtti_PolarMarker , Rtti_PolarCurve , Rtti_PolarSpectrogram , Rtti_PolarUserItem = 1000 } |
| enum | ItemAttribute { Legend = 0x01 , AutoScale = 0x02 } |
| enum | RenderHint { RenderAntialiased = 0x01 } |
A class for drawing markers.
|
explicit |
Constructor.
|
virtual |
Destructor.
Destructor
.
|
overridevirtual |
Get the bounding interval for a scale.
Get the bounding interval necessary to display the item.
Reimplemented from QwtPolarItem.
|
overridevirtual |
Draw the marker.
Implements QwtPolarItem.
| QwtText QwtPolarMarker::label | ( | ) | const |
Get the label.
Get the label text.
| Qt::Alignment QwtPolarMarker::labelAlignment | ( | ) | const |
Get the label alignment.
| QwtPointPolar QwtPolarMarker::position | ( | ) | const |
Get the position.
Get the position of the marker.
|
overridevirtual |
Get the runtime type information.
Reimplemented from QwtPolarItem.
| void QwtPolarMarker::setLabel | ( | const QwtText & | label | ) |
Set the label.
Set the label text.
| void QwtPolarMarker::setLabelAlignment | ( | Qt::Alignment | align | ) |
Set the label alignment.
Set the alignment of the label.
| void QwtPolarMarker::setPosition | ( | const QwtPointPolar & | pos | ) |
Set the position.
Set the position of the marker.
| void QwtPolarMarker::setSymbol | ( | const QwtSymbol * | symbol | ) |
Set the symbol.
Assign a symbol.
| const QwtSymbol * QwtPolarMarker::symbol | ( | ) | const |
Get the symbol.
Get the current symbol.