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

23 lines
417 B
QML
Raw Normal View History

2019-09-20 21:29:39 +02:00
import QtQuick 2.4
import Lomiri.Components 1.3
import Lomiri.Components.Popups 1.3
2019-09-20 21:29:39 +02:00
Dialog {
2025-01-10 13:48:38 +01:00
id: dialogError
2019-09-20 21:29:39 +02:00
property string textError
signal dialogClosed
title: i18n.tr("Error !")
text: textError
Button {
2025-01-10 13:48:38 +01:00
text: i18n.tr("Close")
color: LomiriColors.red
2019-09-20 21:29:39 +02:00
onClicked: function () {
dialogClosed()
2025-01-10 13:48:38 +01:00
PopupUtils.close(dialogError)
2019-09-20 21:29:39 +02:00
}
}
}