mirror of
https://github.com/QRouland/UTPass.git
synced 2025-01-24 23:56:39 +00:00
23 lines
417 B
QML
23 lines
417 B
QML
import QtQuick 2.4
|
|
import Lomiri.Components 1.3
|
|
import Lomiri.Components.Popups 1.3
|
|
|
|
Dialog {
|
|
id: dialogError
|
|
|
|
property string textError
|
|
|
|
signal dialogClosed
|
|
|
|
title: i18n.tr("Error !")
|
|
text: textError
|
|
Button {
|
|
text: i18n.tr("Close")
|
|
color: LomiriColors.red
|
|
onClicked: function () {
|
|
dialogClosed()
|
|
PopupUtils.close(dialogError)
|
|
}
|
|
}
|
|
}
|