summaryrefslogtreecommitdiff
path: root/graphical_stats.h
diff options
context:
space:
mode:
authordaniel-Jones <daniel@danieljon.es>2016-08-16 08:20:06 +0930
committerdaniel-Jones <daniel@danieljon.es>2016-08-16 08:25:42 +0930
commita2cbf0f5948c89334511aff60df12f4a77b4bb5e (patch)
tree338a56696894e8f5f633a99ee0afce2a4b2b466e /graphical_stats.h
parentca548026050c9643c82640cb46926545c2114949 (diff)
downloadcsgo_stats-a2cbf0f5948c89334511aff60df12f4a77b4bb5e.tar.gz
csgo_stats-a2cbf0f5948c89334511aff60df12f4a77b4bb5e.zip
Many changes to the stat viewer - work on the stat viewer halted for now. I have added CS:GO game integration. You can now view live game information. Uses port 3000 (see the CS:GO wiki for setting up game integration).
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