GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
SignersPicker.h
1 
29 #pragma once
30 
31 #include "GpgFrontendUI.h"
32 #include "core/typedef/GpgTypedef.h"
33 #include "ui/dialog//GeneralDialog.h"
34 
35 namespace GpgFrontend::UI {
36 
37 class KeyList;
38 
43 class SignersPicker : public GeneralDialog {
44  Q_OBJECT
45 
46  public:
52  explicit SignersPicker(QWidget* parent = nullptr);
53 
59  auto GetCheckedSigners() -> KeyIdArgsListPtr;
60 
65  [[nodiscard]] auto GetStatus() const -> bool;
66 
67  private:
68  KeyList* key_list_;
69  bool accepted_ = false;
70 };
71 
72 } // namespace GpgFrontend::UI
Definition: GeneralDialog.h:35
Definition: KeyList.h:166
Definition: SignersPicker.h:43
SignersPicker(QWidget *parent=nullptr)
Construct a new Signers Picker object.
Definition: SignersPicker.cpp:36
auto GetCheckedSigners() -> KeyIdArgsListPtr
Get the Checked Signers object.
Definition: SignersPicker.cpp:80
auto GetStatus() const -> bool
Definition: SignersPicker.cpp:84
Definition: FileReadTask.cpp:31