QGIS/python/core/composer/qgscomposerframe.sip

33 lines
991 B
Plaintext
Raw Normal View History

2012-08-09 11:10:55 +02:00
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;
2014-08-17 13:37:26 +02:00
//Overriden to allow multiframe to set display name
virtual QString displayName() const;
//Overriden to handle fixed frame sizes set by multi frame
void setSceneRect( const QRectF& rectangle );
2014-05-27 23:22:50 +02:00
};