2021-11-25 10:20:56 +01:00
|
|
|
#ifndef QT_SETTINGSOTHERPERIPHERALS_HPP
|
|
|
|
|
#define QT_SETTINGSOTHERPERIPHERALS_HPP
|
|
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
|
class SettingsOtherPeripherals;
|
|
|
|
|
}
|
|
|
|
|
|
2022-11-19 08:49:04 -05:00
|
|
|
class SettingsOtherPeripherals : public QWidget {
|
2021-11-25 10:20:56 +01:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
explicit SettingsOtherPeripherals(QWidget *parent = nullptr);
|
|
|
|
|
~SettingsOtherPeripherals();
|
|
|
|
|
|
|
|
|
|
void save();
|
2021-12-23 17:05:11 +06:00
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
void onCurrentMachineChanged(int machineId);
|
|
|
|
|
|
2021-11-25 10:20:56 +01:00
|
|
|
private slots:
|
|
|
|
|
void on_pushButtonConfigureCard4_clicked();
|
|
|
|
|
void on_comboBoxCard4_currentIndexChanged(int index);
|
|
|
|
|
void on_pushButtonConfigureCard3_clicked();
|
|
|
|
|
void on_comboBoxCard3_currentIndexChanged(int index);
|
|
|
|
|
void on_pushButtonConfigureCard2_clicked();
|
|
|
|
|
void on_comboBoxCard2_currentIndexChanged(int index);
|
|
|
|
|
void on_pushButtonConfigureCard1_clicked();
|
|
|
|
|
void on_comboBoxCard1_currentIndexChanged(int index);
|
|
|
|
|
void on_pushButtonConfigureRTC_clicked();
|
|
|
|
|
void on_comboBoxRTC_currentIndexChanged(int index);
|
2024-01-08 13:53:13 +13:00
|
|
|
void on_checkBoxUnitTester_stateChanged(int arg1);
|
2024-01-08 13:48:33 +13:00
|
|
|
void on_pushButtonConfigureUT_clicked();
|
2021-11-25 10:20:56 +01:00
|
|
|
|
2024-02-26 03:15:44 +06:00
|
|
|
void on_pushButtonConfigureKeyCard_clicked();
|
|
|
|
|
|
|
|
|
|
void on_checkBoxKeyCard_stateChanged(int arg1);
|
|
|
|
|
|
2021-11-25 10:20:56 +01:00
|
|
|
private:
|
|
|
|
|
Ui::SettingsOtherPeripherals *ui;
|
2022-11-19 08:49:04 -05:00
|
|
|
int machineId { 0 };
|
2021-11-25 10:20:56 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // QT_SETTINGSOTHERPERIPHERALS_HPP
|