first commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#ifndef DEVICEPAGE_H
|
||||
#define DEVICEPAGE_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
#include "../services/deviceservice.h"
|
||||
|
||||
namespace Ui { class DevicePage; }
|
||||
|
||||
class DevicePage : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit DevicePage(QWidget *parent = nullptr);
|
||||
~DevicePage();
|
||||
|
||||
private slots:
|
||||
void updateStatus(const DeviceStatus &status);
|
||||
void handleCommunicationError(const QString &error);
|
||||
|
||||
private:
|
||||
void setupTable();
|
||||
void setRow(int row, const QStringList &values);
|
||||
|
||||
Ui::DevicePage *ui;
|
||||
};
|
||||
|
||||
#endif // DEVICEPAGE_H
|
||||
Reference in New Issue
Block a user