From 42216b69863e3fb393510e0a50122f890621bda7 Mon Sep 17 00:00:00 2001 From: Faye Li Date: Wed, 15 Mar 2017 16:47:31 -0700 Subject: [PATCH] create import entities button on create tab --- interface/resources/qml/hifi/tablet/Edit.qml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/interface/resources/qml/hifi/tablet/Edit.qml b/interface/resources/qml/hifi/tablet/Edit.qml index 00856f8212..b9d7326c8e 100644 --- a/interface/resources/qml/hifi/tablet/Edit.qml +++ b/interface/resources/qml/hifi/tablet/Edit.qml @@ -7,6 +7,7 @@ import "../../controls" import "../toolbars" import HFWebEngineProfile 1.0 import QtGraphicalEffects 1.0 +import "../../controls-uit" as HifiControls import "../../styles-uit" StackView { @@ -17,6 +18,8 @@ StackView { property var eventBridge; signal sendToScript(var message); + HifiConstants { id: hifi } + function pushSource(path) { editRoot.push(Qt.resolvedUrl(path)); editRoot.currentItem.eventBridge = editRoot.eventBridge; @@ -247,6 +250,18 @@ StackView { } ] } + + HifiControls.Button { + text: "Import Entities" + color: hifi.buttons.black + colorScheme: hifi.colorSchemes.dark + anchors.right: parent.right + anchors.rightMargin: 55 + anchors.left: parent.left + anchors.leftMargin: 55 + anchors.top: assetServerButton.bottom + anchors.topMargin: 35 + } } }