forked from zonyitoo/doubanfm-qt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettingdialog.h
More file actions
39 lines (28 loc) · 715 Bytes
/
settingdialog.h
File metadata and controls
39 lines (28 loc) · 715 Bytes
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
#ifndef SETTINGDIALOG_H
#define SETTINGDIALOG_H
#include <QDialog>
#include <QButtonGroup>
#include "libs/doubanfm.h"
#include <QNetworkAccessManager>
namespace Ui {
class SettingDialog;
}
class SettingDialog : public QDialog
{
Q_OBJECT
public:
explicit SettingDialog(QWidget *parent = 0);
~SettingDialog();
private slots:
void setUserIcon(const QPixmap& pixmap);
void on_loginButton_clicked();
void timer_event();
void kbps_radio_button_clicked(QAbstractButton *button);
private:
Ui::SettingDialog *ui;
DoubanFM& doubanfm;
QButtonGroup *kbpsGroup;
QNetworkAccessManager *userIconGetter;
QNetworkAccessManager *userInfoGetter;
};
#endif // SETTINGDIALOG_H