diff options
author | Marco Bubke <marco.bubke@digia.com> | 2013-01-23 12:31:22 +0100 |
---|---|---|
committer | Marco Bubke <marco.bubke@digia.com> | 2013-01-23 14:53:28 +0100 |
commit | 8d9710c0747a68f9938c8e7d32110f67ba64cc1e (patch) | |
tree | fda8332d2625520be7d282dcdbe20f48ad10f3ed /src/plugins/qmldesigner/components/stateseditor/stateseditorview.h | |
parent | a4455f37110f09e326b984977baae286082366ad (diff) | |
download | qt-creator-8d9710c0747a68f9938c8e7d32110f67ba64cc1e.tar.gz |
Refactoring document handling
The document handling in the qml designer was complicated source
code, which was initially intended for a non creator application.
To integrate new views it has to be changed and cleaned up. This
is the first major step in that direction.
Change-Id: Ie26f0aad7a03946d18bdb4c0759b246c5439d922
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
Diffstat (limited to 'src/plugins/qmldesigner/components/stateseditor/stateseditorview.h')
-rw-r--r-- | src/plugins/qmldesigner/components/stateseditor/stateseditorview.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h b/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h index f32520bc2e..2ab6a23454 100644 --- a/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h +++ b/src/plugins/qmldesigner/components/stateseditor/stateseditorview.h @@ -76,7 +76,7 @@ public: void instancesPreviewImageChanged(const QVector<ModelNode> &nodeList); - StatesEditorWidget *widget(); + QWidget *widget(); public slots: void synchonizeCurrentStateFromWidget(); @@ -84,6 +84,7 @@ public slots: void removeState(int nodeId); private: + StatesEditorWidget *statesEditorWidget() const; void resetModel(); void addState(); void duplicateCurrentState(); |