#ifndef DEVICEPANEL_H #define DEVICEPANEL_H #include "base/loqtreewidget.h" #include #include #include #include #include #include #include #include #include class DeviceCtrlPanel; class DevicePanel : public QWidget { Q_OBJECT public: explicit DevicePanel(QSettings &, QWidget *parent = nullptr); ~DevicePanel(); void sendGetInfo(); QLabel *fdCardNumInfo; LoQTreeWidget *mDeviceTable; QUdpSocket mUdpSocket; QTimer mUdpTimer; QDialog *specifyIPDlg{0}; QTextEdit *fdIP{0}; int mainPanelIdx{0}; DeviceCtrlPanel *mDeviceCtrlPanel{0}; QLabel *label_3, *nDeviceNum; QComboBox *bnSpecifyIP; QPushButton *btnRefresh; QTreeWidgetItem *m_headerItem; QHBoxLayout *mHBox{0}; protected: void changeEvent(QEvent *) override; void transUi(); signals: void sigSelectedDeviceList(); }; #endif // DEVICEPANEL_H