IOTConnect-PC/form.h
2024-05-09 11:00:07 +08:00

30 lines
507 B
C++

#ifndef FORM_H
#define FORM_H
#include <QMqttClient>
#include <QMqttTopicName>
#include <QDialog>
namespace Ui {
class form;
}
class form : public QDialog
{
Q_OBJECT
protected:
void closeEvent(QCloseEvent *event) override;
public:
explicit form(const QString& id, const QString& ves, const QString& newves, const QString& log,QWidget *parent = nullptr);
~form();
private slots:
void on_pushButton_clicked();
private:
Ui::form *ui;
QMqttClient* client;
};
#endif // FORM_H