Image
A description for Image.
-
class Image : public WorksheetElement
Worksheet element to draw images.
The image can be added to
Worksheetor toCartesianPlotand is aligned relative to the specified position. The position can be either specified by providing the x- and y- coordinates in parent’s coordinate system, or by specifying one of the predefined position flags (HorizontalPosition,VerticalPosition).Public Functions
-
virtual QIcon icon() const override
Returns an icon to be used in the project explorer.
-
virtual void setParentGraphicsItem(QGraphicsItem*) override
WorksheetElement::setParentGraphicsItem Sets the parent graphicsitem, needed for binding to coord.
- Parameters:
item – parent graphicsitem
-
virtual void save(QXmlStreamWriter*) const override
Save as XML.
-
virtual bool load(XmlStreamReader*, bool preview) override
Load from XML.
-
virtual QIcon icon() const override