summaryrefslogtreecommitdiff
path: root/graphical_stats.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphical_stats.h')
-rw-r--r--graphical_stats.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/graphical_stats.h b/graphical_stats.h
new file mode 100644
index 0000000..948d8de
--- /dev/null
+++ b/graphical_stats.h
@@ -0,0 +1,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