LogDoctor/logdoctor/games/game_dialog.h

42 lines
721 B
C++

#ifndef LOGDOCTOR__GAMES__GAME_DIALOG_H
#define LOGDOCTOR__GAMES__GAME_DIALOG_H
#include <QDialog>
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::GameDialog> ui;
};
#endif // LOGDOCTOR__GAMES__GAME_DIALOG_H