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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user