mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-03 16:25:54 +00:00
Hide irrelevant options on embedded devices
This commit is contained in:
parent
11d274ff07
commit
724dcb557f
@ -519,6 +519,7 @@ Flickable {
|
|||||||
text: qsTr("Display mode")
|
text: qsTr("Display mode")
|
||||||
font.pointSize: 12
|
font.pointSize: 12
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
|
visible: SystemProperties.hasWindowManager
|
||||||
}
|
}
|
||||||
|
|
||||||
AutoResizingComboBox {
|
AutoResizingComboBox {
|
||||||
@ -551,7 +552,8 @@ Flickable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
id: windowModeComboBox
|
id: windowModeComboBox
|
||||||
enabled: SystemProperties.hasWindowManager && !SystemProperties.rendererAlwaysFullScreen
|
visible: SystemProperties.hasWindowManager
|
||||||
|
enabled: !SystemProperties.rendererAlwaysFullScreen
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
textRole: "text"
|
textRole: "text"
|
||||||
model: ListModel {
|
model: ListModel {
|
||||||
@ -695,6 +697,7 @@ Flickable {
|
|||||||
width: parent.width
|
width: parent.width
|
||||||
text: qsTr("Mute audio stream when Moonlight is not the active window")
|
text: qsTr("Mute audio stream when Moonlight is not the active window")
|
||||||
font.pointSize: 12
|
font.pointSize: 12
|
||||||
|
visible: SystemProperties.hasWindowManager
|
||||||
checked: StreamingPreferences.muteOnFocusLoss
|
checked: StreamingPreferences.muteOnFocusLoss
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
StreamingPreferences.muteOnFocusLoss = checked
|
StreamingPreferences.muteOnFocusLoss = checked
|
||||||
@ -725,6 +728,7 @@ Flickable {
|
|||||||
text: qsTr("GUI display mode")
|
text: qsTr("GUI display mode")
|
||||||
font.pointSize: 12
|
font.pointSize: 12
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
|
visible: SystemProperties.hasWindowManager
|
||||||
}
|
}
|
||||||
|
|
||||||
AutoResizingComboBox {
|
AutoResizingComboBox {
|
||||||
@ -750,7 +754,7 @@ Flickable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
id: uiDisplayModeComboBox
|
id: uiDisplayModeComboBox
|
||||||
enabled: SystemProperties.hasWindowManager
|
visible: SystemProperties.hasWindowManager
|
||||||
textRole: "text"
|
textRole: "text"
|
||||||
model: ListModel {
|
model: ListModel {
|
||||||
id: uiDisplayModeListModel
|
id: uiDisplayModeListModel
|
||||||
@ -829,8 +833,8 @@ Flickable {
|
|||||||
width: parent.width
|
width: parent.width
|
||||||
text: qsTr("Optimize mouse for remote desktop instead of games")
|
text: qsTr("Optimize mouse for remote desktop instead of games")
|
||||||
font.pointSize: 12
|
font.pointSize: 12
|
||||||
enabled: SystemProperties.hasWindowManager
|
visible: SystemProperties.hasWindowManager
|
||||||
checked: StreamingPreferences.absoluteMouseMode && SystemProperties.hasWindowManager
|
checked: StreamingPreferences.absoluteMouseMode
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
StreamingPreferences.absoluteMouseMode = checked
|
StreamingPreferences.absoluteMouseMode = checked
|
||||||
}
|
}
|
||||||
@ -976,6 +980,7 @@ Flickable {
|
|||||||
width: parent.width
|
width: parent.width
|
||||||
text: qsTr("Process gamepad input when Moonlight is in the background")
|
text: qsTr("Process gamepad input when Moonlight is in the background")
|
||||||
font.pointSize: 12
|
font.pointSize: 12
|
||||||
|
visible: SystemProperties.hasWindowManager
|
||||||
checked: StreamingPreferences.backgroundGamepad
|
checked: StreamingPreferences.backgroundGamepad
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
StreamingPreferences.backgroundGamepad = checked
|
StreamingPreferences.backgroundGamepad = checked
|
||||||
|
Loading…
x
Reference in New Issue
Block a user