Debian Codegraph @

qml/Components/DialogImportResum.qml

raw
1 import QtQuick 2.9
2 import Lomiri.Components 1.3
3 import Lomiri.Components.Popups 1.3
4
5 Dialog {
6 id: infoDialog
7 title: i18n.tr("Import Summary")
8
9 property int impSuccess: 0
10 property int impSkipped: 0
11 property int impError: 0
12
13 Text {
14 text: i18n.tr("Keys imported successfully: ") + impSuccess
15 wrapMode: Text.WordWrap
16 color: theme.palette.normal.overlayText
17 }
18
19 Text {
20 text: i18n.tr("Keys skipped: ") + impSkipped
21 wrapMode: Text.WordWrap
22 color: theme.palette.normal.overlayText
23 }
24
25 Text {
26 text: i18n.tr("Keys with errors: ") + impError
27 wrapMode: Text.WordWrap
28 color: theme.palette.normal.overlayText
29 }
30
31 Button {
32 text: i18n.tr("Close")
33
34 onClicked: hide()
35 }
36 }