Remove deprecated features from root page
This commit is contained in:
@@ -143,7 +143,7 @@ These version are not stable and this should be considered for advanced users on
|
|||||||
- **Supersampling Profile**: Allows to apply supersampling profiles. Profiles can be created on the SteamVR page
|
- **Supersampling Profile**: Allows to apply supersampling profiles. Profiles can be created on the SteamVR page
|
||||||
- **Chaperone Profile**: Allows to apply chaperone profiles. Profiles can be created on the Chaperone page
|
- **Chaperone Profile**: Allows to apply chaperone profiles. Profiles can be created on the Chaperone page
|
||||||
- **Microphone**: Allows to set the microphone volume and to mute/unmute it.
|
- **Microphone**: Allows to set the microphone volume and to mute/unmute it.
|
||||||
- **Push-to-Talk**: Enable/disable push-to-talk and allows to apply push-to-talk profiles. Profiles can be created on the Audio page.
|
- **Push-to-Talk**: Enable/disable push-to-talk.
|
||||||
|
|
||||||
<a name="steamvr_page"></a>
|
<a name="steamvr_page"></a>
|
||||||
## - SteamVR Page:
|
## - SteamVR Page:
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 58 KiB |
@@ -351,39 +351,6 @@ MyStackViewPage {
|
|||||||
AudioTabController.pttEnabled = checked
|
AudioTabController.pttEnabled = checked
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
RowLayout {
|
|
||||||
spacing: 18
|
|
||||||
|
|
||||||
MyComboBox {
|
|
||||||
Layout.leftMargin: 78
|
|
||||||
id: summaryPttProfileComboBox
|
|
||||||
Layout.maximumWidth: 378
|
|
||||||
Layout.minimumWidth: 378
|
|
||||||
Layout.preferredWidth: 378
|
|
||||||
Layout.fillWidth: true
|
|
||||||
model: [""]
|
|
||||||
onCurrentIndexChanged: {
|
|
||||||
if (currentIndex > 0) {
|
|
||||||
summaryPttProfileApplyButton.enabled = true
|
|
||||||
} else {
|
|
||||||
summaryPttProfileApplyButton.enabled = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
MyPushButton {
|
|
||||||
id: summaryPttProfileApplyButton
|
|
||||||
enabled: false
|
|
||||||
Layout.preferredWidth: 150
|
|
||||||
text: "Apply"
|
|
||||||
onClicked: {
|
|
||||||
if (summaryPttProfileComboBox.currentIndex > 0) {
|
|
||||||
AudioTabController.applyPttProfile(summaryPttProfileComboBox.currentIndex - 1)
|
|
||||||
summaryPttProfileComboBox.currentIndex = 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
@@ -406,7 +373,6 @@ MyStackViewPage {
|
|||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
reloadChaperoneProfiles()
|
reloadChaperoneProfiles()
|
||||||
reloadSteamVRProfiles()
|
reloadSteamVRProfiles()
|
||||||
reloadPttProfiles()
|
|
||||||
|
|
||||||
summaryVersionText.text = applicationVersion
|
summaryVersionText.text = applicationVersion
|
||||||
|
|
||||||
@@ -443,9 +409,6 @@ MyStackViewPage {
|
|||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: AudioTabController
|
target: AudioTabController
|
||||||
onPttProfilesUpdated: {
|
|
||||||
reloadPttProfiles()
|
|
||||||
}
|
|
||||||
onMicVolumeChanged: {
|
onMicVolumeChanged: {
|
||||||
summaryMicVolumeSlider.value = AudioTabController.micVolume
|
summaryMicVolumeSlider.value = AudioTabController.micVolume
|
||||||
}
|
}
|
||||||
@@ -529,14 +492,4 @@ MyStackViewPage {
|
|||||||
summarySteamVRProfileComboBox.currentIndex = 0
|
summarySteamVRProfileComboBox.currentIndex = 0
|
||||||
summarySteamVRProfileComboBox.model = profiles
|
summarySteamVRProfileComboBox.model = profiles
|
||||||
}
|
}
|
||||||
|
|
||||||
function reloadPttProfiles() {
|
|
||||||
var profiles = [""]
|
|
||||||
var profileCount = AudioTabController.getPttProfileCount()
|
|
||||||
for (var i = 0; i < profileCount; i++) {
|
|
||||||
profiles.push(AudioTabController.getPttProfileName(i))
|
|
||||||
}
|
|
||||||
summaryPttProfileComboBox.currentIndex = 0
|
|
||||||
summaryPttProfileComboBox.model = profiles
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user