-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettingsdialog.h
49 lines (37 loc) · 983 Bytes
/
settingsdialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/**
* @licence app begin@
* Copyright (C) 2021 Alexander Wenzel
*
* This file is part of the DLT Multimeter project.
*
* \copyright This code is licensed under GPLv3.
*
* \author Alexander Wenzel <[email protected]>
*
* \file settingsdialog.h
* @licence end@
*/
#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H
#include <QDialog>
#include "dltminiserver.h"
#include "dltmultimeter.h"
namespace Ui {
class SettingsDialog;
}
class SettingsDialog : public QDialog
{
Q_OBJECT
public:
explicit SettingsDialog(QWidget *parent = nullptr);
~SettingsDialog();
void restoreSettings(DLTMultimeter *dltMultimeter, DLTMiniServer *dltMiniServer);
void backupSettings(DLTMultimeter *dltMultimeter, DLTMiniServer *dltMiniServer);
private slots:
void on_pushButtonAutoload_clicked();
void on_checkBoxAutostart_clicked(bool checked);
void on_groupBoxAutoload_clicked(bool checked);
private:
Ui::SettingsDialog *ui;
};
#endif // SETTINGSDIALOG_H