-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathfsettingsdialog.h
82 lines (63 loc) · 2.17 KB
/
fsettingsdialog.h
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#ifndef FSETTINGSDIALOG_H
#define FSETTINGSDIALOG_H
#include <QDialog>
#include <QListWidgetItem>
#include <fdb.h>
#include <fcrawler.h>
#include <QFileDialog>
namespace Ui {
class FSettingsDialog;
}
class FSettingsDialog : public QDialog
{
Q_OBJECT
public:
explicit FSettingsDialog(FDB *db, QWidget *parent = 0);
~FSettingsDialog();
private:
Ui::FSettingsDialog *ui;
FDB *db;
int runningDownloads;
int totalDownloads;
QList<FGame*> gameList;
QMap<QString, FWatchedFolder> watchedFolders;
FWatchedFolder *selectedFolder = 0;
QMap<QString, FLauncher> launchers;
FLauncher *selectedLauncher;
void loadLaunchers();
void updateLauncher();
void loadLogfiles();
private slots:
void on_pb_log_openFolder_clicked();
void on_pb_log_clear_clicked();
void on_listWidget_currentRowChanged(int i);
void on_lw_log_logfiles_itemDoubleClicked(QListWidgetItem * item);
void on_pb_selectStylesheet_clicked();
void on_pb_ResetStylesheet_clicked();
void on_pb_ScanNow_clicked();
void on_buttonBox_accepted();
void downloadStarted();
void downloadFinished();
void on_btn_Artwork_ClearCache_clicked();
void on_btn_Artwork_openCache_clicked();
void on_btn_Artwork_DownloadAll_clicked();
void on_btn_Folder_Add_clicked();
void on_btn_Folder_Remove_clicked();
void on_cb_Folder_ForLauncher_clicked();
void on_lw_Folder_FolderList_currentItemChanged(QListWidgetItem * current, QListWidgetItem * previous);
void on_cb_Folder_LauncherList_currentIndexChanged(int index);
void on_btn_launcher_Add_clicked();
void on_btn_launcher_remove_clicked();
void on_btn_launcher_browsePath_clicked();
void on_lw_launcher_launchers_currentItemChanged(QListWidgetItem * current, QListWidgetItem * previous);
void on_le_launcher_nameEdit_editingFinished();
void on_le_launcher_pathEdit_editingFinished();
void on_le_launcher_argEdit_editingFinished();
void on_le_launcher_suffix_editingFinished();
void on_pb_sync_FolderDialog_clicked();
void on_pb_gen_ScanForUpdates_clicked();
signals:
void reloadStylesheet();
void reloadLibrary();
};
#endif // FSETTINGSDIALOG_H