mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 13:08:48 +03:00
Finesse PlaceCall dialog
This commit is contained in:
parent
6427687d20
commit
13a280df13
1 changed files with 38 additions and 32 deletions
|
@ -43,11 +43,10 @@ ApplicationWindow {
|
||||||
|
|
||||||
Layout.leftMargin: 8
|
Layout.leftMargin: 8
|
||||||
Layout.rightMargin: 8
|
Layout.rightMargin: 8
|
||||||
spacing: 16
|
|
||||||
|
|
||||||
function validateMic() {
|
function validateMic() {
|
||||||
if (CallManager.mics.length == 0) {
|
if (CallManager.mics.length == 0) {
|
||||||
warningDialog.text = "No microphone found.";
|
warningDialog.text = qsTr("No microphone found.");
|
||||||
warningDialog.open();
|
warningDialog.open();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -61,6 +60,10 @@ ApplicationWindow {
|
||||||
displayName: TimelineManager.timeline.roomName
|
displayName: TimelineManager.timeline.roomName
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Item {
|
||||||
|
implicitWidth: cameraCombo.visible ? 16 : 64
|
||||||
|
}
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
text: qsTr("Voice")
|
text: qsTr("Voice")
|
||||||
icon.source: "qrc:/icons/icons/ui/place-call.png"
|
icon.source: "qrc:/icons/icons/ui/place-call.png"
|
||||||
|
@ -88,7 +91,6 @@ ApplicationWindow {
|
||||||
}
|
}
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
palette: colors
|
|
||||||
text: qsTr("Cancel")
|
text: qsTr("Cancel")
|
||||||
onClicked: {
|
onClicked: {
|
||||||
close();
|
close();
|
||||||
|
@ -96,6 +98,9 @@ ApplicationWindow {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ColumnLayout {
|
||||||
|
spacing: 8
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
|
||||||
Layout.leftMargin: 8
|
Layout.leftMargin: 8
|
||||||
|
@ -136,3 +141,4 @@ ApplicationWindow {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue