code_app/app/scantool/form_deviceconfig.h

34 lines
619 B
C
Raw Normal View History

2024-04-24 03:57:56 +00:00
#ifndef FORM_DEVICECONFIG_H
#define FORM_DEVICECONFIG_H
#include <QWidget>
namespace Ui {
class Form_DeviceConfig;
}
enum DeviceType
{
DeviceType_G100 = 1,
DeviceType_G200,
DeviceType_G300,
DeviceType_G400
};
class Form_DeviceConfig : public QWidget
{
Q_OBJECT
public:
explicit Form_DeviceConfig(DeviceType deviceType, const std::string &deviceConfig, QWidget *parent = nullptr);
~Form_DeviceConfig();
void Update(DeviceType deviceType, const std::string &deviceConfig);
std::string GetDeviceConfig();
private:
Ui::Form_DeviceConfig *ui;
};
#endif // FORM_DEVICECONFIG_H