2020-06-24 19:30:39 +01:00
|
|
|
#ifndef QTOOLS_H
|
|
|
|
#define QTOOLS_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
2020-06-27 16:51:01 +01:00
|
|
|
#include <QObject>
|
|
|
|
#include "tegrarcmgui.h"
|
|
|
|
#include "qutils.h"
|
2020-06-24 19:30:39 +01:00
|
|
|
|
2020-06-27 16:51:01 +01:00
|
|
|
class TegraRcmGUI;
|
|
|
|
class Kourou;
|
|
|
|
class QKourou;
|
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
namespace Ui { class qTools; }
|
|
|
|
QT_END_NAMESPACE
|
2020-06-24 19:30:39 +01:00
|
|
|
|
|
|
|
class qTools : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2020-06-27 16:51:01 +01:00
|
|
|
explicit qTools(TegraRcmGUI *parent = nullptr);
|
2020-06-24 19:30:39 +01:00
|
|
|
~qTools();
|
2020-06-27 16:51:01 +01:00
|
|
|
Switch *autoRCM_switch;
|
2020-06-24 19:30:39 +01:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::qTools *ui;
|
2020-06-27 16:51:01 +01:00
|
|
|
TegraRcmGUI *parent;
|
|
|
|
QKourou *m_kourou;
|
|
|
|
Kourou *m_device;
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void on_deviceStateChange();
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_autoRcmSwitchToggled();
|
|
|
|
|
|
|
|
signals:
|
|
|
|
void error(int);
|
|
|
|
|
2020-06-24 19:30:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QTOOLS_H
|