WorksheetElementContainer
A description for WorksheetElementContainer.
-
class WorksheetElementContainer : public WorksheetElement
Worksheet element container - parent of multiple elements.
This class provides the functionality for a containers of multiple worksheet elements. Such a container can be a plot or group of elements.
Subclassed by AbstractPlot
Public Functions
-
virtual void setVisible(bool) override
Show/hide the element.
-
virtual bool isFullyVisible() const override
Return whether the element is fully visible (i.e., including all child elements).
The standard implementation returns isVisible().
-
virtual void setPrinting(bool) override
Switches the printing mode on/off.
-
virtual void handleResize(double horizontalRatio, double verticalRatio, bool pageResize = false) override
called if the size of the worksheet page was changed and the content has to be adjusted/resized (
pageResize= true) or if a new rectangular for the element container was set (pageResize= false). In the second case,WorksheetElement::handleResize()is called for every worksheet child to adjust the content to the new size. In the first case, a new rectangular for the container is calculated and set first, which on the other hand, triggers the content adjustments in the container children.
-
virtual void setVisible(bool) override