File indexing completed on 2024-04-21 04:04:04
0001 /*************************************************************************** 0002 newGameSummary.h - description 0003 ------------------- 0004 begin : Fri Jul 31 2009 0005 copyright : (C) 2009 by Gaƫl de Chalendar 0006 email : kleag@free.fr 0007 ***************************************************************************/ 0008 0009 /*************************************************************************** 0010 * * 0011 * This program is free software; you can redistribute it and/or modify * 0012 * it under the terms of the GNU General Public License as published by * 0013 * the Free Software Foundation; either either version 2 0014 of the License, or (at your option) any later version.of the License, or * 0015 * (at your option) any later version. * 0016 * * 0017 * You should have received a copy of the GNU General Public License 0018 * along with this program; if not, write to the Free Software 0019 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 0020 * 02110-1301, USA 0021 ***************************************************************************/ 0022 0023 #ifndef NEWGAMESUMMARY_H 0024 #define NEWGAMESUMMARY_H 0025 0026 #include "ui_newGameSummary.h" 0027 0028 #include <QWidget> 0029 #include <QMap> 0030 0031 0032 namespace Ksirk 0033 { 0034 class KGameWindow; 0035 0036 namespace GameLogic 0037 { 0038 } 0039 0040 /** 0041 * This is the implementation of the player configuration dialog made with 0042 * QT Designer 0043 * @author Gael de Chalendar 0044 */ 0045 class NewGameSummaryWidget : public QWidget, public Ui::NewGameSummary 0046 { 0047 Q_OBJECT 0048 public: 0049 explicit NewGameSummaryWidget(QWidget *parent=nullptr); 0050 0051 ~NewGameSummaryWidget() override; 0052 0053 void show(KGameWindow* game); 0054 Q_SIGNALS: 0055 void start(); 0056 void previous(); 0057 void cancel(); 0058 }; 0059 0060 } 0061 0062 #endif // NEWGAMESUMMARY_H