mirror of
https://github.com/overte-org/overte.git
synced 2025-07-16 14:56:46 +02:00
It's working
This commit is contained in:
parent
4c006c50aa
commit
3de9f44bf3
1 changed files with 137 additions and 53 deletions
|
@ -21,7 +21,7 @@ Item {
|
|||
property int mainTextSize: 18
|
||||
property int subTextSize: 14
|
||||
property color separatorColor: "#CCCCCC"
|
||||
height: controlsTableColumnLayout.height
|
||||
Layout.preferredHeight: controlsTableColumnLayout.height
|
||||
|
||||
// Top separator
|
||||
Rectangle {
|
||||
|
@ -43,7 +43,8 @@ Item {
|
|||
|
||||
// Bottom separator
|
||||
Rectangle {
|
||||
anchors.bottom: controlsTableColumnLayout.bottom
|
||||
anchors.top: controlsTableColumnLayout.top
|
||||
anchors.topMargin: controlsTableRoot.height
|
||||
anchors.left: controlsTableColumnLayout.left
|
||||
width: parent.width
|
||||
height: 1
|
||||
|
@ -68,11 +69,11 @@ Item {
|
|||
|
||||
Row {
|
||||
Layout.preferredWidth: parent.width
|
||||
height: controlsTableRoot.rowHeight
|
||||
Layout.preferredHeight: controlsTableRoot.rowHeight
|
||||
|
||||
Item {
|
||||
width: controlsTableRoot.column1Width
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
|
||||
Image {
|
||||
source: "images/rightClick.svg"
|
||||
|
@ -92,9 +93,15 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
// Spacer
|
||||
Item {
|
||||
width: controlsTableRoot.rowPadding
|
||||
height: parent.height
|
||||
}
|
||||
|
||||
Row {
|
||||
width: controlsTableRoot.column2Width
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
spacing: controlsTableRoot.rowPadding
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
|
@ -110,7 +117,7 @@ Item {
|
|||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "Right-click and drag to look around"
|
||||
width: parent.width - cameraText.width - parent.spacing
|
||||
width: parent.width - cameraText.width - parent.spacing - controlsTableRoot.rowPadding
|
||||
height: parent.height
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
|
@ -121,17 +128,24 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
// Bottom separator
|
||||
Rectangle {
|
||||
Layout.preferredWidth: parent.width
|
||||
Layout.preferredHeight: 1
|
||||
color: controlsTableRoot.separatorColor
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Row {
|
||||
Layout.preferredWidth: parent.width
|
||||
height: controlsTableRoot.rowHeight
|
||||
Layout.preferredHeight: controlsTableRoot.rowHeight
|
||||
|
||||
Item {
|
||||
width: controlsTableRoot.column1Width
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "W / ↑"
|
||||
|
@ -154,13 +168,13 @@ Item {
|
|||
// Spacer
|
||||
Item {
|
||||
width: controlsTableRoot.rowPadding
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
}
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "Walk Forward"
|
||||
width: controlsTableRoot.column2Width - controlsTableRoot.rowPadding * 2
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
size: controlsTableRoot.mainTextSize
|
||||
|
@ -168,17 +182,24 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
// Bottom separator
|
||||
Rectangle {
|
||||
Layout.preferredWidth: parent.width
|
||||
Layout.preferredHeight: 1
|
||||
color: controlsTableRoot.separatorColor
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Row {
|
||||
Layout.preferredWidth: parent.width
|
||||
height: controlsTableRoot.rowHeight
|
||||
Layout.preferredHeight: controlsTableRoot.rowHeight
|
||||
|
||||
Item {
|
||||
width: controlsTableRoot.column1Width
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "S / ↓"
|
||||
|
@ -201,13 +222,13 @@ Item {
|
|||
// Spacer
|
||||
Item {
|
||||
width: controlsTableRoot.rowPadding
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
}
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "Walk Backward"
|
||||
width: controlsTableRoot.column2Width - controlsTableRoot.rowPadding * 2
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
size: controlsTableRoot.mainTextSize
|
||||
|
@ -215,17 +236,24 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
// Bottom separator
|
||||
Rectangle {
|
||||
Layout.preferredWidth: parent.width
|
||||
Layout.preferredHeight: 1
|
||||
color: controlsTableRoot.separatorColor
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Row {
|
||||
Layout.preferredWidth: parent.width
|
||||
height: controlsTableRoot.rowHeight
|
||||
Layout.preferredHeight: controlsTableRoot.rowHeight
|
||||
|
||||
Item {
|
||||
width: controlsTableRoot.column1Width
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "A / ←"
|
||||
|
@ -248,13 +276,13 @@ Item {
|
|||
// Spacer
|
||||
Item {
|
||||
width: controlsTableRoot.rowPadding
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
}
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "Turn Left"
|
||||
width: controlsTableRoot.column2Width - controlsTableRoot.rowPadding * 2
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
size: controlsTableRoot.mainTextSize
|
||||
|
@ -262,17 +290,24 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
// Bottom separator
|
||||
Rectangle {
|
||||
Layout.preferredWidth: parent.width
|
||||
Layout.preferredHeight: 1
|
||||
color: controlsTableRoot.separatorColor
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Row {
|
||||
Layout.preferredWidth: parent.width
|
||||
height: controlsTableRoot.rowHeight
|
||||
Layout.preferredHeight: controlsTableRoot.rowHeight
|
||||
|
||||
Item {
|
||||
width: controlsTableRoot.column1Width
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "A / →"
|
||||
|
@ -295,13 +330,13 @@ Item {
|
|||
// Spacer
|
||||
Item {
|
||||
width: controlsTableRoot.rowPadding
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
}
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "Turn Right"
|
||||
width: controlsTableRoot.column2Width - controlsTableRoot.rowPadding * 2
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
size: controlsTableRoot.mainTextSize
|
||||
|
@ -309,17 +344,24 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
// Bottom separator
|
||||
Rectangle {
|
||||
Layout.preferredWidth: parent.width
|
||||
Layout.preferredHeight: 1
|
||||
color: controlsTableRoot.separatorColor
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Row {
|
||||
Layout.preferredWidth: parent.width
|
||||
height: controlsTableRoot.rowHeight
|
||||
Layout.preferredHeight: controlsTableRoot.rowHeight
|
||||
|
||||
Item {
|
||||
width: controlsTableRoot.column1Width
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "Q"
|
||||
|
@ -342,13 +384,13 @@ Item {
|
|||
// Spacer
|
||||
Item {
|
||||
width: controlsTableRoot.rowPadding
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
}
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "Sidestep Left"
|
||||
width: controlsTableRoot.column2Width - controlsTableRoot.rowPadding * 2
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
size: controlsTableRoot.mainTextSize
|
||||
|
@ -356,17 +398,24 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
// Bottom separator
|
||||
Rectangle {
|
||||
Layout.preferredWidth: parent.width
|
||||
Layout.preferredHeight: 1
|
||||
color: controlsTableRoot.separatorColor
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Row {
|
||||
Layout.preferredWidth: parent.width
|
||||
height: controlsTableRoot.rowHeight
|
||||
Layout.preferredHeight: controlsTableRoot.rowHeight
|
||||
|
||||
Item {
|
||||
width: controlsTableRoot.column1Width
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "E"
|
||||
|
@ -389,13 +438,13 @@ Item {
|
|||
// Spacer
|
||||
Item {
|
||||
width: controlsTableRoot.rowPadding
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
}
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "Sidestep Right"
|
||||
width: controlsTableRoot.column2Width - controlsTableRoot.rowPadding * 2
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
size: controlsTableRoot.mainTextSize
|
||||
|
@ -403,17 +452,24 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
// Bottom separator
|
||||
Rectangle {
|
||||
Layout.preferredWidth: parent.width
|
||||
Layout.preferredHeight: 1
|
||||
color: controlsTableRoot.separatorColor
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Row {
|
||||
Layout.preferredWidth: parent.width
|
||||
height: controlsTableRoot.rowHeight
|
||||
Layout.preferredHeight: controlsTableRoot.rowHeight
|
||||
|
||||
Item {
|
||||
width: controlsTableRoot.column1Width
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "Shift"
|
||||
|
@ -436,12 +492,12 @@ Item {
|
|||
// Spacer
|
||||
Item {
|
||||
width: controlsTableRoot.rowPadding
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
}
|
||||
|
||||
Row {
|
||||
width: controlsTableRoot.column2Width
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
spacing: controlsTableRoot.rowPadding
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
|
@ -457,7 +513,7 @@ Item {
|
|||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "Example: Shift + W"
|
||||
width: parent.width - runText.width - parent.spacing
|
||||
width: parent.width - runText.width - parent.spacing - controlsTableRoot.rowPadding
|
||||
height: parent.height
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
|
@ -468,17 +524,24 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
// Bottom separator
|
||||
Rectangle {
|
||||
Layout.preferredWidth: parent.width
|
||||
Layout.preferredHeight: 1
|
||||
color: controlsTableRoot.separatorColor
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Row {
|
||||
Layout.preferredWidth: parent.width
|
||||
height: controlsTableRoot.rowHeight
|
||||
Layout.preferredHeight: controlsTableRoot.rowHeight
|
||||
|
||||
Item {
|
||||
width: controlsTableRoot.column1Width
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "Space"
|
||||
|
@ -501,12 +564,12 @@ Item {
|
|||
// Spacer
|
||||
Item {
|
||||
width: controlsTableRoot.rowPadding
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
}
|
||||
|
||||
Row {
|
||||
width: controlsTableRoot.column2Width
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
spacing: controlsTableRoot.rowPadding
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
|
@ -522,7 +585,7 @@ Item {
|
|||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "Stand Up only while seated"
|
||||
width: parent.width - jumpText.width - parent.spacing
|
||||
width: parent.width - jumpText.width - parent.spacing - controlsTableRoot.rowPadding
|
||||
height: parent.height
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
|
@ -533,17 +596,24 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
// Bottom separator
|
||||
Rectangle {
|
||||
Layout.preferredWidth: parent.width
|
||||
Layout.preferredHeight: 1
|
||||
color: controlsTableRoot.separatorColor
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Row {
|
||||
Layout.preferredWidth: parent.width
|
||||
height: controlsTableRoot.rowHeight
|
||||
Layout.preferredHeight: controlsTableRoot.rowHeight
|
||||
|
||||
Item {
|
||||
width: controlsTableRoot.column1Width
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "1"
|
||||
|
@ -566,13 +636,13 @@ Item {
|
|||
// Spacer
|
||||
Item {
|
||||
width: controlsTableRoot.rowPadding
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
}
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "1st Person View"
|
||||
width: controlsTableRoot.column2Width - controlsTableRoot.rowPadding * 2
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
size: controlsTableRoot.mainTextSize
|
||||
|
@ -580,17 +650,24 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
// Bottom separator
|
||||
Rectangle {
|
||||
Layout.preferredWidth: parent.width
|
||||
Layout.preferredHeight: 1
|
||||
color: controlsTableRoot.separatorColor
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Row {
|
||||
Layout.preferredWidth: parent.width
|
||||
height: controlsTableRoot.rowHeight
|
||||
Layout.preferredHeight: controlsTableRoot.rowHeight
|
||||
|
||||
Item {
|
||||
width: controlsTableRoot.column1Width
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "2"
|
||||
|
@ -613,12 +690,12 @@ Item {
|
|||
// Spacer
|
||||
Item {
|
||||
width: controlsTableRoot.rowPadding
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
}
|
||||
|
||||
Row {
|
||||
width: controlsTableRoot.column2Width
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
spacing: controlsTableRoot.rowPadding
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
|
@ -634,7 +711,7 @@ Item {
|
|||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "See your own avatar"
|
||||
width: parent.width - mirrorText.width - parent.spacing
|
||||
width: parent.width - mirrorText.width - parent.spacing - controlsTableRoot.rowPadding
|
||||
height: parent.height
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
|
@ -645,17 +722,24 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
// Bottom separator
|
||||
Rectangle {
|
||||
Layout.preferredWidth: parent.width
|
||||
Layout.preferredHeight: 1
|
||||
color: controlsTableRoot.separatorColor
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Row {
|
||||
Layout.preferredWidth: parent.width
|
||||
height: controlsTableRoot.rowHeight
|
||||
Layout.preferredHeight: controlsTableRoot.rowHeight
|
||||
|
||||
Item {
|
||||
width: controlsTableRoot.column1Width
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "3"
|
||||
|
@ -678,13 +762,13 @@ Item {
|
|||
// Spacer
|
||||
Item {
|
||||
width: controlsTableRoot.rowPadding
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
}
|
||||
|
||||
HifiStylesUit.GraphikRegular {
|
||||
text: "3rd Person View"
|
||||
width: controlsTableRoot.column2Width - controlsTableRoot.rowPadding * 2
|
||||
height: controlsTableRoot.rowHeight
|
||||
height: parent.height
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
size: controlsTableRoot.mainTextSize
|
||||
|
|
Loading…
Reference in a new issue