mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-18 03:48:09 +00:00
26 lines
541 B
QML
26 lines
541 B
QML
import Common 1.0
|
|
import Common.Styles 1.0
|
|
|
|
// =============================================================================
|
|
// A dialog with OK/Cancel buttons.
|
|
// =============================================================================
|
|
|
|
DialogPlus {
|
|
buttons: [
|
|
TextButtonA {
|
|
text: qsTr('cancel')
|
|
|
|
onClicked: exit(0)
|
|
},
|
|
TextButtonB {
|
|
text: qsTr('confirm')
|
|
|
|
onClicked: exit(1)
|
|
}
|
|
]
|
|
|
|
centeredButtons: true
|
|
|
|
height: DialogStyle.confirmDialog.height
|
|
width: DialogStyle.confirmDialog.width
|
|
}
|