GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
29 #ifndef __KEY_SERVER_IMPORT_DIALOG_H__
30 #define __KEY_SERVER_IMPORT_DIALOG_H__
34 #include "KeyImportDetailDialog.h"
35 #include "core/GpgContext.h"
36 #include "ui/GpgFrontendUI.h"
37 #include "ui/dialog/GeneralDialog.h"
38 #include "ui/widgets/KeyList.h"
80 void SlotImport(std::vector<std::string> key_ids_list,
81 std::string keyserver_url);
89 void SignalKeyImported();
103 void slot_search_finished(QNetworkReply::NetworkError reply,
156 QPushButton*
create_button(
const QString& text,
const char* member);
165 bool m_automatic_ =
false;
167 QLineEdit* search_line_edit_{};
168 QComboBox* key_server_combo_box_{};
169 QProgressBar* waiting_bar_;
170 QLabel* search_label_{};
171 QLabel* key_server_label_{};
174 QPushButton* close_button_{};
175 QPushButton* import_button_{};
176 QPushButton* search_button_{};
177 QTableWidget* keys_table_{};
182 #endif // __KEY_SERVER_IMPORT_DIALOG_H__
void slot_import()
import key(s) for the key table selection
Definition: KeyServerImportDialog.cpp:408
Definition: FileReadTask.cpp:31
static TaskRunnerGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
Definition: KeyServerImportTask.h:33
Definition: GeneralDialog.h:35
QComboBox * create_comboBox()
Create a comboBox object.
Definition: KeyServerImportDialog.cpp:156
Definition: KeyServerImportDialog.h:46
nlohmann::json & Check(const std::string &key, const nlohmann::json &default_value)
Definition: SettingsObject.cpp:31
Definition: KeyImportDetailDialog.h:43
The SettingsObject class This class is used to store settings for the application securely.
Definition: SettingsObject.h:43
void set_loading(bool status)
Set the loading object.
Definition: KeyServerImportDialog.cpp:542
KeyServerImportDialog(bool automatic, QWidget *parent)
Construct a new Key Server Import Dialog object.
Definition: KeyServerImportDialog.cpp:43
void SignalKeyServerImportResult(QNetworkReply::NetworkError reply, QByteArray buffer)
void import_keys(ByteArrayPtr in_data)
Definition: KeyServerImportDialog.cpp:524
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37
QPushButton * create_button(const QString &text, const char *member)
Create a button object.
GpgImportInformation ImportKey(StdBypeArrayPtr inBuffer)
Definition: GpgKeyImportExporter.cpp:42
void create_keys_table()
Create a keys table object.
Definition: KeyServerImportDialog.cpp:187
void SignalKeyServerSearchResult(QNetworkReply::NetworkError reply, QByteArray buffer)
void slot_import_finished(QNetworkReply::NetworkError error, QByteArray buffer)
Definition: KeyServerImportDialog.cpp:471
void set_message(const QString &text, bool error)
Set the message object.
Definition: KeyServerImportDialog.cpp:209
void SlotImport(const KeyIdArgsListPtr &keys)
Definition: KeyServerImportDialog.cpp:421