#ifndef WAITINGDLG_H #define WAITINGDLG_H #include "basedlg.h" #include "LoUIClass/customprogressindicator.h" #include class WaitingDlg : public BaseDlg { Q_OBJECT public: explicit WaitingDlg(QWidget *parent = nullptr, QString text = 0); void success(); QLabel *fdText; CustomProgressIndicator *mIndicator; protected: void timerEvent(QTimerEvent *) override; private: int closeTimerId{0}; }; #endif // WAITINGDLG_H