QTfrontend/ui/page/pagemain.h
changeset 8318 e2c01fbf36c0
parent 7235 baa69bd025d9
child 8977 d424c7f8b342
equal deleted inserted replaced
8317:ec9f94ab2737 8318:e2c01fbf36c0
    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