Clean up offsets tab ui
This commit is contained in:
@@ -6,7 +6,7 @@ import "common"
|
||||
|
||||
|
||||
MyStackViewPage {
|
||||
headerText: "Space Settings"
|
||||
headerText: "Space Offsets"
|
||||
|
||||
content: ColumnLayout {
|
||||
spacing: 18
|
||||
@@ -314,19 +314,6 @@ MyStackViewPage {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
MyToggleButton {
|
||||
id: spaceRotateHandToggle
|
||||
text: "Enable Space-Turn Binding"
|
||||
onCheckedChanged: {
|
||||
MoveCenterTabController.rotateHand = this.checked
|
||||
}
|
||||
}
|
||||
|
||||
MyText {
|
||||
text: "Note: TurnSignal will ignore turning during Space-Turn rotation."
|
||||
font.pointSize: 15.0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -344,27 +331,6 @@ MyStackViewPage {
|
||||
border.color: "#ffffff"
|
||||
radius: 8
|
||||
}
|
||||
ColumnLayout {
|
||||
RowLayout {
|
||||
Layout.fillWidth: true
|
||||
|
||||
MyToggleButton {
|
||||
id: moveShortcutLeft
|
||||
text: "Enable Left Hand"
|
||||
onCheckedChanged: {
|
||||
MoveCenterTabController.moveShortcutLeft = this.checked
|
||||
}
|
||||
}
|
||||
|
||||
MyToggleButton {
|
||||
id: moveShortcutRight
|
||||
text: "Enable Right Hand"
|
||||
onCheckedChanged: {
|
||||
MoveCenterTabController.moveShortcutRight = this.checked
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
@@ -397,13 +363,10 @@ MyStackViewPage {
|
||||
|
||||
Component.onCompleted: {
|
||||
spaceAdjustChaperoneToggle.checked = MoveCenterTabController.adjustChaperone
|
||||
spaceRotateHandToggle.checked = MoveCenterTabController.rotateHand
|
||||
spaceMoveXText.text = MoveCenterTabController.offsetX.toFixed(2)
|
||||
spaceMoveYText.text = MoveCenterTabController.offsetY.toFixed(2)
|
||||
spaceMoveZText.text = MoveCenterTabController.offsetZ.toFixed(2)
|
||||
spaceRotationSlider.value = MoveCenterTabController.rotation
|
||||
moveShortcutRight.checked = MoveCenterTabController.moveShortcutRight
|
||||
moveShortcutLeft.checked = MoveCenterTabController.moveShortcutLeft
|
||||
lockXToggle.checked = MoveCenterTabController.lockXToggle
|
||||
lockYToggle.checked = MoveCenterTabController.lockYToggle
|
||||
lockZToggle.checked = MoveCenterTabController.lockZToggle
|
||||
@@ -445,15 +408,6 @@ MyStackViewPage {
|
||||
}
|
||||
onAdjustChaperoneChanged: {
|
||||
spaceAdjustChaperoneToggle.checked = MoveCenterTabController.adjustChaperone
|
||||
}
|
||||
onRotateHandChanged: {
|
||||
spaceRotateHandToggle.checked = MoveCenterTabController.rotateHand
|
||||
}
|
||||
onMoveShortcutRightChanged: {
|
||||
moveShortcutRight.checked = MoveCenterTabController.moveShortcutRight
|
||||
}
|
||||
onMoveShortcutLeftChanged: {
|
||||
moveShortcutLeft.checked = MoveCenterTabController.moveShortcutLeft
|
||||
}
|
||||
onLockXToggleChanged: {
|
||||
lockXToggle.checked = MoveCenterTabController.lockXToggle
|
||||
|
||||
Reference in New Issue
Block a user