may fix #LINQT-1605 this time
This commit is contained in:
parent
5283a7c250
commit
37a0403c01
1 changed files with 6 additions and 2 deletions
|
|
@ -131,15 +131,16 @@ AbstractSettingsLayout {
|
||||||
Component {
|
Component {
|
||||||
id: audioCodecsComponent
|
id: audioCodecsComponent
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
spacing: 20 * DefaultStyle.dp
|
|
||||||
ListView {
|
ListView {
|
||||||
Layout.preferredHeight: contentHeight
|
Layout.preferredHeight: contentHeight
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
spacing: 20 * DefaultStyle.dp
|
||||||
model: PayloadTypeProxy {
|
model: PayloadTypeProxy {
|
||||||
filterType: PayloadTypeProxy.Audio | PayloadTypeProxy.NotDownloadable
|
filterType: PayloadTypeProxy.Audio | PayloadTypeProxy.NotDownloadable
|
||||||
}
|
}
|
||||||
delegate: SwitchSetting {
|
delegate: SwitchSetting {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
height: 32 * DefaultStyle.dp
|
||||||
titleText: Utils.capitalizeFirstLetter(modelData.core.mimeType)
|
titleText: Utils.capitalizeFirstLetter(modelData.core.mimeType)
|
||||||
subTitleText: modelData.core.clockRate + " Hz"
|
subTitleText: modelData.core.clockRate + " Hz"
|
||||||
propertyName: "enabled"
|
propertyName: "enabled"
|
||||||
|
|
@ -155,16 +156,17 @@ AbstractSettingsLayout {
|
||||||
Component {
|
Component {
|
||||||
id: videoCodecsComponent
|
id: videoCodecsComponent
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
spacing: 20 * DefaultStyle.dp
|
|
||||||
ListView {
|
ListView {
|
||||||
Layout.preferredHeight: contentHeight
|
Layout.preferredHeight: contentHeight
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
spacing: 20 * DefaultStyle.dp
|
||||||
model: PayloadTypeProxy {
|
model: PayloadTypeProxy {
|
||||||
id: videoPayloadTypeProxy
|
id: videoPayloadTypeProxy
|
||||||
filterType: PayloadTypeProxy.Video | PayloadTypeProxy.NotDownloadable
|
filterType: PayloadTypeProxy.Video | PayloadTypeProxy.NotDownloadable
|
||||||
}
|
}
|
||||||
delegate: SwitchSetting {
|
delegate: SwitchSetting {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
height: 32 * DefaultStyle.dp
|
||||||
titleText: Utils.capitalizeFirstLetter(modelData.core.mimeType)
|
titleText: Utils.capitalizeFirstLetter(modelData.core.mimeType)
|
||||||
subTitleText: modelData.core.encoderDescription
|
subTitleText: modelData.core.encoderDescription
|
||||||
propertyName: "enabled"
|
propertyName: "enabled"
|
||||||
|
|
@ -174,12 +176,14 @@ AbstractSettingsLayout {
|
||||||
ListView {
|
ListView {
|
||||||
Layout.preferredHeight: contentHeight
|
Layout.preferredHeight: contentHeight
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
spacing: 20 * DefaultStyle.dp
|
||||||
model: PayloadTypeProxy {
|
model: PayloadTypeProxy {
|
||||||
id: downloadableVideoPayloadTypeProxy
|
id: downloadableVideoPayloadTypeProxy
|
||||||
filterType: PayloadTypeProxy.Video | PayloadTypeProxy.Downloadable
|
filterType: PayloadTypeProxy.Video | PayloadTypeProxy.Downloadable
|
||||||
}
|
}
|
||||||
delegate: SwitchSetting {
|
delegate: SwitchSetting {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
height: 32 * DefaultStyle.dp
|
||||||
titleText: Utils.capitalizeFirstLetter(modelData.core.mimeType)
|
titleText: Utils.capitalizeFirstLetter(modelData.core.mimeType)
|
||||||
subTitleText: modelData.core.encoderDescription
|
subTitleText: modelData.core.encoderDescription
|
||||||
onCheckedChanged: Utils.openCodecOnlineInstallerDialog(
|
onCheckedChanged: Utils.openCodecOnlineInstallerDialog(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue