#ifndef FORM_DEVICECONFIG_H #define FORM_DEVICECONFIG_H #include #include "sane/sane_ex.h" class Form_DeviceConfig : public QWidget { Q_OBJECT public: explicit Form_DeviceConfig(SANE_Handle devHandle, const std::string &deviceConfig, QWidget *parent = nullptr); ~Form_DeviceConfig(); std::string GetDeviceConfig(); private: void CreateUI(SANE_Handle devHandle, const std::string &deviceConfig); private: }; #endif // FORM_DEVICECONFIG_H