create import entities button on create tab

This commit is contained in:
Faye Li 2017-03-15 16:47:31 -07:00
parent c28a027a6f
commit 42216b6986

View file

@ -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
}
}
}