-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfigDialog.h
39 lines (33 loc) · 852 Bytes
/
configDialog.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
//
// Created by lsk on 10/25/22.
//
#ifndef QDESKTOPPET_2_CMAKE_CONFIGDIALOG_H
#define QDESKTOPPET_2_CMAKE_CONFIGDIALOG_H
#include "ui_configDialog.h"
#include <QWidget>
#include <QDialog>
#include <QAction>
#include <QFileDialog>
#include "configuration.h"
#include <filesystem>
#include <QDebug>
#define STQ(s) QString::fromStdString(s)
using namespace std;
namespace Ui {
class Dialog;
}
class ConfigDialog : public QDialog {
Q_OBJECT
public:
ConfigDialog(configuration currentConfiguration, bool firstRun, QWidget *parent = nullptr);
~ConfigDialog();
configuration getConfiguration();
signals:
void okPressed(configuration result);
private:
void reloadMouseSensibilityValue();
Ui::Dialog *ui;
vector<string> listModels();
configuration currentConfiguration;
};
#endif //QDESKTOPPET_2_CMAKE_CONFIGDIALOG_H