Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
SelectImplementationDialog.h
Go to the documentation of this file.
1#pragma once
2
3#include <QDialog>
4#include <QSettings>
6#include <ami/iface/global.h>
7
8namespace sf
9{
10
11namespace Ui
12{
14}
15
17{
18 Q_OBJECT
19
20 public:
21 explicit SelectImplementationDialog(QSettings* settings, bool file_only, QWidget* parent);
22
24
25 [[nodiscard]] AppModuleInterface* getSelected() const;
26
27 static AppModuleInterface* execute(QSettings* settings, bool file_only, QWidget* parent);
28
29 private:
30 void stateSaveRestore(bool save);
31
32 Ui::SelectImplementationDialog* ui;
33
34 QSettings* _settings;
35
36 AppModuleInterface* _selected{nullptr};
37};
38
39}// namespace sf
#define _AMI_CLASS
Definition ami/iface/global.h:35
Base/Interface class for application modules.
Definition AppModuleInterface.h:26
Definition SelectImplementationDialog.h:17
AppModuleInterface * getSelected() const
static AppModuleInterface * execute(QSettings *settings, bool file_only, QWidget *parent)
SelectImplementationDialog(QSettings *settings, bool file_only, QWidget *parent)
Definition ApplicationPropertyPage.h:8
Definition Application.h:10