1
0
mirror of https://github.com/QRouland/UTPass.git synced 2025-06-24 22:42:28 +00:00

Improve gpg key infos

This commit is contained in:
2025-01-14 12:20:55 +01:00
parent 0e5df76787
commit 200964246e
5 changed files with 126 additions and 67 deletions

View File

@ -95,7 +95,6 @@ Page {
font.pixelSize: 72
color: theme.palette.normal.backgroundText
}
}
Flow {

View File

@ -33,15 +33,57 @@ Page {
}
Text {
id: uidKey
width: parent.width
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
text: i18n.tr('Key id : %1').arg(model.modelData.uid)
text: i18n.tr('Key ID :')
color: theme.palette.normal.backgroundText
}
Text {
width: parent.width
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
text: model.modelData.uid
color: theme.palette.normal.backgroundText
}
Rectangle {
width: parent.width
height: units.gu(1)
color: theme.palette.normal.background
}
ListModel {
id: userIdsModel
Component.onCompleted: {
for(var i=0; i< model.modelData.userIds.length; ++i){
userIdsModel.append({"model": model.modelData.userIds[i]})
}
}
}
Text {
width: parent.width
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
text: i18n.tr('Users IDs : ')
color: theme.palette.normal.backgroundText
}
Repeater {
model: userIdsModel
Text {
width: parent.width
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
text: modelData.uid
color: theme.palette.normal.backgroundText
}
}
Rectangle {
width: parent.width
height: units.gu(1)
@ -64,9 +106,7 @@ Page {
height: units.gu(1)
color: theme.palette.normal.background
}
}
}
Component {