GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
27 #ifndef GPGFRONTEND_SUBKEYGENERATEDIALOG_H
28 #define GPGFRONTEND_SUBKEYGENERATEDIALOG_H
30 #include "core/GpgContext.h"
31 #include "core/GpgGenKeyInfo.h"
32 #include "ui/GpgFrontendUI.h"
33 #include "ui/dialog/GeneralDialog.h"
57 void SignalSubKeyGenerated();
62 std::unique_ptr<GenKeyInfo> gen_key_info_ =
63 std::make_unique<GenKeyInfo>(
true);
65 QGroupBox* key_usage_group_box_{};
74 QDateTime max_date_time_;
152 #endif // GPGFRONTEND_SUBKEYGENERATEDIALOG_H
Definition: WaitingDialog.h:40
Definition: FileReadTask.cpp:31
void slot_encryption_box_changed(int state)
Definition: SubkeyGenerateDialog.cpp:305
QSpinBox * key_size_spin_box_
Spinbox for the keys size (in bit)
Definition: SubkeyGenerateDialog.h:68
void refresh_widgets_state()
Definition: SubkeyGenerateDialog.cpp:190
SubkeyGenerateDialog(const KeyId &key_id, QWidget *parent)
Construct a new Subkey Generate Dialog object.
Definition: SubkeyGenerateDialog.cpp:37
QCheckBox * expire_check_box_
Checkbox, if key should expire.
Definition: SubkeyGenerateDialog.h:71
static GlobalSettingStation & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
QGroupBox * create_basic_info_group_box()
Create a basic info group box object.
Definition: SubkeyGenerateDialog.cpp:118
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:63
Definition: GeneralDialog.h:35
Definition: GpgKeyGetter.h:45
void slot_expire_box_changed()
Definition: SubkeyGenerateDialog.cpp:182
GpgFrontend::GpgError GenerateSubkey(const GpgKey &key, const std::unique_ptr< GenKeyInfo > ¶ms)
Definition: GpgKeyOpera.cpp:244
QDialogButtonBox * button_box_
Box for standard buttons.
Definition: SubkeyGenerateDialog.h:66
std::vector< QCheckBox * > key_usage_check_boxes_
ENCR, SIGN, CERT, AUTH.
Definition: SubkeyGenerateDialog.h:73
QGroupBox * create_key_usage_group_box()
Create a key usage group box object.
Definition: SubkeyGenerateDialog.cpp:85
void slot_certification_box_changed(int state)
Definition: SubkeyGenerateDialog.cpp:321
QLabel * error_label_
Label containing error message.
Definition: SubkeyGenerateDialog.h:67
void slot_signing_box_changed(int state)
Definition: SubkeyGenerateDialog.cpp:313
Definition: SubkeyGenerateDialog.h:40
void slot_activated_key_type(int index)
Definition: SubkeyGenerateDialog.cpp:337
void slot_key_gen_accept()
Definition: SubkeyGenerateDialog.cpp:239
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:63
QComboBox * key_type_combo_box_
Combobox for Key tpe.
Definition: SubkeyGenerateDialog.h:69
void slot_authentication_box_changed(int state)
Definition: SubkeyGenerateDialog.cpp:329
static const std::vector< std::string > & GetSupportedKeyAlgo()
Get the Supported Key Algo object.
Definition: GpgGenKeyInfo.cpp:200
QDateTimeEdit * date_edit_
Date edit for expiration date.
Definition: SubkeyGenerateDialog.h:70
void set_signal_slot()
Set the signal slot object.
Definition: SubkeyGenerateDialog.cpp:160
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37