mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 05:58:27 +02:00
Working QML window
This commit is contained in:
parent
dec176b921
commit
43268c0f65
2 changed files with 6 additions and 7 deletions
|
@ -5,7 +5,7 @@ import QtWebChannel 1.0
|
||||||
import QtQuick.Controls 2.2
|
import QtQuick.Controls 2.2
|
||||||
|
|
||||||
import stylesUit 1.0 as StylesUIt
|
import stylesUit 1.0 as StylesUIt
|
||||||
import "../hifi/PermissionPopup.qml" as PermissionPopup
|
import "../hifi" as Controls
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: flick
|
id: flick
|
||||||
|
@ -141,7 +141,7 @@ Item {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
PermissionPopup {
|
Controls.PermissionPopup {
|
||||||
id: permissionPopup
|
id: permissionPopup
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,6 @@ Item {
|
||||||
width: 600
|
width: 600
|
||||||
height: 200
|
height: 200
|
||||||
z:100
|
z:100
|
||||||
HifiConstants { id: hifi }
|
|
||||||
|
|
||||||
// anchors.top: buttons.bottom
|
// anchors.top: buttons.bottom
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
@ -21,7 +20,7 @@ Item {
|
||||||
Row {
|
Row {
|
||||||
id: webAccessHeaderContainer
|
id: webAccessHeaderContainer
|
||||||
height: root.height * 0.30
|
height: root.height * 0.30
|
||||||
RalewayLight {
|
HifiStyles.RalewayLight {
|
||||||
id: webAccessHeaderText
|
id: webAccessHeaderText
|
||||||
text: "WEB CAMERA ACCESS REQUEST"
|
text: "WEB CAMERA ACCESS REQUEST"
|
||||||
width: mainContainer.width
|
width: mainContainer.width
|
||||||
|
@ -37,7 +36,7 @@ Item {
|
||||||
id: webAccessInfoContainer
|
id: webAccessInfoContainer
|
||||||
anchors.top: webAccessHeaderContainer.bottom
|
anchors.top: webAccessHeaderContainer.bottom
|
||||||
anchors.topMargin: 10
|
anchors.topMargin: 10
|
||||||
RalewayLight {
|
HifiStyles.RalewayLight {
|
||||||
width: mainContainer.width
|
width: mainContainer.width
|
||||||
id: webAccessInfoText
|
id: webAccessInfoText
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
|
@ -57,7 +56,7 @@ Item {
|
||||||
anchors.horizontalCenter: webAccessInfoContainer.horizontalCenter
|
anchors.horizontalCenter: webAccessInfoContainer.horizontalCenter
|
||||||
anchors.verticalCenter: webAccessInfoContainer.verticalCenter
|
anchors.verticalCenter: webAccessInfoContainer.verticalCenter
|
||||||
property real space: 5
|
property real space: 5
|
||||||
Button {
|
HifiControls.Button {
|
||||||
anchors.left: permissionsButtonRow.left
|
anchors.left: permissionsButtonRow.left
|
||||||
id: leftButton
|
id: leftButton
|
||||||
anchors.leftMargin: permissionsButtonRow.space
|
anchors.leftMargin: permissionsButtonRow.space
|
||||||
|
@ -68,7 +67,7 @@ Item {
|
||||||
enabled: true
|
enabled: true
|
||||||
width: 155
|
width: 155
|
||||||
}
|
}
|
||||||
Button {
|
HifiControls.Button {
|
||||||
id: rightButton
|
id: rightButton
|
||||||
anchors.left: leftButton.right
|
anchors.left: leftButton.right
|
||||||
anchors.leftMargin: permissionsButtonRow.space
|
anchors.leftMargin: permissionsButtonRow.space
|
||||||
|
|
Loading…
Reference in a new issue