#ifndef TEDSWRITERINFOWIDGET_H
#define TEDSWRITERINFOWIDGET_H

#include "TedsWriterDevBaseWidget.h"
#include <memory>
class TedsWriterDeviceInfo;

namespace Ui {
class TedsWriterInfoWidget;
}

class TedsWriterInfoWidget : public TedsWriterDevBaseWidget {
    Q_OBJECT

public:
    explicit TedsWriterInfoWidget(QWidget *parent = nullptr);
    ~TedsWriterInfoWidget();

protected:
    void devStateUpdate(bool connected) override;
private:

    void showInfo(const TedsWriterDeviceInfo &info);
    void clear();


    std::unique_ptr<Ui::TedsWriterInfoWidget> m_ui;
};

#endif // TEDSWRITERINFOWIDGET_H
