27 #include <QTextBlockFormat> 28 #include <QTextCharFormat> 29 #include <QTextCursor> 30 #include "movenumbertoken.h" 31 #include "movetoken.h" 32 #include "movecommenttoken.h" 37 namespace Chess {
class GenericMove; }
90 void onLinkClicked(
const QUrl& url);
91 void selectChosenMove();
101 void insertMove(
int ply,
107 QPointer<ChessGame> m_game;
112 int m_moveToBeSelected;
113 QTextCharFormat m_defaultTextFormat;
114 QTimer* m_selectionTimer;
117 #endif // MOVE_LIST_H MoveList(QWidget *parent=nullptr)
Definition: movelist.cpp:28
void moveClicked(int num, bool keyLeft)
A chessmove (usually SAN) token in a PGN game.
Definition: movetoken.h:27
void setGame(ChessGame *game, PgnGame *pgn=nullptr)
Definition: movelist.cpp:103
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:34
A fullmove number token in a PGN game.
Definition: movenumbertoken.h:27
Definition: boardscene.h:29
void setMove(int ply, const Chess::GenericMove &move, const QString &sanString, const QString &comment)
Definition: movelist.cpp:202
Definition: movelist.h:41
void commentClicked(int num, const QString &comment)
bool selectMove(int moveNum)
Definition: movelist.cpp:267