|
|
| QwtPolarMarker () |
| | Sets alignment to Qt::AlignCenter, and style to NoLine.
|
| |
|
virtual | ~QwtPolarMarker () |
| | Destructor.
|
| |
| virtual int | rtti () const QWT_OVERRIDE |
| |
|
void | setPosition (const QwtPointPolar &) |
| | Change the position of the marker.
|
| |
| QwtPointPolar | position () const |
| |
| void | setSymbol (const QwtSymbol *s) |
| | Assign a symbol.
|
| |
| const QwtSymbol * | symbol () const |
| |
| void | setLabel (const QwtText &) |
| | Set the label.
|
| |
| QwtText | label () const |
| |
| void | setLabelAlignment (Qt::Alignment) |
| | Set the alignment of the label.
|
| |
| Qt::Alignment | labelAlignment () const |
| |
| virtual void | draw (QPainter *painter, const QwtScaleMap &azimuthMap, const QwtScaleMap &radialMap, const QPointF &pole, double radius, const QRectF &canvasRect) const QWT_OVERRIDE |
| | Draw the marker.
|
| |
| virtual QwtInterval | boundingInterval (int scaleId) const QWT_OVERRIDE |
| | Interval, that is necessary to display the item This interval can be useful for operations like clipping or autoscaling.
|
| |
| | QwtPolarItem (const QwtText &title=QwtText()) |
| | Constructor.
|
| |
|
virtual | ~QwtPolarItem () |
| | Destroy the QwtPolarItem.
|
| |
| void | attach (QwtPolarPlot *plot) |
| | Attach the item to a plot.
|
| |
| void | detach () |
| | This method detaches a QwtPolarItem from the QwtPolarPlot it has been associated with.
|
| |
| QwtPolarPlot * | plot () const |
| |
| void | setTitle (const QString &title) |
| | Set a new title.
|
| |
| void | setTitle (const QwtText &title) |
| | Set a new title.
|
| |
| const QwtText & | title () const |
| |
| void | setItemAttribute (ItemAttribute, bool on=true) |
| | Toggle an item attribute.
|
| |
| bool | testItemAttribute (ItemAttribute) const |
| | Test an item attribute.
|
| |
| void | setRenderHint (RenderHint, bool on=true) |
| | Toggle an render hint.
|
| |
| bool | testRenderHint (RenderHint) const |
| | Test a render hint.
|
| |
| void | setRenderThreadCount (uint numThreads) |
| | On multi core systems rendering of certain plot item ( f.e QwtPolarSpectrogram ) can be done in parallel in several threads.
|
| |
| uint | renderThreadCount () const |
| |
| double | z () const |
| | Plot items are painted in increasing z-order.
|
| |
| void | setZ (double z) |
| | Set the z value.
|
| |
|
void | show () |
| | Show the item.
|
| |
|
void | hide () |
| | Hide the item.
|
| |
| virtual void | setVisible (bool) |
| | Show/Hide the item.
|
| |
| bool | isVisible () const |
| |
| virtual void | itemChanged () |
| | Update the legend and call QwtPolarPlot::autoRefresh for the parent plot.
|
| |
| virtual void | legendChanged () |
| | Update the legend of the parent plot.
|
| |
| virtual void | updateScaleDiv (const QwtScaleDiv &, const QwtScaleDiv &, const QwtInterval &) |
| | Update the item to changes of the axes scale division.
|
| |
| virtual int | marginHint () const |
| | Some items like to display something (f.e.
|
| |
| void | setLegendIconSize (const QSize &) |
| | Set the size of the legend icon.
|
| |
| QSize | legendIconSize () const |
| |
| virtual QList< QwtLegendData > | legendData () const |
| | Return all information, that is needed to represent the item on the legend.
|
| |
| virtual QwtGraphic | legendIcon (int index, const QSizeF &) const |
| |
A class for drawing markers.
A marker can be a a symbol, a label or a combination of them, which can be drawn around a center point inside a bounding rectangle.
The setSymbol() member assigns a symbol to the marker. The symbol is drawn at the specified point.
With setLabel(), a label can be assigned to the marker. The setLabelAlignment() member specifies where the label is drawn. All the Align*-constants in Qt::AlignmentFlags (see Qt documentation) are valid. The alignment refers to the center point of the marker, which means, for example, that the label would be painted left above the center point if the alignment was set to AlignLeft|AlignTop.