TSI_Config/tachometer.h

31 lines
517 B
C
Raw Normal View History

2024-12-17 18:53:41 +08:00
#ifndef TACHOMETER_H
#define TACHOMETER_H
#include <QDialog>
2025-03-21 10:42:24 +08:00
#include "data_config.h"
2024-12-17 18:53:41 +08:00
namespace Ui {
class Tachometer;
}
class Tachometer : public QDialog
{
Q_OBJECT
public:
2025-03-21 10:42:24 +08:00
explicit Tachometer(int slot_no_,QWidget *parent = nullptr);
2024-12-17 18:53:41 +08:00
~Tachometer();
2025-03-21 10:42:24 +08:00
int slot_no;
2025-03-23 14:03:48 +08:00
private slots:
void on_pushButton_confirm_clicked();
2024-12-17 18:53:41 +08:00
private:
Ui::Tachometer *ui;
2025-03-21 10:42:24 +08:00
Tachometer_Variables tachometer_variables[4];
void readJsonFile(const QString &filePath);
void Init();
2024-12-17 18:53:41 +08:00
};
#endif // TACHOMETER_H