30 lines
546 B
C++
30 lines
546 B
C++
#ifndef KEYPHASE_H
|
|
#define KEYPHASE_H
|
|
|
|
#include <QDialog>
|
|
#include "data_config.h"
|
|
namespace Ui {
|
|
class KeyPhase;
|
|
}
|
|
|
|
class KeyPhase : public QDialog {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit KeyPhase(int slot_no_, QWidget *parent = nullptr);
|
|
~KeyPhase();
|
|
int slot_no;
|
|
|
|
private slots:
|
|
void on_pushButton_confirm_clicked();
|
|
void on_pushButton_cancel_clicked();
|
|
|
|
private:
|
|
Ui::KeyPhase *ui;
|
|
Tachometer_Variables keyphase_variables[4];
|
|
void readJsonFile(const QString &filePath);
|
|
void Init();
|
|
};
|
|
|
|
#endif // KEYPHASE_H
|