summaryrefslogtreecommitdiff
path: root/graphical_stats.h
blob: 948d8de3c738d61e43be9b3c8c9a6e19eb4fb66e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef GRAPHICAL_STATS_H
#define GRAPHICAL_STATS_H
#include <QWidget>
#include <QtCharts/QChartView>
#include <QtCharts/QPieSeries>
#include <QtCharts/QPieSlice>
#include <QtCharts>
#include <QDebug>

namespace Ui {
class graphical_stats;
}

class graphical_stats : public QWidget
{
    Q_OBJECT
protected:
      void showEvent(QShowEvent *ev);
signals:
      void window_loaded();
public:
    explicit graphical_stats(QWidget *parent = 0);
    ~graphical_stats();

private:
    Ui::graphical_stats *ui;
    void weapon_use_graph();

private slots:
    void window_open();
};

#endif // GRAPHICAL_STATS_H