mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-02 15:55:39 +00:00
Improve bitrate slider label and add tooltip
This commit is contained in:
parent
de3928cb4d
commit
35aac18b4e
@ -300,7 +300,7 @@ Flickable {
|
|||||||
Label {
|
Label {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
id: bitrateDesc
|
id: bitrateDesc
|
||||||
text: qsTr("Lower bitrate to reduce lag and stuttering. Raise bitrate to increase image quality.")
|
text: qsTr("Lower the bitrate on slower connections. Raise the bitrate to increase image quality.")
|
||||||
font.pointSize: 9
|
font.pointSize: 9
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
}
|
}
|
||||||
@ -322,6 +322,11 @@ Flickable {
|
|||||||
bitrateTitle.text = "Video bitrate: " + (value / 1000.0) + " Mbps"
|
bitrateTitle.text = "Video bitrate: " + (value / 1000.0) + " Mbps"
|
||||||
prefs.bitrateKbps = value
|
prefs.bitrateKbps = value
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ToolTip.delay: 1000
|
||||||
|
ToolTip.timeout: 5000
|
||||||
|
ToolTip.visible: hovered
|
||||||
|
ToolTip.text: "This slider controls video bitrate only. Audio data will add an additional 1-2 Mbps on top of this."
|
||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user