Qt Designer Plugin, Property Editor in initialize() returns null
-
down vote favorite
I've created an Qt Designer Plugin and I want get a notification as soon as a property in property editor changed. As I found out there is a QDesignerPropertyEditorInterface which can exactly what I want. Documentation says, that I have to get the instance of this interface in my initialize() method.
@void initialize(QDesignerFormEditorInterface *core) {
[...]
QDesignerPropertyEditorInterface *editor = core->propertyEditor();
assert(editor != 0);
// editor is always null here
}@However, "editor" is always null here, but why? How can I access that property editor? Do I have to implement that interface first and use core->setPropertyEditor()? But documentation never mentioned it in some way.