aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/controller/ModuleControllerDialog.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-04-21 19:49:04 +0000
committersaturneric <[email protected]>2024-04-21 19:49:04 +0000
commit571a2906063739067e40a02aadd8c265082359de (patch)
tree5ac57f777ec38f6a5f328da4e3df6ad6cc010aff /src/ui/dialog/controller/ModuleControllerDialog.h
parentfix: could not determine the path to the executable based on the desktop file (diff)
parentfeat: adapt linux appimage of modules loading (diff)
downloadGpgFrontend-571a2906063739067e40a02aadd8c265082359de.tar.gz
GpgFrontend-571a2906063739067e40a02aadd8c265082359de.zip
Merge branch 'dev/2.1.2/module' into develop
Diffstat (limited to '')
-rw-r--r--src/ui/dialog/controller/ModuleControllerDialog.h (renamed from src/module/integrated/gnupg_info_gathering_module/GnuPGInfoGatheringModule.h)44
1 files changed, 25 insertions, 19 deletions
diff --git a/src/module/integrated/gnupg_info_gathering_module/GnuPGInfoGatheringModule.h b/src/ui/dialog/controller/ModuleControllerDialog.h
index 88f64d7d..6ded4808 100644
--- a/src/module/integrated/gnupg_info_gathering_module/GnuPGInfoGatheringModule.h
+++ b/src/ui/dialog/controller/ModuleControllerDialog.h
@@ -28,28 +28,34 @@
#pragma once
-#include "GpgFrontendModuleExport.h"
#include "core/module/Module.h"
-namespace GpgFrontend::Module::Integrated::GnuPGInfoGatheringModule {
+class Ui_ModuleControllerDialog;
-/**
- * @brief Use to record some info about gnupg
- *
- */
-class GPGFRONTEND_INTEGRATED_MODULE_GNUPG_INFO_GATHERING_EXPORT
- GnuPGInfoGatheringModule : public Module {
- public:
- GnuPGInfoGatheringModule();
-
- ~GnuPGInfoGatheringModule() override;
+namespace GpgFrontend::UI {
- auto Register() -> bool override;
+class ModuleListView;
- auto Active() -> bool override;
-
- auto Exec(EventRefrernce) -> int override;
-
- auto Deactive() -> bool override;
+class ModuleControllerDialog : public QDialog {
+ Q_OBJECT
+ public:
+ /**
+ * @brief Construct a new Module Controller Dialog object
+ *
+ * @param parent
+ */
+ explicit ModuleControllerDialog(QWidget* parent);
+
+ private slots:
+ /**
+ * @brief
+ *
+ */
+ void slot_load_module_details(Module::ModuleIdentifier);
+
+ private:
+ std::shared_ptr<Ui_ModuleControllerDialog> ui_; ///<
+ Module::ModuleManager* module_manager_;
};
-} // namespace GpgFrontend::Module::Integrated::GnuPGInfoGatheringModule
+
+} // namespace GpgFrontend::UI