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

Add docsting for pass plugin

This commit is contained in:
2025-01-15 23:40:35 +01:00
parent e589abd10c
commit beaad58af2
11 changed files with 510 additions and 122 deletions

View File

@ -11,6 +11,16 @@ Page {
property string currentKey
Component.onCompleted: {
Pass.onGetAllGPGKeysSucceed.connect(function(keys_info) {
infoKeysListView.model = keys_info;
});
Pass.getAllGPGKeysFailed.connect(function(message) {
PopupUtils.open(infoKeysPageGetAllError);
});
Pass.getAllGPGKeys();
}
ListView {
id: infoKeysListView
@ -18,7 +28,6 @@ Page {
anchors.bottom: parent.bottom
anchors.right: parent.right
anchors.left: parent.left
model: Pass.getAllGPGKeys()
delegate: Grid {
columns: 1
@ -153,6 +162,15 @@ Page {
}
Component {
id: infoKeysPageGetAllError
ErrorDialog {
textError: i18n.tr("Decryption failed !")
}
}
header: StackHeader {
id: infoKeysHeader