QtHPConnect/hp_settingsdlg.h

33 lines
564 B
C
Raw Normal View History

2019-02-11 21:54:51 +01:00
#ifndef DLGSETTINGS_H
#define DLGSETTINGS_H
#include <QDialog>
2019-02-12 21:48:35 +01:00
#include <QAbstractButton>
#include "hpdata.h"
2019-02-11 21:54:51 +01:00
namespace Ui {
2019-02-12 21:48:35 +01:00
class hp_SettingsDlg;
2019-02-11 21:54:51 +01:00
}
2019-02-12 21:48:35 +01:00
class hp_SettingsDlg : public QDialog
2019-02-11 21:54:51 +01:00
{
Q_OBJECT
2019-02-12 21:48:35 +01:00
hp_Settings dlgset;
hp_Settings * retsettings=nullptr;
2019-02-11 21:54:51 +01:00
public:
2019-02-12 21:48:35 +01:00
explicit hp_SettingsDlg(QWidget *parent, hp_Settings * hpset);
void setupSettings();
void putSettings();
~hp_SettingsDlg();
public slots:
void resetSettings();
void on_clicked(QAbstractButton *);
2019-02-11 21:54:51 +01:00
private:
2019-02-12 21:48:35 +01:00
Ui::hp_SettingsDlg *ui;
2019-02-11 21:54:51 +01:00
};
#endif // DLGSETTINGS_H