17 #include <domains/conquest/game.h> 21 #include <QLineSeries> 27 class GameStatsWindow;
30 class GameStatsWindow :
public QFrame {
33 const QColor kBlueColor{ 128, 128, 255 };
34 const QColor kRedColor{ 255, 128, 128 };
37 explicit GameStatsWindow(QWidget* parent =
nullptr);
41 void updateCharts(
const conquest::Game* game);
48 Ui::GameStatsWindow* ui;
50 int last_chart_step_ = -1;
52 QLineSeries* blue_units_series_ =
new QLineSeries;
53 QLineSeries* red_units_series_ =
new QLineSeries;
55 QLineSeries* total_nodes_series_ =
new QLineSeries;
56 QLineSeries* red_nodes_series_ =
new QLineSeries;
58 QLineSeries* blue_orders_series_ =
new QLineSeries;
59 QLineSeries* red_orders_series_ =
new QLineSeries;
Definition: evolution_window.h:22
Definition: board_widget.cpp:34