mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-23 22:58:15 +00:00
26 lines
631 B
QML
26 lines
631 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)
|
|
},
|
|
TextButtonA {
|
|
text: qsTr('confirm')
|
|
|
|
onClicked: exit(1)
|
|
}
|
|
]
|
|
centeredButtons: true
|
|
maximumHeight: DialogStyle.confirmDialog.height
|
|
maximumWidth: DialogStyle.confirmDialog.width
|
|
minimumHeight: DialogStyle.confirmDialog.height
|
|
minimumWidth: DialogStyle.confirmDialog.width
|
|
}
|