2020-06-27 16:51:01 +01:00
|
|
|
#ifndef QSETTINGSU_H
|
|
|
|
#define QSETTINGSU_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
#include "tegrarcmgui.h"
|
2020-12-11 11:46:53 +00:00
|
|
|
#include "qutils.h"
|
2020-06-27 16:51:01 +01:00
|
|
|
|
|
|
|
class TegraRcmGUI;
|
|
|
|
class Kourou;
|
|
|
|
class QKourou;
|
2020-12-11 11:46:53 +00:00
|
|
|
class Switch;
|
2020-06-27 16:51:01 +01:00
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
namespace Ui {
|
|
|
|
class qSettings;
|
|
|
|
}
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
class qSettings : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit qSettings(TegraRcmGUI *parent = nullptr);
|
|
|
|
~qSettings();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void on_driverMissing();
|
2020-12-11 11:46:53 +00:00
|
|
|
|
2020-06-27 16:51:01 +01:00
|
|
|
private slots:
|
|
|
|
void on_installDriverButton_clicked();
|
2020-12-11 11:46:53 +00:00
|
|
|
void on_minToTraySwitch_toggled();
|
|
|
|
|
|
|
|
void on_packagesButton_clicked();
|
2020-06-27 16:51:01 +01:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::qSettings *ui;
|
|
|
|
TegraRcmGUI *parent;
|
|
|
|
QKourou *m_kourou;
|
|
|
|
Kourou *m_device;
|
2020-12-11 11:46:53 +00:00
|
|
|
Switch *minTraySwitch;
|
2020-06-27 16:51:01 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QSETTINGSU_H
|