-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDeviceStateForm.h
More file actions
41 lines (34 loc) · 774 Bytes
/
DeviceStateForm.h
File metadata and controls
41 lines (34 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef DEVICESTATEFORM_H
#define DEVICESTATEFORM_H
#include <QWidget>
#include <QHBoxLayout>
#include <QTimer>
#include <QSqlQueryModel>
#include <QSqlTableModel>
#include <QSqlDatabase>
#include <QSqlQueryModel>
#include <QDebug>
#include <QJsonParseError>
#include <QJsonArray>
#include <QVariantMap>
#include <memory>
#include <QAbstractTableModel>
#include <QJsonArray>
#include "CustomJsonModel.h"
namespace Ui {
class DeviceStateForm;
}
class DeviceStateForm : public QWidget
{
Q_OBJECT
public:
explicit DeviceStateForm(QWidget *parent = nullptr);
~DeviceStateForm();
private:
Ui::DeviceStateForm *ui;
QSqlQueryModel *m_modelAgv;
QSqlQueryModel *m_modelCaller;
private slots:
void onUpdateModel();
};
#endif // DEVICESTATEFORM_H