qt/LedOK/program/sendprogramdialog.h
2023-05-15 16:06:10 +08:00

34 lines
765 B
C++

#ifndef SENDPROGRAMDIALOG_H
#define SENDPROGRAMDIALOG_H
#include <QDialog>
#include <QLabel>
#include "base/loqtreewidget.h"
#include "globaldefine.h"
class SendProgramDialog : public QDialog {
Q_OBJECT
public:
explicit SendProgramDialog(QString, QWidget *parent = nullptr);
protected:
void closeEvent(QCloseEvent *event) override;
signals:
void stopAllThd();
protected slots:
void onRefresh();
void FilterProgram(const QString &strtemp);
private:
void sendNext();
void onAddLedCard(LedCard);
LoQTreeWidget *wDevicePublishList;
int mWaitCnt{0};
QLabel *label;
QTreeWidgetItem *m_headerItem = nullptr;
QString mProgName;
QString m_strUrl;
};
#endif // SENDPROGRAMDIALOG_H