mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
better ui
This commit is contained in:
parent
767f413a2c
commit
6e2ffe14a0
2 changed files with 20 additions and 12 deletions
|
@ -12,9 +12,6 @@ import QtQuick 2.7
|
||||||
import QtQuick.Controls 1.4 as Original
|
import QtQuick.Controls 1.4 as Original
|
||||||
import QtQuick.Controls.Styles 1.4
|
import QtQuick.Controls.Styles 1.4
|
||||||
|
|
||||||
import stylesUit 1.0
|
|
||||||
import controlsUit 1.0 as HifiControls
|
|
||||||
|
|
||||||
import "../../prop" as Prop
|
import "../../prop" as Prop
|
||||||
|
|
||||||
import "../jet.js" as Jet
|
import "../jet.js" as Jet
|
||||||
|
@ -23,6 +20,8 @@ Prop.PropGroup {
|
||||||
|
|
||||||
id: root;
|
id: root;
|
||||||
|
|
||||||
|
Prop.Global { id: global;}
|
||||||
|
|
||||||
property var rootConfig : Render
|
property var rootConfig : Render
|
||||||
property var jobPath: ""
|
property var jobPath: ""
|
||||||
property alias label: root.label
|
property alias label: root.label
|
||||||
|
|
|
@ -8,23 +8,32 @@
|
||||||
// See the accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0.html
|
// See the accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0.html
|
||||||
//
|
//
|
||||||
import QtQuick 2.7
|
import QtQuick 2.7
|
||||||
import QtQuick.Controls 1.4
|
import QtQuick.Controls 2.5
|
||||||
import QtQuick.Layouts 1.3
|
import QtQuick.Layouts 1.3
|
||||||
|
|
||||||
import stylesUit 1.0
|
|
||||||
import controlsUit 1.0 as HifiControls
|
|
||||||
|
|
||||||
import "../lib/jet/qml" as Jet
|
import "../lib/jet/qml" as Jet
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
HifiConstants { id: hifi;}
|
anchors.fill: parent
|
||||||
id: root;
|
id: root;
|
||||||
anchors.fill: parent
|
|
||||||
|
|
||||||
property var rootConfig: Render.getConfig("")
|
property var rootConfig: Render.getConfig("")
|
||||||
|
|
||||||
Jet.TaskPropView {
|
ScrollView {
|
||||||
rootConfig: root.rootConfig
|
id: scrollView
|
||||||
anchors.fill: root
|
anchors.fill: parent
|
||||||
|
contentWidth: parent.width
|
||||||
|
clip: true
|
||||||
|
|
||||||
|
Column {
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
|
||||||
|
Jet.TaskPropView {
|
||||||
|
rootConfig: root.rootConfig
|
||||||
|
anchors.fill: root
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue