mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +03:00
Use toggles for screen share settings
This commit is contained in:
parent
0bf3f4634d
commit
b55e6fbae8
1 changed files with 38 additions and 27 deletions
|
@ -67,40 +67,51 @@ Popup {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
CheckBox {
|
GridLayout {
|
||||||
|
columns: 2
|
||||||
|
rowSpacing: 10
|
||||||
|
Layout.margins: 8
|
||||||
|
|
||||||
|
MatrixText {
|
||||||
|
text: qsTr("Include your camera picture-in-picture")
|
||||||
|
}
|
||||||
|
|
||||||
|
ToggleButton {
|
||||||
id: pipCheckBox
|
id: pipCheckBox
|
||||||
|
|
||||||
enabled: CallManager.cameras.length > 0
|
enabled: CallManager.cameras.length > 0
|
||||||
checked: Settings.screenSharePiP
|
checked: Settings.screenSharePiP
|
||||||
Layout.alignment: Qt.AlignLeft
|
Layout.alignment: Qt.AlignRight
|
||||||
Layout.leftMargin: 8
|
|
||||||
Layout.rightMargin: 8
|
|
||||||
text: qsTr("Include your camera picture-in-picture")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
CheckBox {
|
MatrixText {
|
||||||
|
text: qsTr("Request remote camera")
|
||||||
|
ToolTip.text: qsTr("View your callee's camera like a regular video call")
|
||||||
|
ToolTip.visible: hovered
|
||||||
|
}
|
||||||
|
|
||||||
|
ToggleButton {
|
||||||
id: remoteVideoCheckBox
|
id: remoteVideoCheckBox
|
||||||
|
|
||||||
Layout.alignment: Qt.AlignLeft
|
Layout.alignment: Qt.AlignRight
|
||||||
Layout.leftMargin: 8
|
|
||||||
Layout.rightMargin: 8
|
|
||||||
text: qsTr("Request remote camera")
|
|
||||||
checked: Settings.screenShareRemoteVideo
|
checked: Settings.screenShareRemoteVideo
|
||||||
ToolTip.text: qsTr("View your callee's camera like a regular video call")
|
ToolTip.text: qsTr("View your callee's camera like a regular video call")
|
||||||
ToolTip.visible: hovered
|
ToolTip.visible: hovered
|
||||||
}
|
}
|
||||||
|
|
||||||
CheckBox {
|
MatrixText {
|
||||||
|
text: qsTr("Hide mouse cursor")
|
||||||
|
}
|
||||||
|
|
||||||
|
ToggleButton {
|
||||||
id: hideCursorCheckBox
|
id: hideCursorCheckBox
|
||||||
|
|
||||||
Layout.alignment: Qt.AlignLeft
|
Layout.alignment: Qt.AlignRight
|
||||||
Layout.leftMargin: 8
|
|
||||||
Layout.rightMargin: 8
|
|
||||||
Layout.bottomMargin: 8
|
|
||||||
text: qsTr("Hide mouse cursor")
|
|
||||||
checked: Settings.screenShareHideCursor
|
checked: Settings.screenShareHideCursor
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
Layout.margins: 8
|
Layout.margins: 8
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue