equal
deleted
inserted
replaced
19 #ifndef PAGE_MAIN_H |
19 #ifndef PAGE_MAIN_H |
20 #define PAGE_MAIN_H |
20 #define PAGE_MAIN_H |
21 |
21 |
22 #include "AbstractPage.h" |
22 #include "AbstractPage.h" |
23 |
23 |
|
24 class QIcon; |
|
25 |
24 class PageMain : public AbstractPage |
26 class PageMain : public AbstractPage |
25 { |
27 { |
26 Q_OBJECT |
28 Q_OBJECT |
27 |
29 |
28 public: |
30 public: |
29 PageMain(QWidget * parent = 0); |
31 PageMain(QWidget * parent = 0); |
30 |
32 |
31 QPushButton * BtnSinglePlayer; |
33 QPushButton * BtnSinglePlayer; |
32 QPushButton * BtnNet; |
34 QPushButton * BtnNet; |
|
35 QPushButton * BtnNetLocal; |
|
36 QPushButton * BtnNetOfficial; |
33 QPushButton * BtnSetup; |
37 QPushButton * BtnSetup; |
34 QPushButton * BtnFeedback; |
38 QPushButton * BtnFeedback; |
35 QPushButton * BtnInfo; |
39 QPushButton * BtnInfo; |
36 QPushButton * BtnDataDownload; |
40 QPushButton * BtnDataDownload; |
37 QPushButton * BtnVideos; |
41 QPushButton * BtnVideos; |
39 |
43 |
40 private: |
44 private: |
41 QLayout * bodyLayoutDefinition(); |
45 QLayout * bodyLayoutDefinition(); |
42 QLayout * footerLayoutDefinition(); |
46 QLayout * footerLayoutDefinition(); |
43 void connectSignals(); |
47 void connectSignals(); |
|
48 QIcon originalNetworkIcon, disabledNetworkIcon; |
44 |
49 |
45 QString randomTip() const; |
50 QString randomTip() const; |
|
51 |
|
52 private slots: |
|
53 void toggleNetworkChoice(); |
46 }; |
54 }; |
47 |
55 |
48 #endif |
56 #endif |
49 |
57 |