1
0
mirror of https://github.com/QRouland/UTPass.git synced 2025-01-26 08:36:40 +00:00
UTPass/qml/dialogs/ErrorDialog.qml

23 lines
418 B
QML
Raw Normal View History

2019-09-20 21:29:39 +02:00
import QtQuick 2.4
import Ubuntu.Components 1.3
import Ubuntu.Components.Popups 1.3
Dialog {
id: dialogSuccess
property string textError
signal dialogClosed
title: i18n.tr("Error !")
text: textError
Button {
text: i18n.tr("OK")
color: UbuntuColors.red
onClicked: function () {
dialogClosed()
PopupUtils.close(dialogSuccess)
}
}
}