ReferenceRange
This class implements a rectangular that can be placed at a custom reference position on the plot to highlight certain range of the visualized data.
Public Methods
|
ReferenceRange(CartesianPlot *, const QString &, bool loading=false) |
|
background() const |
|
createContextMenu() override |
|
handleResize(double horizontalRatio, double verticalRatio, bool pageResize) override |
|
icon() const override |
|
line() const |
|
load(XmlStreamReader *, bool preview) override |
|
loadThemeConfig(const KConfig &) override |
|
orientationChanged(Orientation) |
|
positionLogicalEndChanged(QPointF) |
|
positionLogicalStartChanged(QPointF) |
|
retransform() override |
|
save(QXmlStreamWriter *) const override |
Detailed Description
-
class ReferenceRange : public WorksheetElement
This class implements a rectangular that can be placed at a custom reference position on the plot to highlight certain range of the visualized data.
The custom position can be either specified by moving the line with the mouse or by manually providing the start and end values for x or y for the vertical or horizontal orientations, respectively. The coordinates are provided relatively to plot’s coordinate system.
Public Functions
-
virtual QIcon icon() const override
Returns an icon to be used in the project explorer.
-
virtual QMenu *createContextMenu() override
Return a new context menu.
The caller takes ownership of the menu.
-
virtual void save(QXmlStreamWriter*) const override
Save as XML.
-
virtual bool load(XmlStreamReader*, bool preview) override
Load from XML.
-
virtual QIcon icon() const override