|
Cute Chess
0.1
|
The NewGameDialog class provides a dialog for creating a new game. More...
#include <newgamedlg.h>
Public Types | |
| enum | PlayerType { Human, CPU } |
Public Types inherited from QDialog | |
| enum | DialogCode |
Public Member Functions | |
| ChessGame * | createGame () const |
| PlayerBuilder * | createPlayerBuilder (Chess::Side side) const |
| NewGameDialog (EngineManager *engineManager, QWidget *parent=nullptr) | |
| virtual | ~NewGameDialog () |
The NewGameDialog class provides a dialog for creating a new game.
| NewGameDialog::NewGameDialog | ( | EngineManager * | engineManager, |
| QWidget * | parent = nullptr |
||
| ) |
Creates a "New Game" dialog with engineManager as the source of engine configurations.
|
virtual |
Destroys the dialog.
| PlayerBuilder * NewGameDialog::createPlayerBuilder | ( | Chess::Side | side | ) | const |
Creates and returns the PlayerBuilder for side.
1.8.11