#ifndef QEUNCLOSEABLEMESSAGEBOX_H #define QEUNCLOSEABLEMESSAGEBOX_H //---------- // This is a QMessageBox which cannot be closed by the user, only progmatically. //---------- #include #include #include class QeUncloseableMessageBox : public QMessageBox { public: QeUncloseableMessageBox(const QString& title, const QString& text, Icon icon, QWidget *parent = NULL); void closeEvent(QCloseEvent *event); }; #endif // QEUNCLOSEABLEMESSAGEBOX_H