26 #include <QTextBlockFormat> 27 #include <QTextCharFormat> 28 #include <QTextCursor> 29 #include "movenumbertoken.h" 30 #include "movetoken.h" 31 #include "movecommenttoken.h" 36 namespace Chess {
class GenericMove; }
84 void onLinkClicked(
const QUrl& url);
85 void selectChosenMove();
95 void insertMove(
int ply,
101 QPointer<ChessGame> m_game;
106 int m_moveToBeSelected;
107 QTextCharFormat m_defaultTextFormat;
108 QTimer* m_selectionTimer;
111 #endif // MOVE_LIST_H MoveList(QWidget *parent=nullptr)
Definition: movelist.cpp:27
A chessmove (usually SAN) token in a PGN game.
Definition: movetoken.h:26
void setGame(ChessGame *game, PgnGame *pgn=nullptr)
Definition: movelist.cpp:102
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
A fullmove number token in a PGN game.
Definition: movenumbertoken.h:26
Definition: boardscene.h:28
void setMove(int ply, const Chess::GenericMove &move, const QString &sanString, const QString &comment)
Definition: movelist.cpp:197
Definition: movelist.h:40
void commentClicked(int num, const QString &comment)
void moveClicked(int num)
bool selectMove(int moveNum)
Definition: movelist.cpp:261