33 #include "core/function/gpg/GpgContext.h"
34 #include "core/model/GpgGenKeyInfo.h"
35 #include "core/model/GpgKey.h"
36 #include "core/typedef/GpgTypedef.h"
37 #include "core/utils/MemoryUtils.h"
38 #include "ui/GpgFrontendUI.h"
39 #include "ui/dialog/GeneralDialog.h"
61 std::shared_ptr<GenKeyInfo> gen_key_info_ =
62 SecureCreateSharedObject<GenKeyInfo>(
true);
64 QGroupBox* key_usage_group_box_{};
74 QDateTime max_date_time_;
Definition: GeneralDialog.h:35
Definition: SubkeyGenerateDialog.h:46
QCheckBox * no_pass_phrase_check_box_
Checkbox, if key should expire.
Definition: SubkeyGenerateDialog.h:71
QGroupBox * create_basic_info_group_box()
Create a basic info group box object.
Definition: SubkeyGenerateDialog.cpp:122
void slot_authentication_box_changed(int state)
Definition: SubkeyGenerateDialog.cpp:352
void slot_encryption_box_changed(int state)
Definition: SubkeyGenerateDialog.cpp:328
void slot_expire_box_changed()
Definition: SubkeyGenerateDialog.cpp:194
void refresh_widgets_state()
Definition: SubkeyGenerateDialog.cpp:202
void slot_activated_key_type(int index)
Definition: SubkeyGenerateDialog.cpp:360
std::vector< QCheckBox * > key_usage_check_boxes_
ENCR, SIGN, CERT, AUTH.
Definition: SubkeyGenerateDialog.h:73
QLabel * error_label_
Label containing error message.
Definition: SubkeyGenerateDialog.h:66
void slot_certification_box_changed(int state)
Definition: SubkeyGenerateDialog.cpp:344
SubkeyGenerateDialog(const KeyId &key_id, QWidget *parent)
Construct a new Subkey Generate Dialog object.
Definition: SubkeyGenerateDialog.cpp:44
void set_signal_slot()
Set the signal slot object.
Definition: SubkeyGenerateDialog.cpp:167
QGroupBox * create_key_usage_group_box()
Create a key usage group box object.
Definition: SubkeyGenerateDialog.cpp:89
QDateTimeEdit * date_edit_
Date edit for expiration date.
Definition: SubkeyGenerateDialog.h:69
QSpinBox * key_size_spin_box_
Spinbox for the keys size (in bit)
Definition: SubkeyGenerateDialog.h:67
void slot_key_gen_accept()
Definition: SubkeyGenerateDialog.cpp:266
QDialogButtonBox * button_box_
Box for standard buttons.
Definition: SubkeyGenerateDialog.h:65
QComboBox * key_type_combo_box_
Combobox for Key tpe.
Definition: SubkeyGenerateDialog.h:68
void slot_signing_box_changed(int state)
Definition: SubkeyGenerateDialog.cpp:336
QCheckBox * expire_check_box_
Checkbox, if key should expire.
Definition: SubkeyGenerateDialog.h:70
Definition: FileReadTask.cpp:31