mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +02:00
create import entities button on create tab
This commit is contained in:
parent
c28a027a6f
commit
42216b6986
1 changed files with 15 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue