1
0
mirror of https://github.com/QRouland/UTPass.git synced 2025-02-03 19:56:38 +00:00
UTPass/qml/dialogs/SuccessDialog.qml

25 lines
431 B
QML
Raw Normal View History

import Lomiri.Components 1.3
import Lomiri.Components.Popups 1.3
2025-01-10 15:28:42 +01:00
import QtQuick 2.4
2019-09-20 21:29:39 +02:00
Dialog {
id: dialogSuccess
property string textSuccess
2025-01-10 15:28:42 +01:00
signal dialogClosed()
2019-09-20 21:29:39 +02:00
title: i18n.tr("Success !")
text: textSuccess
2025-01-10 15:28:42 +01:00
2019-09-20 21:29:39 +02:00
Button {
text: i18n.tr("OK")
color: LomiriColors.green
2025-01-10 15:28:42 +01:00
onClicked: function() {
dialogClosed();
PopupUtils.close(dialogSuccess);
2019-09-20 21:29:39 +02:00
}
}
2025-01-10 15:28:42 +01:00
2019-09-20 21:29:39 +02:00
}