|
| | QwtPlotArrowMarker () |
| | Default constructor.
|
| |
| | QwtPlotArrowMarker (const QString &title) |
| | Constructor with title.
|
| |
| | QwtPlotArrowMarker (const QwtText &title) |
| | Constructor with QwtText title.
|
| |
| virtual | ~QwtPlotArrowMarker () |
| | Destructor .
|
| |
| virtual int | rtti () const override |
| | Get the runtime type information.
|
| |
| QPointF | startPoint () const |
| | Get the start point of the arrow.
|
| |
| QPointF | endPoint () const |
| | Get the end point of the arrow.
|
| |
| void | setStartPoint (const QPointF &point) |
| | Set the start point in plot coordinates.
|
| |
| void | setEndPoint (const QPointF &point) |
| | Set the end point in plot coordinates.
|
| |
| void | setPoints (const QPointF &start, const QPointF &end) |
| | Set both start and end points in plot coordinates.
|
| |
| double | length () const |
| | Get the arrow length in pixels.
|
| |
| void | setLength (double length) |
| | Set the arrow length in pixels.
|
| |
| double | angle () const |
| | Get the rotation angle in degrees.
|
| |
| void | setAngle (double angle) |
| | Set the rotation angle in degrees.
|
| |
| PositionMode | positionMode () const |
| | Get the positioning mode.
|
| |
| void | setPositionMode (PositionMode mode) |
| | Set the positioning mode.
|
| |
| const QPen & | linePen () const |
| | Get the arrow line pen.
|
| |
| void | setLinePen (const QPen &pen) |
| | Set the arrow line pen.
|
| |
| void | setLinePen (const QColor &color, qreal width=1.0, Qt::PenStyle style=Qt::SolidLine) |
| | Convenience method to set line color and width.
|
| |
| EndpointStyle | headStyle () const |
| | Get the head style.
|
| |
| void | setHeadStyle (EndpointStyle style) |
| | Set the head style.
|
| |
| EndpointStyle | tailStyle () const |
| | Get the tail style.
|
| |
| void | setTailStyle (EndpointStyle style) |
| | Set the tail style.
|
| |
| QSizeF | headSize () const |
| | Get the head size in pixels.
|
| |
| void | setHeadSize (const QSizeF &size) |
| | Set the head size in pixels.
|
| |
| void | setHeadSize (qreal size) |
| | Convenience method to set head size with equal width and height.
|
| |
| QSizeF | tailSize () const |
| | Get the tail size in pixels.
|
| |
| void | setTailSize (const QSizeF &size) |
| | Set the tail size in pixels.
|
| |
| void | setTailSize (qreal size) |
| | Convenience method to set tail size with equal width and height.
|
| |
| const QBrush & | headBrush () const |
| | Get the head brush.
|
| |
| void | setHeadBrush (const QBrush &brush) |
| | Set the head brush.
|
| |
| const QBrush & | tailBrush () const |
| | Get the tail brush.
|
| |
| void | setTailBrush (const QBrush &brush) |
| | Set the tail brush.
|
| |
| const QPen & | headPen () const |
| | Get the head pen.
|
| |
| void | setHeadPen (const QPen &pen) |
| | Set the head pen.
|
| |
| const QPen & | tailPen () const |
| | Get the tail pen.
|
| |
| void | setTailPen (const QPen &pen) |
| | Set the tail pen.
|
| |
| void | setHeadCustomPath (const QPainterPath &path) |
| | Set a custom path for head endpoint.
|
| |
| QPainterPath | headCustomPath () const |
| | Get the custom head path.
|
| |
| void | setTailCustomPath (const QPainterPath &path) |
| | Set a custom path for tail endpoint.
|
| |
| QPainterPath | tailCustomPath () const |
| | Get the custom tail path.
|
| |
| virtual void | draw (QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect) const override |
| | Draw the arrow marker on the plot.
|
| |
| virtual QRectF | boundingRect () const override |
| | Get the bounding rectangle.
|
| |
| virtual QwtGraphic | legendIcon (int index, const QSizeF &size) const override |
| | Get the legend icon.
|
| |
| | QwtPlotItem () |
| | Default constructor.
|
| |
| | QwtPlotItem (const QString &title) |
| | Constructor with title as QString.
|
| |
| | QwtPlotItem (const QwtText &title) |
| | Constructor with title as QwtText.
|
| |
| virtual | ~QwtPlotItem () |
| | Destructor.
|
| |
| void | attach (QwtPlot *plot) |
| | Attach the item to a plot.
|
| |
| void | detach () |
| | Detach the item from the plot.
|
| |
| QwtPlot * | plot () const |
| | Get the plot the item is attached to.
|
| |
| void | setTitle (const QString &title) |
| | Set the title using a QString.
|
| |
| void | setTitle (const QwtText &title) |
| | Set the title using 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 | setItemInterest (ItemInterest, bool on=true) |
| | Set an item interest.
|
| |
| bool | testItemInterest (ItemInterest) const |
| | Test an item interest.
|
| |
| 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.
|
| |
| void | setLegendIconSize (const QSize &) |
| | Set the legend icon size.
|
| |
| QSize | legendIconSize () const |
| | Get the legend icon size.
|
| |
| 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 |
| | Check if the item is visible.
|
| |
| void | setAxes (QwtAxisId xAxis, QwtAxisId yAxis) |
| | Set both axes.
|
| |
| void | setXAxis (QwtAxisId) |
| | Set the x-axis.
|
| |
| QwtAxisId | xAxis () const |
| | Get the x-axis.
|
| |
| void | setYAxis (QwtAxisId) |
| | Set the y-axis.
|
| |
| QwtAxisId | yAxis () const |
| | Get the y-axis.
|
| |
| virtual void | itemChanged () |
| | Notify the plot that the item has changed.
|
| |
| virtual void | legendChanged () |
| | Notify the item that the legend has changed.
|
| |
| virtual void | getCanvasMarginHint (const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect, double &left, double &top, double &right, double &bottom) const |
| | Get margin hints for the canvas.
|
| |
| virtual void | updateScaleDiv (const QwtScaleDiv &, const QwtScaleDiv &) |
| | Update the item with new scale divisions.
|
| |
| virtual void | updateLegend (const QwtPlotItem *, const QList< QwtLegendData > &) |
| | Update the item with changes of the legend.
|
| |
| QRectF | scaleRect (const QwtScaleMap &, const QwtScaleMap &) const |
| | Calculate the scale rectangle.
|
| |
| QRectF | paintRect (const QwtScaleMap &, const QwtScaleMap &) const |
| | Calculate the paint rectangle.
|
| |
| virtual QList< QwtLegendData > | legendData () const |
| | Return legend data.
|
| |
A class for drawing arrow markers on plots.