5.6.2 (#612)
* add nlhomann json header * add get scene app fn * add get current binding and related logic * add save binding file to settings folder * apply binding fn added fixed uid bug * add button logic to QML, add enable Bind Setting * add finding logic for all custom bind * fix minor qml issues * fix get controllername bug, fix bug with save bind * fix regex issue * change webrequest for selectconfig * change to properly urlify path to send * fix race condition web requests * change steamvr tab qml formatting * change color scheme * change colors of icons to text color * change bind qml better for better ux * add possible workaround for space drag issues * add deact color to pushbutton * increment version * adjust button size in movecenter * move nlhomann json * fix PKGBUILD to include missing dependency (#606) (#613) It turns out qt5-websockets needs to be included for a successful build. Co-authored-by: James R <71466513+ColdIce1605@users.noreply.github.com> * fix warning * improved logging messages around perapp bindings * improve getsceneappID logging * add HMD based controller Finding * improve logging controller name * change logging around initial chaperone calibration * increment version * improve logging/error handling around sceneappid failures * added fallback for getting scene app by pid * update version string * update documentation Co-authored-by: James R <71466513+ColdIce1605@users.noreply.github.com>
This commit is contained in:
@@ -167,14 +167,14 @@ MyStackViewPage {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
ColumnLayout {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
@@ -364,7 +364,7 @@ MyStackViewPage {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
|
||||
@@ -372,7 +372,7 @@ MyStackViewPage {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
|
||||
@@ -409,11 +409,11 @@ MyStackViewPage {
|
||||
Rectangle {
|
||||
id: summaryVersionCheckTextRect
|
||||
visible: true
|
||||
color: "#1b2939"
|
||||
color: "#2a2e35"
|
||||
MyText {
|
||||
id: summaryVersionCheckText
|
||||
text: ""
|
||||
color: "#fffec8"
|
||||
color: "#3d4450"
|
||||
font.pointSize: 22
|
||||
minimumPointSize: 11
|
||||
fontSizeMode: Text.Fit
|
||||
@@ -451,7 +451,7 @@ MyStackViewPage {
|
||||
{
|
||||
summaryVersionCheckTextRect.color = "#ff0000"
|
||||
} else {
|
||||
summaryVersionCheckTextRect.color = "#1b2939"
|
||||
summaryVersionCheckTextRect.color = "#2a2e35"
|
||||
}
|
||||
|
||||
|
||||
@@ -478,7 +478,7 @@ MyStackViewPage {
|
||||
{
|
||||
summaryVersionCheckTextRect.color = "#ff0000"
|
||||
} else {
|
||||
summaryVersionCheckTextRect.color = "#1b2939"
|
||||
summaryVersionCheckTextRect.color = "#2a2e35"
|
||||
}
|
||||
}
|
||||
onVersionCheckTextChanged: {
|
||||
@@ -488,14 +488,14 @@ MyStackViewPage {
|
||||
if (OverlayController.disableVersionCheck)
|
||||
{
|
||||
summaryVersionCheckText.visible = false
|
||||
summaryVersionCheckTextRect.color = "#1b2939"
|
||||
summaryVersionCheckTextRect.color = "#2a2e35"
|
||||
} else {
|
||||
summaryVersionCheckText.visible = true
|
||||
if (OverlayController.newVersionDetected)
|
||||
{
|
||||
summaryVersionCheckTextRect.color = "#ff0000"
|
||||
} else {
|
||||
summaryVersionCheckTextRect.color = "#1b2939"
|
||||
summaryVersionCheckTextRect.color = "#2a2e35"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -157,7 +157,7 @@ MyStackViewPage {
|
||||
MyTextField {
|
||||
id: customTickRateText
|
||||
text: "20"
|
||||
keyBoardUID: 1001
|
||||
keyBoardUID: 501
|
||||
Layout.preferredWidth: 140
|
||||
Layout.leftMargin: 10
|
||||
Layout.rightMargin: 1
|
||||
@@ -200,7 +200,7 @@ MyStackViewPage {
|
||||
MyTextField {
|
||||
id: debugStateText
|
||||
text: "0"
|
||||
keyBoardUID: 1002
|
||||
keyBoardUID: 502
|
||||
Layout.preferredWidth: 140
|
||||
Layout.leftMargin: 10
|
||||
Layout.rightMargin: 1
|
||||
|
||||
@@ -47,7 +47,7 @@ MyStackViewPage {
|
||||
MyTextField {
|
||||
id: chaperoneNewProfileName
|
||||
keyBoardUID: 390
|
||||
color: "#cccccc"
|
||||
color: "#d9dbe0"
|
||||
text: ""
|
||||
Layout.fillWidth: true
|
||||
font.pointSize: 20
|
||||
|
||||
@@ -16,7 +16,7 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ GroupBox {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
|
||||
+2
-2
@@ -16,7 +16,7 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ GroupBox {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
|
||||
+2
-2
@@ -15,7 +15,7 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ GroupBox {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
|
||||
+2
-2
@@ -16,7 +16,7 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ GroupBox {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
|
||||
@@ -34,7 +34,7 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
|
||||
|
||||
@@ -40,10 +40,10 @@ MyComboBox {
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
text: parent.text
|
||||
color: parent.enabled ? "#ffffff" : "#909090"
|
||||
color: parent.enabled ? "#d9dbe0" : "#65676b"
|
||||
}
|
||||
background: Rectangle {
|
||||
color: parent.pressed ? "#406288" : (parent.hovered ? "#365473" : "#2c435d")
|
||||
color: parent.pressed ? "#282b31" : (parent.hovered ? "#484f5b" : "#2a2e35")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ import ".."
|
||||
// Insert inside a ColumnLayout containing this and a RowLayout
|
||||
// to neatly separate header and buttons.
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
|
||||
@@ -76,10 +76,10 @@ MyComboBox {
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
text: parent.text
|
||||
color: parent.enabled ? "#ffffff" : "#909090"
|
||||
color: parent.enabled ? "#d9dbe0" : "#65676b"
|
||||
}
|
||||
background: Rectangle {
|
||||
color: parent.pressed ? "#406288" : (parent.hovered ? "#365473" : "#2c435d")
|
||||
color: parent.pressed ? "#282b31" : (parent.hovered ? "#484f5b" : "#2a2e35")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ ComboBox {
|
||||
id: myComboBox
|
||||
hoverEnabled: true
|
||||
background: Rectangle {
|
||||
color: parent.pressed ? "#406288" : (parent.activeFocus ? "#365473" : "#2c435d")
|
||||
color: parent.pressed ? "#181a1e" : (parent.activeFocus ? "#586170" : "#3d4450")
|
||||
}
|
||||
|
||||
contentItem: MyText {
|
||||
@@ -27,10 +27,10 @@ ComboBox {
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
text: parent.text
|
||||
color: parent.enabled ? "#ffffff" : "#909090"
|
||||
color: parent.enabled ? "#d9dbe0" : "#65676b"
|
||||
}
|
||||
background: Rectangle {
|
||||
color: parent.pressed ? "#406288" : (parent.hovered ? "#365473" : "#2c435d")
|
||||
color: parent.pressed ? "#181a1e" : (parent.hovered ? "#586170" : "#3d4450")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,6 +68,6 @@ ComboBox {
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
popup.background.color = "#2c435d"
|
||||
popup.background.color = "#2a2e35"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,8 +35,8 @@ Popup {
|
||||
implicitHeight: dialogHeight
|
||||
anchors.centerIn: parent
|
||||
radius: 24
|
||||
color: "#1b2939"
|
||||
border.color: "#cccccc"
|
||||
color: "#2a2e35"
|
||||
border.color: "#d9dbe0"
|
||||
border.width: 2
|
||||
ColumnLayout {
|
||||
anchors.fill: parent
|
||||
@@ -47,7 +47,7 @@ Popup {
|
||||
text: dialogTitle
|
||||
}
|
||||
Rectangle {
|
||||
color: "#cccccc"
|
||||
color: "#2a2e35"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
@@ -35,8 +35,8 @@ Popup {
|
||||
implicitHeight: dialogHeight
|
||||
anchors.centerIn: parent
|
||||
radius: 24
|
||||
color: "#1b2939"
|
||||
border.color: "#cccccc"
|
||||
color: "#2a2e35"
|
||||
border.color: "#d9dbe0"
|
||||
border.width: 2
|
||||
ColumnLayout {
|
||||
anchors.fill: parent
|
||||
@@ -47,7 +47,7 @@ Popup {
|
||||
text: dialogTitle
|
||||
}
|
||||
Rectangle {
|
||||
color: "#cccccc"
|
||||
color: "#2a2e35"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
@@ -13,10 +13,10 @@ Button {
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
text: parent.text
|
||||
color: parent.enabled ? "#ffffff" : "#909090"
|
||||
color: parent.enabled ? "#d9dbe0" : "#65676b"
|
||||
}
|
||||
background: Rectangle {
|
||||
color: parent.down ? "#406288" : (parent.activeFocus ? "#365473" : "#2c435d")
|
||||
color: parent.enabled? (parent.down ? "#181a1e" : (parent.activeFocus ? "#586170" : "#3d4450")): "#181a1e"
|
||||
}
|
||||
|
||||
Image {
|
||||
|
||||
@@ -8,11 +8,11 @@ Button {
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
text: parent.text
|
||||
color: parent.enabled ? "#ffffff" : "#909090"
|
||||
color: parent.enabled ? "#d9dbe0" : "#65676b"
|
||||
}
|
||||
background: Rectangle {
|
||||
color: parent.down ? "#406288" : (parent.activeFocus ? "#365473" : "transparent")
|
||||
border.color: parent.enabled ? "#ffffff" : "#909090"
|
||||
color: parent.down ? "#282b31" : (parent.activeFocus ? "#484f5b" : "transparent")
|
||||
border.color: parent.enabled ? "#d9dbe0" : "#65676b"
|
||||
radius: 8
|
||||
}
|
||||
onHoveredChanged: {
|
||||
|
||||
@@ -8,7 +8,7 @@ RadioButton {
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
text: parent.text
|
||||
color: parent.enabled ? "#ffffff" : "#909090"
|
||||
color: parent.enabled ? "#d9dbe0" : "#65676b"
|
||||
}
|
||||
onHoveredChanged: {
|
||||
if (hovered) {
|
||||
|
||||
@@ -17,14 +17,14 @@ Slider {
|
||||
width: parent.availableWidth
|
||||
height: parent.availableHeight
|
||||
radius: 2
|
||||
color: parent.activeFocus ? "#2c435d" : "#1b2939"
|
||||
color: parent.activeFocus ? "#484f5b" : "#2a2e35"
|
||||
Rectangle {
|
||||
y: parent.height / 2 - height / 2
|
||||
implicitHeight: 4
|
||||
width: parent.width
|
||||
height: implicitHeight
|
||||
radius: 2
|
||||
color: "#bdbebf"
|
||||
color: "#181a1e"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,8 +34,8 @@ Slider {
|
||||
implicitWidth: 20
|
||||
implicitHeight: 40
|
||||
radius: 4
|
||||
color: parent.pressed ? "#ffffff" : "#eeeeee"
|
||||
border.color: "#bdbebf"
|
||||
color: parent.pressed ? "#586170" : "#3d4450"
|
||||
border.color: "#181a1e"
|
||||
}
|
||||
|
||||
onHoveredChanged: {
|
||||
|
||||
@@ -6,7 +6,7 @@ import "." // QTBUG-34418, singletons require explicit import to load qmldir fil
|
||||
import ".."
|
||||
|
||||
Rectangle {
|
||||
color: "#1b2939"
|
||||
color: "#2a2e35"
|
||||
width: 1200
|
||||
height: 800
|
||||
|
||||
@@ -33,7 +33,7 @@ Rectangle {
|
||||
}
|
||||
background: Rectangle {
|
||||
opacity: parent.down ? 1.0 : (parent.activeFocus ? 0.5 : 0.0)
|
||||
color: "#406288"
|
||||
color: "#2a2e35"
|
||||
radius: 4
|
||||
anchors.fill: parent
|
||||
}
|
||||
|
||||
@@ -3,6 +3,6 @@ import QtQuick.Controls 2.0
|
||||
|
||||
|
||||
Text {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
font.pointSize: 20
|
||||
}
|
||||
|
||||
@@ -6,14 +6,14 @@ TextField {
|
||||
property int keyBoardUID: 0
|
||||
property string savedText: ""
|
||||
id: myTextField
|
||||
color: "#cccccc"
|
||||
color: "#d9dbe0"
|
||||
text: ""
|
||||
font.pointSize: 20
|
||||
background: Button {
|
||||
hoverEnabled: true
|
||||
background: Rectangle {
|
||||
color: parent.hovered ? "#2c435d" : "#1b2939"
|
||||
border.color: "#cccccc"
|
||||
color: parent.hovered ? "#484f5b" : "#2a2e35"
|
||||
border.color: "#d9dbe0"
|
||||
border.width: 2
|
||||
}
|
||||
onClicked: {
|
||||
|
||||
@@ -15,7 +15,7 @@ CheckBox {
|
||||
implicitHeight: 28
|
||||
x: parent.leftPadding
|
||||
y: parent.height / 2 - height / 2
|
||||
color: parent.enabled ? (parent.down ? "#e0e0e0" : "#ffffff") : "#a0a0a0"
|
||||
color: parent.enabled ? (parent.down ? "#181a1e" : "#3d4450") : "#181a1e"
|
||||
border.width: 0
|
||||
Path {
|
||||
startX: 0
|
||||
@@ -43,11 +43,11 @@ CheckBox {
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
leftPadding: parent.indicator.width + parent.spacing
|
||||
color: parent.enabled ? "#ffffff" : "#909090"
|
||||
color: parent.enabled ? "#d9dbe0" : "#65676b"
|
||||
}
|
||||
|
||||
background: Rectangle {
|
||||
color: "#2c435d"
|
||||
color: "#2a2e35"
|
||||
opacity: parent.activeFocus ? 1.0 : 0
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import "../steamvr_page/steamvr_additional"
|
||||
|
||||
Rectangle {
|
||||
id: root
|
||||
color: "#1b2939"
|
||||
color: "#2a2e35"
|
||||
width: 1200
|
||||
height: 800
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ GroupBox {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
|
||||
@@ -15,7 +15,7 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ GroupBox {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
|
||||
@@ -15,7 +15,7 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ GroupBox {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
@@ -89,6 +89,14 @@ GroupBox {
|
||||
}
|
||||
}
|
||||
RowLayout{
|
||||
MyPushButton{
|
||||
text:"Ignore Boundary State"
|
||||
Layout.preferredWidth: 300
|
||||
onClicked:{
|
||||
MoveCenterTabController.setIgnoreChaperoneState();
|
||||
}
|
||||
}
|
||||
|
||||
Item{
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ GroupBox {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 3
|
||||
|
||||
@@ -15,7 +15,7 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ GroupBox {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 3
|
||||
|
||||
@@ -15,7 +15,7 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ GroupBox {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 3
|
||||
|
||||
@@ -5,6 +5,7 @@ import ovras.advsettings 1.0
|
||||
import "../common"
|
||||
import "camera"
|
||||
import "steamvrmisc"
|
||||
import "steamvrbind"
|
||||
|
||||
MyStackViewPage {
|
||||
width: 1200
|
||||
@@ -17,6 +18,9 @@ MyStackViewPage {
|
||||
id: steamVRMiscGroupBox}
|
||||
CameraGroupBox {
|
||||
id: cameraGroupBox}
|
||||
SteamVRBindGroupBox{
|
||||
id: steamVRBindGroupBox
|
||||
}
|
||||
|
||||
Item { Layout.fillHeight: true; Layout.fillWidth: true}
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ GroupBox {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
|
||||
@@ -102,14 +102,14 @@ MyStackViewPage {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
ColumnLayout{
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
|
||||
@@ -0,0 +1,138 @@
|
||||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.0
|
||||
import QtQuick.Layouts 1.3
|
||||
import ovras.advsettings 1.0
|
||||
import "../../common"
|
||||
|
||||
GroupBox {
|
||||
id: steamVRBindGroupBox
|
||||
Layout.fillWidth: true
|
||||
|
||||
label:
|
||||
MyText {
|
||||
leftPadding: 10
|
||||
text: "Binds:"
|
||||
bottomPadding: -10
|
||||
}
|
||||
|
||||
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
spacing: 16
|
||||
|
||||
MyToggleButton {
|
||||
id: steamvrBindingToggle
|
||||
text: "Enable Per-App"
|
||||
Layout.preferredWidth: 250
|
||||
onCheckedChanged: {
|
||||
SteamVRTabController.setPerAppBindEnabled(this.checked, false)
|
||||
if(!steamvrBindingToggle.checked){
|
||||
appSelect.enabled = false;
|
||||
setDefaultBtn.enabled = false;
|
||||
setBinding.enabled = false;
|
||||
}else{
|
||||
appSelect.enabled = true;
|
||||
setDefaultBtn.enabled = true;
|
||||
setBinding.enabled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
MyText {
|
||||
Layout.preferredWidth: 0
|
||||
text: " "
|
||||
}
|
||||
|
||||
MyText {
|
||||
text: "Application: "
|
||||
Layout.preferredWidth: 150
|
||||
horizontalAlignment: Text.AlignRight
|
||||
Layout.rightMargin: 2
|
||||
}
|
||||
MyTextField {
|
||||
id: appSelect
|
||||
Layout.fillWidth: true
|
||||
text: "steam.overlay.1009850"
|
||||
keyBoardUID: 201
|
||||
Layout.leftMargin: 10
|
||||
Layout.rightMargin: 10
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
function onInputEvent(input) {
|
||||
this.text = input
|
||||
}
|
||||
}
|
||||
MyPushButton {
|
||||
id: bindingsButton
|
||||
activationSoundEnabled: false
|
||||
text: "Open Bindings"
|
||||
Layout.preferredWidth: 180
|
||||
onClicked: {
|
||||
SteamVRTabController.launchBindingUI()
|
||||
}
|
||||
}
|
||||
}
|
||||
RowLayout {
|
||||
spacing: 16
|
||||
MyText {
|
||||
text: "Save Current Binding of Selected App: "
|
||||
Layout.preferredWidth: 500
|
||||
horizontalAlignment: Text.AlignLeft
|
||||
Layout.rightMargin: 2
|
||||
}
|
||||
MyPushButton {
|
||||
id: setBinding
|
||||
text:"For Current Game"
|
||||
onClicked: {
|
||||
SteamVRTabController.setBindingQMLWrapper(appSelect.text)
|
||||
}
|
||||
}
|
||||
MyText {
|
||||
Layout.preferredWidth: 50
|
||||
text: " "
|
||||
}
|
||||
MyPushButton {
|
||||
id: setDefaultBtn
|
||||
text:"As Default"
|
||||
onClicked: {
|
||||
SteamVRTabController.setBindingQMLWrapper(appSelect.text,true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
steamvrBindingToggle.checked = SteamVRTabController.perAppBindEnabled
|
||||
if(!steamvrBindingToggle.checked){
|
||||
appSelect.enabled = false;
|
||||
setDefaultBtn.enabled = false;
|
||||
setBinding.enabled = false;
|
||||
}else{
|
||||
appSelect.enabled = true;
|
||||
setDefaultBtn.enabled = true;
|
||||
setBinding.enabled = true;
|
||||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: SteamVRTabController
|
||||
onPerformanceGraphChanged:{
|
||||
steamvrBindingToggle.checked = SteamVRTabController.perAppBindEnabled
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -15,7 +15,7 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ GroupBox {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
|
||||
@@ -15,7 +15,7 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
ColumnLayout {
|
||||
|
||||
@@ -15,14 +15,14 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
ColumnLayout {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
|
||||
@@ -30,7 +30,7 @@ MyPushButton2 {
|
||||
background: Rectangle {
|
||||
// Provides feedback for mousing over and clicking buttons.
|
||||
opacity: parent.down ? 1.0 : (parent.activeFocus ? 0.5 : 0.0)
|
||||
color: "#406288"
|
||||
color: "#3d4450"
|
||||
radius: 4
|
||||
anchors.fill: parent
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
ColumnLayout {
|
||||
|
||||
@@ -15,7 +15,7 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ GroupBox {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
|
||||
@@ -15,7 +15,7 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ GroupBox {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
|
||||
@@ -22,7 +22,7 @@ MyDialogOkCancelPopup {
|
||||
MyTextField {
|
||||
id: videoNewProfileName
|
||||
keyBoardUID: 990
|
||||
color: "#cccccc"
|
||||
color: "#d9dbe0"
|
||||
text: ""
|
||||
Layout.fillWidth: true
|
||||
font.pointSize: 20
|
||||
|
||||
@@ -15,7 +15,7 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ GroupBox {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
|
||||
@@ -15,7 +15,7 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ GroupBox {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
|
||||
@@ -27,14 +27,14 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
ColumnLayout {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
|
||||
@@ -15,7 +15,7 @@ GroupBox {
|
||||
}
|
||||
background: Rectangle {
|
||||
color: "transparent"
|
||||
border.color: "#ffffff"
|
||||
border.color: "#d9dbe0"
|
||||
radius: 8
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ GroupBox {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
color: "#ffffff"
|
||||
color: "#d9dbe0"
|
||||
height: 1
|
||||
Layout.fillWidth: true
|
||||
Layout.bottomMargin: 5
|
||||
|
||||
Reference in New Issue
Block a user