24 #include <board/side.h> 25 #include <board/genericmove.h> 43 explicit GameViewer(Qt::Orientation orientation = Qt::Horizontal,
45 bool addChessClock =
false);
48 void setGame(
const PgnGame* pgn);
49 void disconnectGame();
55 void viewMove(
int index);
58 void moveSelected(
int moveNumber);
61 void viewFirstMoveClicked();
62 void viewPreviousMoveClicked();
63 void viewNextMoveClicked();
64 void viewLastMoveClicked();
65 void viewPositionClicked(
int index);
67 void onFenChanged(
const QString& fen);
72 void viewPreviousMove();
75 void viewPosition(
int index);
87 QPointer<ChessGame> m_game;
92 #endif // GAMEVIEWER_H
Definition: chessclock.h:27
An internal chessboard class.
Definition: board.h:56
A graphical surface for displaying a chessgame.
Definition: boardscene.h:56
A game of chess in PGN format.
Definition: pgngame.h:51
Definition: chessgame.h:38
A chess move independent of chess variant or opening book format.
Definition: genericmove.h:33
Definition: boardscene.h:28
The side or color of a chess player.
Definition: side.h:34
Definition: gameviewer.h:38
A view widget for displaying a QGraphicsScene.
Definition: boardview.h:32