Add support for extension into PySide properties.
This is used by PySide implementation of QDeclarativeListProperty.
This commit is contained in:
parent
b548a6f173
commit
1464dc1022
6 changed files with 109 additions and 55 deletions
|
|
@ -24,6 +24,8 @@
|
|||
#define PYSIDE_QPROPERTY_P_H
|
||||
|
||||
#include <Python.h>
|
||||
#include <QMetaObject>
|
||||
#include "pysideproperty.h"
|
||||
|
||||
struct PySideProperty;
|
||||
|
||||
|
|
@ -33,6 +35,7 @@ extern "C"
|
|||
struct PySidePropertyPrivate {
|
||||
char* typeName;
|
||||
PyObject* type;
|
||||
PySide::Property::MetaCallHandler metaCallHandler;
|
||||
PyObject* fget;
|
||||
PyObject* fset;
|
||||
PyObject* freset;
|
||||
|
|
@ -46,6 +49,7 @@ struct PySidePropertyPrivate {
|
|||
bool user;
|
||||
bool constant;
|
||||
bool final;
|
||||
void* userData;
|
||||
};
|
||||
|
||||
} // extern "C"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue