Newer
Older
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
#ifndef ALERT_H
#define ALERT_H
#include <QWidget>
#include <iostream>
#include <fstream>
namespace Ui {
class alert;
}
using namespace std;
class alert : public QWidget
{
Q_OBJECT
public:
explicit alert(QWidget *parent = nullptr);
~alert();
void string_writeconfig(string file, string config_option) {
ofstream fhandler;
fhandler.open(file);
fhandler << config_option;
fhandler.close();
}
private slots:
void on_continueBtn_clicked();
void on_resetBtn_clicked();
private:
Ui::alert *ui;
};
#endif // ALERT_H