mirror of
https://github.com/lubosz/overte.git
synced 2025-04-25 12:52:52 +02:00
Merge pull request #15751 from zfox23/SUI/finalM1
DEV-128: Update settings screen with latest design
This commit is contained in:
commit
f360adccbc
11 changed files with 41 additions and 19 deletions
|
@ -88,7 +88,7 @@ Rectangle {
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
id: accent
|
id: accent
|
||||||
source: "../images/accent.svg"
|
source: "images/accent.svg"
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
width: 60
|
width: 60
|
||||||
|
|
Before Width: | Height: | Size: 268 B After Width: | Height: | Size: 268 B |
|
@ -165,11 +165,21 @@ Rectangle {
|
||||||
}
|
}
|
||||||
|
|
||||||
Image {
|
Image {
|
||||||
source: "../images/accent.svg"
|
source: {
|
||||||
|
if (root.activeTabView === "generalTabView") {
|
||||||
|
"images/accent1.svg"
|
||||||
|
} else if (root.activeTabView === "audioTabView") {
|
||||||
|
"images/accent2.svg"
|
||||||
|
} else if (root.activeTabView === "vrTabView") {
|
||||||
|
"images/accent3.svg"
|
||||||
|
} else {
|
||||||
|
"images/accent3.svg"
|
||||||
|
}
|
||||||
|
}
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.bottom: parent.bottom
|
anchors.top: tabContainer.bottom
|
||||||
width: 94
|
width: 106
|
||||||
height: 175
|
height: 200
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ Flickable {
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
HifiStylesUit.GraphikRegular {
|
HifiStylesUit.GraphikSemiBold {
|
||||||
id: volumeControlsTitle
|
id: volumeControlsTitle
|
||||||
text: "Volume Controls"
|
text: "Volume Controls"
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
|
@ -154,7 +154,7 @@ Flickable {
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
HifiStylesUit.GraphikRegular {
|
HifiStylesUit.GraphikSemiBold {
|
||||||
id: micControlsTitle
|
id: micControlsTitle
|
||||||
text: "Default Mute Controls"
|
text: "Default Mute Controls"
|
||||||
Layout.maximumWidth: parent.width
|
Layout.maximumWidth: parent.width
|
||||||
|
@ -196,7 +196,7 @@ Flickable {
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
HifiStylesUit.GraphikRegular {
|
HifiStylesUit.GraphikSemiBold {
|
||||||
id: inputDeviceTitle
|
id: inputDeviceTitle
|
||||||
text: "Which input device?"
|
text: "Which input device?"
|
||||||
Layout.maximumWidth: parent.width
|
Layout.maximumWidth: parent.width
|
||||||
|
@ -291,7 +291,7 @@ Flickable {
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
HifiStylesUit.GraphikRegular {
|
HifiStylesUit.GraphikSemiBold {
|
||||||
id: outputDeviceTitle
|
id: outputDeviceTitle
|
||||||
text: "Which output device?"
|
text: "Which output device?"
|
||||||
Layout.maximumWidth: parent.width
|
Layout.maximumWidth: parent.width
|
||||||
|
|
|
@ -47,7 +47,7 @@ Flickable {
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
HifiStylesUit.GraphikRegular {
|
HifiStylesUit.GraphikSemiBold {
|
||||||
id: uiControlsTitle
|
id: uiControlsTitle
|
||||||
text: "User Interface"
|
text: "User Interface"
|
||||||
Layout.maximumWidth: parent.width
|
Layout.maximumWidth: parent.width
|
||||||
|
|
|
@ -51,7 +51,7 @@ Flickable {
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
HifiStylesUit.GraphikRegular {
|
HifiStylesUit.GraphikSemiBold {
|
||||||
id: avatarNameTagsTitle
|
id: avatarNameTagsTitle
|
||||||
text: "Avatar Name Tags"
|
text: "Avatar Name Tags"
|
||||||
Layout.maximumWidth: parent.width
|
Layout.maximumWidth: parent.width
|
||||||
|
@ -99,7 +99,7 @@ Flickable {
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
HifiStylesUit.GraphikRegular {
|
HifiStylesUit.GraphikSemiBold {
|
||||||
id: performanceTitle
|
id: performanceTitle
|
||||||
text: "Graphics Settings"
|
text: "Graphics Settings"
|
||||||
Layout.maximumWidth: parent.width
|
Layout.maximumWidth: parent.width
|
||||||
|
@ -147,7 +147,7 @@ Flickable {
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
HifiStylesUit.GraphikRegular {
|
HifiStylesUit.GraphikSemiBold {
|
||||||
id: cameraTitle
|
id: cameraTitle
|
||||||
text: "Camera View"
|
text: "Camera View"
|
||||||
Layout.maximumWidth: parent.width
|
Layout.maximumWidth: parent.width
|
||||||
|
@ -199,7 +199,7 @@ Flickable {
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
width: paintedWidth
|
width: paintedWidth
|
||||||
height: paintedHeight
|
height: paintedHeight
|
||||||
size: 22
|
size: 14
|
||||||
color: simplifiedUI.colors.text.lightBlue
|
color: simplifiedUI.colors.text.lightBlue
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
<svg width="106" height="200" viewBox="0 0 106 200" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M0 0L106 -9.26681e-06L83.1739 10.0481L0 0Z" fill="#FFED00"/>
|
||||||
|
<path d="M83.1738 10.0481L106 -1.99552e-06L106 200L83.1738 10.0481Z" fill="#FF42A7"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 263 B |
|
@ -0,0 +1,4 @@
|
||||||
|
<svg width="106" height="200" viewBox="0 0 106 200" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M0 0L106 -9.26681e-06L83.1739 10.0481L0 0Z" fill="#FF42A7"/>
|
||||||
|
<path d="M83.1738 10.0481L106 -1.99552e-06L106 200L83.1738 10.0481Z" fill="#009EE0"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 263 B |
|
@ -0,0 +1,4 @@
|
||||||
|
<svg width="106" height="200" viewBox="0 0 106 200" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M0 0L106 -9.26681e-06L83.1739 10.0481L0 0Z" fill="#009EE0"/>
|
||||||
|
<path d="M83.1738 10.0481L106 -1.99552e-06L106 200L83.1738 10.0481Z" fill="#FFED00"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 263 B |
|
@ -57,7 +57,7 @@ Flickable {
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
HifiStylesUit.GraphikRegular {
|
HifiStylesUit.GraphikSemiBold {
|
||||||
id: controlsTitle
|
id: controlsTitle
|
||||||
text: "VR Movement Controls"
|
text: "VR Movement Controls"
|
||||||
Layout.maximumWidth: parent.width
|
Layout.maximumWidth: parent.width
|
||||||
|
@ -143,7 +143,7 @@ Flickable {
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
HifiStylesUit.GraphikRegular {
|
HifiStylesUit.GraphikSemiBold {
|
||||||
id: micControlsTitle
|
id: micControlsTitle
|
||||||
text: "Default Mute Controls"
|
text: "Default Mute Controls"
|
||||||
Layout.maximumWidth: parent.width
|
Layout.maximumWidth: parent.width
|
||||||
|
@ -185,7 +185,7 @@ Flickable {
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
HifiStylesUit.GraphikRegular {
|
HifiStylesUit.GraphikSemiBold {
|
||||||
id: inputDeviceTitle
|
id: inputDeviceTitle
|
||||||
text: "Which input device?"
|
text: "Which input device?"
|
||||||
Layout.maximumWidth: parent.width
|
Layout.maximumWidth: parent.width
|
||||||
|
@ -280,7 +280,7 @@ Flickable {
|
||||||
Layout.preferredWidth: parent.width
|
Layout.preferredWidth: parent.width
|
||||||
spacing: 0
|
spacing: 0
|
||||||
|
|
||||||
HifiStylesUit.GraphikRegular {
|
HifiStylesUit.GraphikSemiBold {
|
||||||
id: outputDeviceTitle
|
id: outputDeviceTitle
|
||||||
text: "Which output device?"
|
text: "Which output device?"
|
||||||
Layout.maximumWidth: parent.width
|
Layout.maximumWidth: parent.width
|
||||||
|
|
|
@ -183,7 +183,7 @@ QtObject {
|
||||||
|
|
||||||
readonly property QtObject settings: QtObject {
|
readonly property QtObject settings: QtObject {
|
||||||
property int subtitleTopMargin: 2
|
property int subtitleTopMargin: 2
|
||||||
property int settingsGroupTopMargin: 24
|
property int settingsGroupTopMargin: 14
|
||||||
property int spacingBetweenSettings: 48
|
property int spacingBetweenSettings: 48
|
||||||
property int spacingBetweenRadiobuttons: 14
|
property int spacingBetweenRadiobuttons: 14
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue