Update composer shape sip

This commit is contained in:
Nyall Dawson 2014-04-11 13:04:39 +10:00
parent bead88a828
commit 12b025ea12

View File

@ -56,6 +56,11 @@ class QgsComposerShape: QgsComposerItem
* Note: Added in v2.1 */
void setUseSymbolV2( bool useSymbolV2 );
/**Sets new scene rectangle bounds and recalculates hight and extent. Reimplemented from
* QgsComposerItem as it needs to call updateBoundingRect after the shape's size changes
*/
void setSceneRect( const QRectF& rectangle );
protected:
/* reimplement drawFrame, since it's not a rect, but a custom shape */
virtual void drawFrame( QPainter* p );