#ifndef ERRORPOPUPDLG_H #define ERRORPOPUPDLG_H #include namespace Ui { class ErrorPopupDlg; } class ErrorPopupDlg : public QDialog { Q_OBJECT public: explicit ErrorPopupDlg(QWidget *parent = 0, const QString &MsgDesc=0, const QString &MsgTitle=0, bool sendClrCmd = false, int erridx = -1); ~ErrorPopupDlg(); signals: void closedPopup(QWidget* parent=0); void closedErrorPopup(int erridx); private slots: void on_ctrlOkBtn_clicked(); private: Ui::ErrorPopupDlg *ui; QWidget* m_pParent; bool m_bClrCmd; int m_nErrIdx; }; #endif // ERRORPOPUPDLG_H