mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-23 19:58:25 +00:00
31 lines
744 B
QML
31 lines
744 B
QML
import QtQuick 2.7
|
|
|
|
import 'qrc:/ui/components/form'
|
|
|
|
import 'qrc:/ui/style/components'
|
|
|
|
// ===================================================================
|
|
// A dialog with OK/Cancel buttons.
|
|
// ===================================================================
|
|
|
|
DialogPlus {
|
|
id: dialog
|
|
|
|
buttons: [
|
|
DarkButton {
|
|
text: qsTr('cancel')
|
|
|
|
onClicked: exit(0)
|
|
},
|
|
DarkButton {
|
|
text: qsTr('confirm')
|
|
|
|
onClicked: exit(1)
|
|
}
|
|
]
|
|
centeredButtons: true
|
|
maximumHeight: DialogStyle.confirmDialog.height
|
|
maximumWidth: DialogStyle.confirmDialog.width
|
|
minimumHeight: DialogStyle.confirmDialog.height
|
|
minimumWidth: DialogStyle.confirmDialog.width
|
|
}
|