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