TSI_Config/keyphase.h

30 lines
498 B
C
Raw Normal View History

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