mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-22 07:28:36 +00:00
30 lines
715 B
QML
30 lines
715 B
QML
import QtQuick 2.7
|
|
|
|
import 'qrc:/ui/components/form'
|
|
import 'qrc:/ui/style'
|
|
|
|
// ===================================================================
|
|
// A simple 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.confirm.height
|
|
maximumWidth: DialogStyle.confirm.width
|
|
minimumHeight: DialogStyle.confirm.height
|
|
minimumWidth: DialogStyle.confirm.width
|
|
}
|