QTfrontend/ui/page/pagemain.h
changeset 8982 0c0141cf851a
parent 8977 d424c7f8b342
child 9080 9b42757d7e71
equal deleted inserted replaced
8981:6213f45b5ead 8982:0c0141cf851a
    27 {
    27 {
    28     Q_OBJECT
    28     Q_OBJECT
    29 
    29 
    30     public:
    30     public:
    31         PageMain(QWidget * parent = 0);
    31         PageMain(QWidget * parent = 0);
       
    32         void resetNetworkChoice();
    32 
    33 
    33         QPushButton * BtnSinglePlayer;
    34         QPushButton * BtnSinglePlayer;
    34         QPushButton * BtnNet;
    35         QPushButton * BtnNet;
    35         QPushButton * BtnNetLocal;
    36         QPushButton * BtnNetLocal;
    36         QPushButton * BtnNetOfficial;
    37         QPushButton * BtnNetOfficial;
    39         QPushButton * BtnInfo;
    40         QPushButton * BtnInfo;
    40         QPushButton * BtnDataDownload;
    41         QPushButton * BtnDataDownload;
    41         QPushButton * BtnVideos;
    42         QPushButton * BtnVideos;
    42         QLabel * mainNote;
    43         QLabel * mainNote;
    43 
    44 
    44     public slots:
       
    45         void toggleNetworkChoice();
       
    46 
       
    47     private:
    45     private:
    48         QLayout * bodyLayoutDefinition();
    46         QLayout * bodyLayoutDefinition();
    49         QLayout * footerLayoutDefinition();
    47         QLayout * footerLayoutDefinition();
    50         void connectSignals();
    48         void connectSignals();
    51         QIcon originalNetworkIcon, disabledNetworkIcon;
    49         QIcon originalNetworkIcon, disabledNetworkIcon;
    52 
    50 
    53         QString randomTip() const;
    51         QString randomTip() const;
    54 
    52 
       
    53     private slots:
       
    54         void toggleNetworkChoice();
    55 };
    55 };
    56 
    56 
    57 #endif
    57 #endif
    58 
    58