QGIS/python/core/composer/qgscomposerframe.sip
2012-09-24 10:03:06 +02:00

26 lines
774 B
Plaintext

class QgsComposerFrame: QgsComposerItem
{
%TypeHeaderCode
#include "qgscomposerframe.h"
%End
public:
QgsComposerFrame( QgsComposition* c, QgsComposerMultiFrame* mf, qreal x, qreal y, qreal width, qreal height );
~QgsComposerFrame();
/**Sets the part of this frame (relative to the total multiframe extent in mm)*/
void setContentSection( const QRectF& section );
void paint( QPainter* painter, const QStyleOptionGraphicsItem* itemStyle, QWidget* pWidget );
void beginItemCommand( const QString& text );
void endItemCommand();
bool writeXML( QDomElement& elem, QDomDocument & doc ) const;
bool readXML( const QDomElement& itemElem, const QDomDocument& doc );
int type() const;
QgsComposerMultiFrame* multiFrame() const;
};