mirror of
https://github.com/thp/pyotherside.git
synced 2025-01-28 23:52:55 +08:00
QPython15 object
This commit is contained in:
parent
adb33c31c7
commit
ed58d65d6a
@ -68,6 +68,7 @@ PyOtherSideExtensionPlugin::registerTypes(const char *uri)
|
||||
qmlRegisterType<QPython12>(uri, 1, 2, PYOTHERSIDE_QPYTHON_NAME);
|
||||
qmlRegisterType<QPython13>(uri, 1, 3, PYOTHERSIDE_QPYTHON_NAME);
|
||||
qmlRegisterType<QPython14>(uri, 1, 4, PYOTHERSIDE_QPYTHON_NAME);
|
||||
qmlRegisterType<QPython15>(uri, 1, 5, PYOTHERSIDE_QPYTHON_NAME);
|
||||
qmlRegisterType<PyGLArea>(uri, 1, 5, PYOTHERSIDE_QPYGLAREA_NAME);
|
||||
qmlRegisterType<PyFbo>(uri, 1, 5, PYOTHERSIDE_PYFBO_NAME);
|
||||
}
|
||||
|
@ -364,4 +364,13 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class QPython15 : public QPython {
|
||||
Q_OBJECT
|
||||
public:
|
||||
QPython15(QObject *parent=0)
|
||||
: QPython(parent, 1, 5)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
#endif /* PYOTHERSIDE_QPYTHON_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user