mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-24 15:18:07 +00:00
26 lines
651 B
QML
26 lines
651 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
|
|
}
|