QTfrontend/ui/page/pageoptions.h
changeset 8346 3443e0de2c9d
parent 8284 a874d00df4a4
child 8350 14b938faec69
equal deleted inserted replaced
8344:3d18f7f71d65 8346:3443e0de2c9d
    23 
    23 
    24 class GameUIConfig;
    24 class GameUIConfig;
    25 class FPSEdit;
    25 class FPSEdit;
    26 class IconedGroupBox;
    26 class IconedGroupBox;
    27 class QSignalMapper;
    27 class QSignalMapper;
       
    28 class KeyBinder;
    28 
    29 
    29 class PageOptions : public AbstractPage
    30 class PageOptions : public AbstractPage
    30 {
    31 {
    31         Q_OBJECT
    32         Q_OBJECT
    32 
    33 
   116 
   117 
   117     private:
   118     private:
   118         QLayout * bodyLayoutDefinition();
   119         QLayout * bodyLayoutDefinition();
   119         QLayout * footerLayoutDefinition();
   120         QLayout * footerLayoutDefinition();
   120         void connectSignals();
   121         void connectSignals();
       
   122         int resetBindToDefault(int bindID);
   121 
   123 
   122         bool previousFullscreenValue;
   124         bool previousFullscreenValue;
   123         int previousResolutionIndex;
   125         int previousResolutionIndex;
   124         int previousQuality;
   126         int previousQuality;
   125         QLabel *LblNoEditTeam;
   127         QLabel *LblNoEditTeam;
   132         QComboBox *comboVideoCodecs;
   134         QComboBox *comboVideoCodecs;
   133         QComboBox *comboAudioCodecs;
   135         QComboBox *comboAudioCodecs;
   134         QPushButton *btnDefaults;
   136         QPushButton *btnDefaults;
   135         QPushButton *btnUpdateNow;
   137         QPushButton *btnUpdateNow;
   136         GameUIConfig * config;
   138         GameUIConfig * config;
       
   139         KeyBinder * binder;
       
   140         int currentTab;
       
   141         int binderTab;
   137 
   142 
   138     private slots:
   143     private slots:
   139         void forceFullscreen(int index);
   144         void forceFullscreen(int index);
   140         void setFullscreen(int state);
   145         void setFullscreen(int state);
   141         void setResolution(int state);
   146         void setResolution(int state);
   149         void onProxyTypeChanged();
   154         void onProxyTypeChanged();
   150         void changeAVFormat(int index);
   155         void changeAVFormat(int index);
   151         void changeUseGameRes(int state);
   156         void changeUseGameRes(int state);
   152         void changeRecordAudio(int state);
   157         void changeRecordAudio(int state);
   153         void checkForUpdates();
   158         void checkForUpdates();
       
   159         void tabIndexChanged(int);
       
   160         void bindUpdated(int bindID);
       
   161         void resetAllBinds();
   154 
   162 
   155     public slots:
   163     public slots:
   156         void setDefaultOptions();
   164         void setDefaultOptions();
   157 };
   165 };
   158 
   166