#ifndef KEYPHASE_H #define KEYPHASE_H #include #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(); private: Ui::KeyPhase *ui; Tachometer_Variables keyphase_variables[4]; void readJsonFile(const QString &filePath); void Init(); }; #endif // KEYPHASE_H