Skip to content

Commit c2dbddc

Browse files
author
wonder
committedApr 24, 2010
PyQGIS: added subclassing code for QgsComposerView
git-svn-id: http://svn.osgeo.org/qgis/trunk@13361 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 3d2b177 commit c2dbddc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎python/gui/qgscomposerview.sip

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ class QgsComposerView: QGraphicsView
1111
#include "qgscomposerview.h"
1212
%End
1313

14+
%ConvertToSubClassCode
15+
if (sipCpp->inherits("QgsComposerView"))
16+
sipClass = sipClass_QgsComposerView;
17+
else
18+
sipClass = NULL;
19+
%End
20+
21+
1422
public:
1523

1624
/**Current tool*/

0 commit comments

Comments
 (0)
Please sign in to comment.