qt/LedOK/wProgramManager/sendprogramdialog.h

32 lines
759 B
C
Raw Normal View History

2022-01-04 18:11:48 +08:00
#ifndef SENDPROGRAMDIALOG_H
#define SENDPROGRAMDIALOG_H
#include "wprogrampublishitem.h"
2022-08-25 18:37:24 +08:00
class SendProgramDialog : public QWidget {
2022-01-04 18:11:48 +08:00
Q_OBJECT
public:
2022-08-25 18:37:24 +08:00
explicit SendProgramDialog(QWidget *parent = nullptr, QString strProgramName = "", QString strProgramPath = "");
protected:
void closeEvent(QCloseEvent *event) override;
signals:
void stopAllThd();
2022-01-04 18:11:48 +08:00
protected slots:
void onRefresh();
void FilterProgram(const QString &strtemp);
private:
2022-08-25 18:37:24 +08:00
void sendNext();
void onAddLedCard(LedCard *p);
2022-01-04 18:11:48 +08:00
2022-08-25 18:37:24 +08:00
LoQTreeWidget *wDevicePublishList;
int mWaitCnt{0};
QLabel *label;
2022-01-04 18:11:48 +08:00
2022-08-25 18:37:24 +08:00
QTreeWidgetItem *m_headerItem = nullptr;
QString m_strProgramName;
QString m_strProgramPath;
QString m_strUrl;
};
2022-01-04 18:11:48 +08:00
#endif // SENDPROGRAMDIALOG_H