summaryrefslogtreecommitdiff
path: root/stats_display_window.h
diff options
context:
space:
mode:
Diffstat (limited to 'stats_display_window.h')
-rw-r--r--stats_display_window.h42
1 files changed, 40 insertions, 2 deletions
diff --git a/stats_display_window.h b/stats_display_window.h
index d73f6ca..2784e6f 100644
--- a/stats_display_window.h
+++ b/stats_display_window.h
@@ -24,13 +24,49 @@ public:
private:
Ui::stats_display_window *ui;
-
- struct user_info { /* contains our user data for both steam and csgo */
+ void setup_user();
+ void setup_csgo_data();
+ void reload_profile();
+ struct user_info {
+ /* contains our user data for both steam and csgo */
QString username;
QString realname;
QString avatar_url;
+ QString user_64id;
QString status;
QString time_ingame;
+ QString mvp_count;
+ /* weapon stats */
+ QString ak47_kills;
+ QString deagle_kills;
+ QString m4_kills;
+ QString awp_kills;
+ QString aug_kills;
+ QString bizon_kills;
+ QString elite_kills;
+ QString famas_kills;
+ QString fiveseven_kills;
+ QString g3sg1_kills;
+ QString galilar_kills;
+ QString glock_kills;
+ QString hegrenade_kills;
+ QString hkp2000_kills;
+ QString knife_kills;
+ QString m249_kills;
+ QString mac10_kills;
+ QString mag7_kills;
+ QString mp7_kills;
+ QString negev_kills;
+ QString nova_kills;
+ QString p250_kills;
+ QString p90_kills;
+ QString sawedoff_kills;
+ QString scar20_kills;
+ QString sg556_kills;
+ QString ssg08_kills;
+ QString tec9_kills;
+ QString ump45_kills;
+ QString xm1014_kills;
} user;
file_download download;
@@ -40,6 +76,8 @@ signals:
private slots:
void window_open();
+ void on_refresh_button_clicked();
+ void on_new_id_button_clicked();
};
#endif // STATS_DISPLAY_WINDOW_H