1
0
mirror of https://github.com/QRouland/UTPass.git synced 2026-01-09 19:16:57 +00:00
Files
UTPass/qml/dialogs/ErrorDialog.qml
2026-01-06 15:42:10 +01:00

25 lines
496 B
QML

import Lomiri.Components 1.3
import Lomiri.Components.Popups 1.3
import QtQuick 2.4
Dialog {
id: dialog
property string textError
property string textErrorDescription: null
signal dialogClosed()
title: i18n.tr("Error !")
text: textErrorDescription ? (textError + "<br>" + textErrorDescription) : textError
Button {
text: i18n.tr("Close")
onClicked: function() {
dialogClosed();
PopupUtils.close(dialog);
}
}
}