#ifndef LOGDOCTOR__GAMES__GAME_DIALOG_H #define LOGDOCTOR__GAMES__GAME_DIALOG_H #include namespace Ui { class GameDialog; } //! GameDialog /*! A dialog message to provide informations to the user */ class GameDialog final : public QDialog { Q_OBJECT public: //! Dialog constructor /*! \param title The title \param text The message \param parent The parent Widget */ explicit GameDialog( const QString& title, const QString& text, QWidget *parent=nullptr ); private slots: //! Called when the OK button gets clicked void on_button_Ok_clicked(); private: QSharedPointer ui; }; #endif // LOGDOCTOR__GAMES__GAME_DIALOG_H