18 #ifndef QGSPAPERITEM_H 19 #define QGSPAPERITEM_H 22 #include <QGraphicsRectItem> 76 void calculatePageMargin();
Item representing the paper.
virtual int type() const override
Return correct graphics item type.
A item that forms part of a map composition.
virtual bool writeXML(QDomElement &elem, QDomDocument &doc) const
Stores item state in DOM element.
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
Item representing a grid.
Graphics scene for map printing.
virtual bool readXML(const QDomElement &itemElem, const QDomDocument &doc)
Sets item state from DOM element.
virtual void setSceneRect(const QRectF &rectangle)
Sets this items bound in scene coordinates such that 1 item size units corresponds to 1 scene size un...