mirror of
https://github.com/JasonYANG170/IOTConnect-PC.git
synced 2024-11-23 12:16:49 +00:00
30 lines
507 B
C
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
|