aboutsummaryrefslogtreecommitdiff
path: root/src/qt/settings.hpp
blob: 3718f06ae5a9e2c3d8efd2a26c6a0121f865f508 (plain)
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
#ifndef SETTINGS_HPP
#define SETTINGS_HPP

#include <QWidget>
#include <QDialog>

#include "workers.hpp"

QT_BEGIN_NAMESPACE
namespace Ui { class Settings; }
QT_END_NAMESPACE

class Settings : public QDialog
{
    Q_OBJECT

public:
    Settings(Worker* pworker, QWidget *parent = nullptr);
    ~Settings();

    void refresh();

private:
    Ui::Settings *ui;
    Worker* worker;

public slots:
    void applySettings();
    void verify();

signals:
    void workerOperate(const Worker::Tasks_t &);

};
#endif // SETTINGS_HPP