Cute Chess  0.1
Public Member Functions | List of all members
EvalHistory Class Reference

A widget that shows engines' move evaluation history. More...

#include <evalhistory.h>

Inheritance diagram for EvalHistory:
QWidget

Public Member Functions

 EvalHistory (QWidget *parent=nullptr)
 
void setGame (ChessGame *game)
 
void setPgnGame (PgnGame *pgn)
 

Additional Inherited Members

- Public Types inherited from QWidget
enum  BackgroundOrigin
 

Detailed Description

A widget that shows engines' move evaluation history.

The fullmove number is on the X axis and score (from white's perspective) is on the Y axis.

Constructor & Destructor Documentation

EvalHistory::EvalHistory ( QWidget parent = nullptr)
explicit

Creates a new EvalHistory widget.

Member Function Documentation

void EvalHistory::setGame ( ChessGame game)

Connects the widget to game and disconnects from the previous game (if any).

void EvalHistory::setPgnGame ( PgnGame pgn)

Sets evaluation history from PGN game (pointer) pgn


The documentation for this class was generated from the following files: