mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-05 00:04:40 -05:00
PyQGIS: added subclassing code for QgsComposerView
git-svn-id: http://svn.osgeo.org/qgis/trunk@13361 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
3d2b177143
commit
c2dbddce0c
@ -11,6 +11,14 @@ class QgsComposerView: QGraphicsView
|
||||
#include "qgscomposerview.h"
|
||||
%End
|
||||
|
||||
%ConvertToSubClassCode
|
||||
if (sipCpp->inherits("QgsComposerView"))
|
||||
sipClass = sipClass_QgsComposerView;
|
||||
else
|
||||
sipClass = NULL;
|
||||
%End
|
||||
|
||||
|
||||
public:
|
||||
|
||||
/**Current tool*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user