GpgFrontend Project A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.

GnuPGControllerDialog.h
1
29 #ifndef GPGFRONTEND_GNUPGCONTROLLERDIALOGLOG_H
30 #define GPGFRONTEND_GNUPGCONTROLLERDIALOGLOG_H
31
32 #include "ui/GpgFrontendUI.h"
33 #include "ui/dialog/GeneralDialog.h"
34
35 class Ui_GnuPGControllerDialog;
36
37 namespace GpgFrontend::UI {
38 class GnuPGControllerDialog : public GeneralDialog {
39 Q_OBJECT
40 public:
46 explicit GnuPGControllerDialog(QWidget* parent = nullptr);
47
48 public slots:
49
54 void SlotAccept();
55
56 signals:
57
63 void SignalRestartNeeded(int);
64
65 private slots:
66
72 void slot_set_restart_needed(int);
73
78 void slot_update_custom_key_database_path_label(int state);
79
84 void slot_update_custom_gnupg_install_path_label(int state);
85
86 private:
87 std::shared_ptr<Ui_GnuPGControllerDialog> ui_;
88 int restart_needed_{0};
89
96 int get_restart_needed() const;
97
98 void set_settings();
99
100 void apply_settings();
101 };
102 } // namespace GpgFrontend::UI
103
104 #endif // GPGFRONTEND_GNUPGCONTROLLERDIALOGLOG_H
GpgFrontend::UI::GeneralDialog
Definition: GeneralDialog.h:35
GpgFrontend::UI::GnuPGControllerDialog
Definition: GnuPGControllerDialog.h:38
GpgFrontend::UI::GnuPGControllerDialog::slot_set_restart_needed
void slot_set_restart_needed(int)
Definition: GnuPGControllerDialog.cpp:410
GpgFrontend::UI::GnuPGControllerDialog::SignalRestartNeeded
void SignalRestartNeeded(int)
GpgFrontend::UI::GnuPGControllerDialog::get_restart_needed
int get_restart_needed() const
Get the Restart Needed object.
Definition: GnuPGControllerDialog.cpp:406
GpgFrontend::UI::GnuPGControllerDialog::GnuPGControllerDialog
GnuPGControllerDialog(QWidget *parent=nullptr)
Construct a new General Tab object.
Definition: GnuPGControllerDialog.cpp:40
GpgFrontend::UI
Definition: FileReadTask.cpp:29