Newer
Older
SurgeTankControl / devicedetailform.h
[wangxitong] on 27 Jan 2022 675 bytes first commit
#ifndef DEVICEDETAILFORM_H
#define DEVICEDETAILFORM_H

#include <QWidget>
#include "devicelistform.h"
namespace Ui {
class DeviceDetailForm;
}

class DeviceDetailForm : public QWidget
{
    Q_OBJECT

public:
    explicit DeviceDetailForm(QString id = "",DeviceListForm *deviceListFrom = nullptr,
            QWidget *parent = nullptr);
    ~DeviceDetailForm();

    QString id;
    DeviceListForm *deviceListFrom;
private slots:
    void on_pushButton_clicked();
    void on_pushButton_2_clicked();

private:
    Ui::DeviceDetailForm *ui;
signals:
        void sendMsg();

protected:
    bool eventFilter(QObject *watched, QEvent *event);
};

#endif // DEVICEDETAILFORM_H