| MoveList::MoveList |
( |
QWidget * |
parent = nullptr | ) |
|
Constructs a move list with the given parent.
| void MoveList::commentClicked |
( |
int |
num, |
|
|
const QString & |
comment |
|
) |
| |
|
signal |
Emitted when the user clicks comment num.
| void MoveList::moveClicked |
( |
int |
num, |
|
|
bool |
keyLeft |
|
) |
| |
|
signal |
Emitted when the user selects move num.
If keyLeft is true, the current move's reverse animation is shown; otherwise the previous move's animation is shown.
| bool MoveList::selectMove |
( |
int |
moveNum | ) |
|
|
slot |
Highlights move moveNum.
Returns true if moveNum is a valid move index; otherwise returns false.
Associates game and pgn with this document.
Either game or pgn must not be NULL. If pgn is NULL, then the PGN data is retrieved from game.
The documentation for this class was generated from the following files:
- projects/gui/src/movelist.h
- projects/gui/src/movelist.cpp