Skip to content
Permalink
Browse files

Update composer shape sip

  • Loading branch information
nyalldawson committed Apr 11, 2014
1 parent bead88a commit 12b025ea12a918ec95d86f85083da6d9fc2d5988
Showing with 5 additions and 0 deletions.
  1. +5 −0 python/core/composer/qgscomposershape.sip
@@ -55,6 +55,11 @@ class QgsComposerShape: QgsComposerItem
/**Controls whether the shape should be drawn using a QgsFillSymbolV2.
* 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 */

0 comments on commit 12b025e

Please sign in to comment.
You can’t perform that action at this time.