Commit 0e01e5da authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.visualEditor: add all QmlItems to the form editor

Before everything that was not children was ignored.

Thin of "back", "front" "flipableChildren"...
parent 9245152e
......@@ -116,8 +116,9 @@ void FormEditorView::setupFormEditorItemTree(const QmlItemNode &qmlItemNode)
{
m_scene->addFormEditorItem(qmlItemNode);
foreach (const QmlItemNode &nextNode, qmlItemNode.children()) //TODO instance children
setupFormEditorItemTree(nextNode);
foreach (const QmlObjectNode &nextNode, qmlItemNode.allDirectSubNodes()) //TODO instance children
if (QmlItemNode(nextNode).isValid())
setupFormEditorItemTree(nextNode.toQmlItemNode());
}
void FormEditorView::nodeCreated(const ModelNode &createdNode)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment