CustomPoint
A description for CustomPoint.
-
class CustomPoint : public WorksheetElement
This class implements a customizable a symbol that can be placed at a custom position on the plot to highlight certain aspects of the visualized data.
The custom position can be either specified by moving the point with the mouse or by providing the x- and y- coordinates manually. The coordinates can either be provided relatively to plot’s coordinate system or relatively to the global coordinate system of the plot (values in cm, (0,0) in the middle of the parent area).
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