summaryrefslogtreecommitdiff
path: root/user_select_dialog.h
diff options
context:
space:
mode:
authordaniel-Jones <daniel@danieljon.es>2016-07-27 17:27:44 +0930
committerdaniel-Jones <daniel@danieljon.es>2016-07-27 17:27:44 +0930
commit536bc6c7a1ea06769566f0558071ed92afaf57cd (patch)
tree0988bb1f3c59591c9f02cab32b0f1484df3b9e19 /user_select_dialog.h
parentcdb03cae2c21c9a5ada496b92e705995334e9e9a (diff)
downloadcsgo_stats-536bc6c7a1ea06769566f0558071ed92afaf57cd.tar.gz
csgo_stats-536bc6c7a1ea06769566f0558071ed92afaf57cd.zip
Added the ability to select users from file - see source code for file example. you can dynamically refresh the stats and info to any person on the list/with a new ID. Added weapon icons from the games iconlibs.swf file; the images were ugly. added a few new stats etc
Diffstat (limited to 'user_select_dialog.h')
-rw-r--r--user_select_dialog.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/user_select_dialog.h b/user_select_dialog.h
index 3420bad..5e8253f 100644
--- a/user_select_dialog.h
+++ b/user_select_dialog.h
@@ -3,8 +3,10 @@
#include <QMainWindow>
#include <QDebug>
+#include <QFile>
#include "file_download.h"
#include "stats_display_window.h"
+#include "parse_file.h"
namespace Ui {
class user_select_dialog;
@@ -21,12 +23,17 @@ public:
private slots:
void on_select_account_button_clicked();
+ void on_player_dropdown_currentIndexChanged(int index);
+
private:
Ui::user_select_dialog *ui;
file_download download;
stats_display_window n_window;
+ parse_file parse;
void download_info();
void load_players();
+ QStringList usernames;
+ QStringList userids;
};
#endif // USER_SELECT_DIALOG_H