16 #ifndef QGSCOMPOSERFRAME_H
17 #define QGSCOMPOSERFRAME_H
52 void paint( QPainter* painter,
const QStyleOptionGraphicsItem* itemStyle, QWidget* pWidget );
55 bool writeXML( QDomElement& elem, QDomDocument & doc )
const;
56 bool readXML(
const QDomElement& itemElem,
const QDomDocument& doc );
65 QRectF
extent()
const {
return mSection; }
79 void setHidePageIfEmpty(
const bool hidePageIfEmpty );
93 void setHideBackgroundIfEmpty(
const bool hideBackgroundIfEmpty );
100 bool isEmpty()
const;
108 bool mHidePageIfEmpty;
110 bool mHideBackgroundIfEmpty;
114 #endif // QGSCOMPOSERFRAME_H