mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-28 01:09:19 +00:00
Remove Call and notices logs from db Delete empty chat rooms after requesting it Option of showing/hidding empty chat rooms Many fixes on notifications count, imdn states, synchronizations behaviors, mouse cursor, etc. Fix crashes Fix timeline times
93 lines
1.5 KiB
QML
93 lines
1.5 KiB
QML
import QtQuick 2.7
|
|
|
|
import Common 1.0
|
|
|
|
import App.Styles 1.0
|
|
|
|
import 'AuthenticationRequest.js' as Logic
|
|
|
|
// =============================================================================
|
|
|
|
DialogPlus {
|
|
id: dialog
|
|
|
|
property alias realm: realm.text
|
|
property alias sipAddress: identity.text
|
|
property alias userId: userId.text
|
|
|
|
property var authInfo
|
|
|
|
buttons: [
|
|
TextButtonA {
|
|
text: qsTr('cancel')
|
|
|
|
onClicked: exit(0)
|
|
},
|
|
TextButtonB {
|
|
enabled: password.length > 0
|
|
text: qsTr('confirm')
|
|
|
|
onClicked: {
|
|
Logic.confirmPassword()
|
|
exit(1)
|
|
}
|
|
}
|
|
]
|
|
|
|
buttonsAlignment: Qt.AlignCenter
|
|
descriptionText: qsTr('authenticationRequestDescription')
|
|
|
|
height: AuthenticationRequestStyle.height + 60
|
|
width: AuthenticationRequestStyle.width
|
|
|
|
// ---------------------------------------------------------------------------
|
|
|
|
Form {
|
|
anchors.fill: parent
|
|
orientation: Qt.Vertical
|
|
|
|
FormLine {
|
|
FormGroup {
|
|
label: qsTr('identityLabel')
|
|
|
|
TextField {
|
|
id: identity
|
|
|
|
readOnly: true
|
|
}
|
|
}
|
|
}
|
|
|
|
FormLine {
|
|
FormGroup {
|
|
label: qsTr('realmLabel')
|
|
|
|
TextField {
|
|
id: realm
|
|
|
|
readOnly: true
|
|
}
|
|
}
|
|
}
|
|
|
|
FormLine {
|
|
FormGroup {
|
|
label: qsTr('userIdLabel')
|
|
|
|
TextField {
|
|
id: userId
|
|
}
|
|
}
|
|
}
|
|
|
|
FormLine {
|
|
FormGroup {
|
|
label: qsTr('passwordLabel')
|
|
|
|
PasswordField {
|
|
id: password
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|