mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 14:52:46 +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 "../toolbars"
|
||||||
import HFWebEngineProfile 1.0
|
import HFWebEngineProfile 1.0
|
||||||
import QtGraphicalEffects 1.0
|
import QtGraphicalEffects 1.0
|
||||||
|
import "../../controls-uit" as HifiControls
|
||||||
import "../../styles-uit"
|
import "../../styles-uit"
|
||||||
|
|
||||||
StackView {
|
StackView {
|
||||||
|
@ -17,6 +18,8 @@ StackView {
|
||||||
property var eventBridge;
|
property var eventBridge;
|
||||||
signal sendToScript(var message);
|
signal sendToScript(var message);
|
||||||
|
|
||||||
|
HifiConstants { id: hifi }
|
||||||
|
|
||||||
function pushSource(path) {
|
function pushSource(path) {
|
||||||
editRoot.push(Qt.resolvedUrl(path));
|
editRoot.push(Qt.resolvedUrl(path));
|
||||||
editRoot.currentItem.eventBridge = editRoot.eventBridge;
|
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