diff options
author | Saturneric <[email protected]> | 2021-06-05 20:57:30 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-06-05 20:57:30 +0000 |
commit | 9c09b5de5180632746d9fc7f75a3ed7f07b06292 (patch) | |
tree | 89c1e21762f04b4e383ff7f2f45c280b2c5e67ce /include/ui/widgets/VerifyKeyDetailBox.h | |
parent | Update the verification function. (diff) | |
download | GpgFrontend-9c09b5de5180632746d9fc7f75a3ed7f07b06292.tar.gz GpgFrontend-9c09b5de5180632746d9fc7f75a3ed7f07b06292.zip |
Adjust and improve the detailed interface of the verification information result.
Check whether the key can be signed before signing operation.
Check whether the key is qualified before encrypting and signing operations.
Modify part of the text explanation on the key details tab.
Adjust the length and width of the key pair management interface.
Add the actual function column to the list on the file operation page.
Adjust the file operation page.
For the function that displays the actual possession of the key in the key list by default.
Add the function of displaying the actual possession of the key in the key details page.
Adjust the code structure.
Convert the label prompt below into a message board prompt.
Signed-off-by: Saturneric <[email protected]>
Diffstat (limited to 'include/ui/widgets/VerifyKeyDetailBox.h')
-rw-r--r-- | include/ui/widgets/VerifyKeyDetailBox.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/include/ui/widgets/VerifyKeyDetailBox.h b/include/ui/widgets/VerifyKeyDetailBox.h new file mode 100644 index 00000000..66f01a8e --- /dev/null +++ b/include/ui/widgets/VerifyKeyDetailBox.h @@ -0,0 +1,53 @@ +/** + * This file is part of GPGFrontend. + * + * GPGFrontend is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Foobar is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Foobar. If not, see <https://www.gnu.org/licenses/>. + * + * The initial version of the source code is inherited from gpg4usb-team. + * Their source code version also complies with GNU General Public License. + * + * The source code version of this software was modified and released + * by Saturneric<[email protected]> starting on May 12, 2021. + * + */ + +#ifndef __VERIFYKEYDETAILBOX_H__ +#define __VERIFYKEYDETAILBOX_H__ + +#include "ui/widgets/KeyList.h" +#include "ui/KeyServerImportDialog.h" + +class VerifyKeyDetailBox : public QGroupBox { +Q_OBJECT +public: + explicit VerifyKeyDetailBox(QWidget *parent, GpgME::GpgContext *ctx, KeyList *mKeyList, + gpgme_signature_t signature); + +private slots: + + void slotImportFormKeyserver(); + +private: + GpgME::GpgContext *mCtx; + KeyList *mKeyList; + + static QString beautifyFingerprint(QString fingerprint); + + QGridLayout *createKeyInfoGrid(gpgme_signature_t &signature); + + QString fpr; +}; + +#endif // __VERIFYKEYDETAILBOX_H__ + |