diff options
author | Saturneric <[email protected]> | 2021-12-15 18:29:46 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-16 09:36:19 +0000 |
commit | 51259403d70cb69c2fbd2b38794867f0b60bcf35 (patch) | |
tree | ecbaffef748db326f00ac58f757e5e824b61d52e /src/ui/widgets/KeyList.h | |
parent | SMTP Support Added. (diff) | |
download | GpgFrontend-51259403d70cb69c2fbd2b38794867f0b60bcf35.tar.gz GpgFrontend-51259403d70cb69c2fbd2b38794867f0b60bcf35.zip |
Added & Improved & Fixed.
Fixed Bugs in core.
Improved Send Mail & Keyserver Settings.
Added Pubkey Sync for key list.
Added Refresh for key list.
Improved Send Mail and others.
Known Bugs Fixed.
Diffstat (limited to '')
-rw-r--r-- | src/ui/widgets/KeyList.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/src/ui/widgets/KeyList.h b/src/ui/widgets/KeyList.h index 842cc6b3..6dd9f61a 100644 --- a/src/ui/widgets/KeyList.h +++ b/src/ui/widgets/KeyList.h @@ -29,6 +29,9 @@ #include "gpg/GpgContext.h" #include "ui/KeyImportDetailDialog.h" + +class Ui_KeyList; + namespace GpgFrontend::UI { struct KeyListRow { @@ -116,6 +119,10 @@ class KeyList : public QWidget { [[maybe_unused]] bool containsPrivateKeys(); + signals: + void signalRefreshStatusBar(const QString& message, int timeout); + void signalRefreshDatabase(); + public slots: void slotRefresh(); @@ -123,25 +130,23 @@ class KeyList : public QWidget { private: void init(); void importKeys(const QByteArray& inBuffer); + void updateCallbackCalled(ssize_t current_index, size_t all_index); - QString appPath; - QSettings settings; - - QTabWidget* mGroupTab{}; + std::shared_ptr<Ui_KeyList> ui; QTableWidget* mKeyList{}; - std::vector<KeyTable> mKeyTables; - QMenu* popupMenu{}; - GpgFrontend::KeyLinkListPtr _buffered_keys_list; - std::function<void(const GpgKey&, QWidget*)> mAction = nullptr; private slots: void slotDoubleClicked(const QModelIndex& index); + void slotRefreshUI(); + + void slotSyncWithKeyServer(); + protected: void contextMenuEvent(QContextMenuEvent* event) override; |