mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-04 00:36:36 +00:00
Fill out remainder of dummy settings
This commit is contained in:
parent
8ebb594089
commit
33a0188fea
@ -6,7 +6,6 @@ Page {
|
|||||||
objectName: "Settings"
|
objectName: "Settings"
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
id: column
|
|
||||||
x: 10
|
x: 10
|
||||||
y: 10
|
y: 10
|
||||||
width: settingsPage.width
|
width: settingsPage.width
|
||||||
@ -14,13 +13,13 @@ Page {
|
|||||||
|
|
||||||
GroupBox {
|
GroupBox {
|
||||||
// TODO save the settings
|
// TODO save the settings
|
||||||
id: streamingSettingsGroupBox
|
id: basicSettingsGroupBox
|
||||||
width: (parent.width - 20)
|
width: (parent.width - 20)
|
||||||
padding: 12
|
padding: 12
|
||||||
title: qsTr("Basic Settings")
|
title: qsTr("Basic Settings")
|
||||||
|
font.pointSize: 12
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
id: column1
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
spacing: 5
|
spacing: 5
|
||||||
|
|
||||||
@ -43,6 +42,8 @@ Page {
|
|||||||
ComboBox {
|
ComboBox {
|
||||||
id: resolutionComboBox
|
id: resolutionComboBox
|
||||||
currentIndex : 4
|
currentIndex : 4
|
||||||
|
width: Math.min(bitrateDesc.implicitWidth, parent.width)
|
||||||
|
font.pointSize: 9
|
||||||
model: ListModel {
|
model: ListModel {
|
||||||
id: resolutionListModel
|
id: resolutionListModel
|
||||||
// TODO have values associated with the text.
|
// TODO have values associated with the text.
|
||||||
@ -93,8 +94,125 @@ Page {
|
|||||||
console.debug(slider.value + " Slider moved")
|
console.debug(slider.value + " Slider moved")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CheckBox {
|
||||||
|
id: fullScreenCheck
|
||||||
|
text: qsTr("Stretch video to full-screen")
|
||||||
|
font.pointSize: 12
|
||||||
|
}
|
||||||
|
|
||||||
|
CheckBox {
|
||||||
|
id: pipObserverCheck
|
||||||
|
text: qsTr("Enable Picture-in-Picture observer mode")
|
||||||
|
font.pointSize: 12
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
GroupBox {
|
||||||
|
id: audioSettingsGroupBox
|
||||||
|
width: (parent.width - 20)
|
||||||
|
padding: 12
|
||||||
|
title: qsTr("Audio Settings")
|
||||||
|
font.pointSize: 12
|
||||||
|
|
||||||
|
Column {
|
||||||
|
anchors.fill: parent
|
||||||
|
spacing: 5
|
||||||
|
|
||||||
|
CheckBox {
|
||||||
|
id: surroundSoundCheck
|
||||||
|
text: qsTr("Enable 5.1 surround sound")
|
||||||
|
font.pointSize: 12
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
GroupBox {
|
||||||
|
id: gamepadSettingsGroupBox
|
||||||
|
width: (parent.width - 20)
|
||||||
|
padding: 12
|
||||||
|
title: qsTr("Gamepad Settings")
|
||||||
|
font.pointSize: 12
|
||||||
|
|
||||||
|
Column {
|
||||||
|
anchors.fill: parent
|
||||||
|
spacing: 5
|
||||||
|
|
||||||
|
CheckBox {
|
||||||
|
id: multiControllerCheck
|
||||||
|
text: qsTr("Multiple controller support")
|
||||||
|
font.pointSize: 12
|
||||||
|
}
|
||||||
|
CheckBox {
|
||||||
|
id: mouseEmulationCheck
|
||||||
|
text: qsTr("Mouse emulation via gamepad")
|
||||||
|
font.pointSize: 12
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
GroupBox {
|
||||||
|
id: onScreenControlsGroupBox
|
||||||
|
width: (parent.width - 20)
|
||||||
|
padding: 12
|
||||||
|
title: qsTr("On-screen Controls Settings")
|
||||||
|
font.pointSize: 12
|
||||||
|
|
||||||
|
Column {
|
||||||
|
anchors.fill: parent
|
||||||
|
spacing: 5
|
||||||
|
|
||||||
|
CheckBox {
|
||||||
|
id: onScreenControlsCheck
|
||||||
|
text: qsTr("Show on-screen controls")
|
||||||
|
font.pointSize: 12
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
GroupBox {
|
||||||
|
id: hostSettingsGroupBox
|
||||||
|
width: (parent.width - 20)
|
||||||
|
padding: 12
|
||||||
|
title: qsTr("Host Settings")
|
||||||
|
font.pointSize: 12
|
||||||
|
|
||||||
|
Column {
|
||||||
|
anchors.fill: parent
|
||||||
|
spacing: 5
|
||||||
|
|
||||||
|
CheckBox {
|
||||||
|
id: optimizeGameSettingsCheck
|
||||||
|
text: qsTr("Optimize Game Settings")
|
||||||
|
font.pointSize: 12
|
||||||
|
}
|
||||||
|
|
||||||
|
CheckBox {
|
||||||
|
id: audioPcCheck
|
||||||
|
text: qsTr("Play audio on PC")
|
||||||
|
font.pointSize: 12
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
GroupBox {
|
||||||
|
id: advancedSettingsGroupBox
|
||||||
|
width: (parent.width - 20)
|
||||||
|
padding: 12
|
||||||
|
title: qsTr("Advanced Settings")
|
||||||
|
font.pointSize: 12
|
||||||
|
|
||||||
|
Column {
|
||||||
|
anchors.fill: parent
|
||||||
|
spacing: 5
|
||||||
|
|
||||||
|
CheckBox {
|
||||||
|
id: neverDropFramesCheck
|
||||||
|
text: qsTr("Never Drop Frames")
|
||||||
|
font.pointSize: 12
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// TODO add more settings
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user