qt/LedOK/deviceitem.h

19 lines
372 B
C
Raw Normal View History

2022-08-25 18:37:24 +08:00
#ifndef DEVICEITEM_H
#define DEVICEITEM_H
2023-05-15 16:06:10 +08:00
2023-10-23 11:44:22 +08:00
#include "base/loqtreewidget.h"
2023-05-15 16:06:10 +08:00
#include "globaldefine.h"
2022-08-25 18:37:24 +08:00
#include <QLabel>
2024-02-21 18:08:50 +08:00
#include <QPushButton>
2022-08-25 18:37:24 +08:00
2024-02-21 18:08:50 +08:00
class DeviceItem : public TreeWidgetItem, public QObject {
2022-08-25 18:37:24 +08:00
public:
2023-10-23 11:44:22 +08:00
explicit DeviceItem(LoQTreeWidget *);
2023-05-15 16:06:10 +08:00
void init();
LedCard mCard;
2023-10-23 11:44:22 +08:00
QLabel *fdOnline;
QPushButton *btnUnlock = 0;
2022-08-25 18:37:24 +08:00
};
#endif // DEVICEITEM_H