Implemented support to notify argument on Properties.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
This commit is contained in:
parent
4f1a11b61f
commit
26750d345c
10 changed files with 241 additions and 107 deletions
|
|
@ -68,7 +68,7 @@ bool fillQtProperties(PyObject* qObj, const QMetaObject* metaObj, PyObject* kwds
|
|||
} else {
|
||||
PyObject* attr = PyObject_GenericGetAttr(qObj, key);
|
||||
if (isQPropertyType(attr))
|
||||
PySide::qpropertySet(attr, qObj, value);
|
||||
PySide::qpropertySet(reinterpret_cast<PySideQProperty*>(attr), qObj, value);
|
||||
}
|
||||
} else {
|
||||
propName.append("()");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue