1
0
mirror of https://github.com/QRouland/UTPass.git synced 2025-01-24 23:56:39 +00:00
UTPass/qml/dialogs/SuccessDialog.qml

25 lines
431 B
QML

import Lomiri.Components 1.3
import Lomiri.Components.Popups 1.3
import QtQuick 2.4
Dialog {
id: dialogSuccess
property string textSuccess
signal dialogClosed()
title: i18n.tr("Success !")
text: textSuccess
Button {
text: i18n.tr("OK")
color: LomiriColors.green
onClicked: function() {
dialogClosed();
PopupUtils.close(dialogSuccess);
}
}
}