34 lines
619 B
C++
34 lines
619 B
C++
#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
|