forked from qt-creator/qt-creator
QmlDesigner: Update ConnectionModel
Change-Id: I5be9117284a5eae2437b0a4fc9452694098713f3 Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "bindingmodel.h"
|
||||
#include "connectionmodel.h"
|
||||
#include "dynamicpropertiesmodel.h"
|
||||
#include "propertytreemodel.h"
|
||||
#include "theme.h"
|
||||
|
||||
#include <bindingproperty.h>
|
||||
@@ -73,6 +74,21 @@ public:
|
||||
{"dynamicPropertiesModel",
|
||||
QVariant::fromValue(m_connectionEditorView->dynamicPropertiesModel())}});
|
||||
|
||||
qmlRegisterType<ConnectionModelBackendDelegate>("ConnectionsEditorEditorBackend",
|
||||
1,
|
||||
0,
|
||||
"DynamicPropertiesModelBackendDelegate");
|
||||
|
||||
qmlRegisterType<ConnectionModelStatementDelegate>("ConnectionsEditorEditorBackend",
|
||||
1,
|
||||
0,
|
||||
"ConnectionModelStatementDelegate");
|
||||
|
||||
qmlRegisterType<ConditionListModel>("ConnectionsEditorEditorBackend",
|
||||
1,
|
||||
0,
|
||||
"ConditionListModel");
|
||||
|
||||
Theme::setupTheme(engine());
|
||||
|
||||
setMinimumWidth(195);
|
||||
|
||||
Reference in New Issue
Block a user