#pragma once #include namespace Ui { class WaitForSearchWidget; } class WaitForSearchWidget : public QWidget { Q_OBJECT public: explicit WaitForSearchWidget(QWidget *parent = nullptr); ~WaitForSearchWidget(); //void showEvent(QShowEvent *event) override; private: Ui::WaitForSearchWidget *ui; bool m_bShow; };