QTfrontend/ui/page/pageoptions.h
changeset 8266 927da572bcdc
parent 8226 67f07ff5b593
child 8284 a874d00df4a4
equal deleted inserted replaced
8264:db365ea9fce1 8266:927da572bcdc
    83         QSpinBox * sbProxyPort;
    83         QSpinBox * sbProxyPort;
    84         QLineEdit * leProxy;
    84         QLineEdit * leProxy;
    85         QLineEdit * leProxyLogin;
    85         QLineEdit * leProxyLogin;
    86         QLineEdit * leProxyPassword;
    86         QLineEdit * leProxyPassword;
    87 
    87 
    88 #ifdef VIDEOREC
       
    89         QComboBox  *framerateBox;
    88         QComboBox  *framerateBox;
    90         QSpinBox  *bitrateBox;
    89         QSpinBox  *bitrateBox;
    91         QLineEdit *widthEdit;
    90         QLineEdit *widthEdit;
    92         QLineEdit *heightEdit;
    91         QLineEdit *heightEdit;
    93         QCheckBox *checkUseGameRes;
    92         QCheckBox *checkUseGameRes;
   103         { return comboAudioCodecs->itemData(comboAudioCodecs->currentIndex()).toString(); }
   102         { return comboAudioCodecs->itemData(comboAudioCodecs->currentIndex()).toString(); }
   104 
   103 
   105         void setDefaultCodecs();
   104         void setDefaultCodecs();
   106         bool tryCodecs(const QString & format, const QString & vcodec, const QString & acodec);
   105         bool tryCodecs(const QString & format, const QString & vcodec, const QString & acodec);
   107         void setConfig(GameUIConfig * config);
   106         void setConfig(GameUIConfig * config);
   108 #endif
       
   109 
   107 
   110         void setTeamOptionsEnabled(bool enabled);
   108         void setTeamOptionsEnabled(bool enabled);
   111 
   109 
   112     signals:
   110     signals:
   113         void newTeamRequested();
   111         void newTeamRequested();
   127         QPushButton *BtnNewTeam;
   125         QPushButton *BtnNewTeam;
   128         QPushButton *BtnEditTeam;
   126         QPushButton *BtnEditTeam;
   129         QPushButton *BtnDeleteTeam;
   127         QPushButton *BtnDeleteTeam;
   130         QList<QPushButton *> m_colorButtons;
   128         QList<QPushButton *> m_colorButtons;
   131 
   129 
   132 #ifdef VIDEOREC
       
   133         QComboBox *comboAVFormats;
   130         QComboBox *comboAVFormats;
   134         QComboBox *comboVideoCodecs;
   131         QComboBox *comboVideoCodecs;
   135         QComboBox *comboAudioCodecs;
   132         QComboBox *comboAudioCodecs;
   136         QPushButton *btnDefaults;
   133         QPushButton *btnDefaults;
   137         GameUIConfig * config;
   134         GameUIConfig * config;
   138 #endif
       
   139 
   135 
   140     private slots:
   136     private slots:
   141         void forceFullscreen(int index);
   137         void forceFullscreen(int index);
   142         void setFullscreen(int state);
   138         void setFullscreen(int state);
   143         void setResolution(int state);
   139         void setResolution(int state);
   147         void requestDeleteSelectedTeam();
   143         void requestDeleteSelectedTeam();
   148         void savePwdChanged(int state);
   144         void savePwdChanged(int state);
   149         void colorButtonClicked(int i);
   145         void colorButtonClicked(int i);
   150         void onColorModelDataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight);
   146         void onColorModelDataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight);
   151         void onProxyTypeChanged();
   147         void onProxyTypeChanged();
   152 #ifdef VIDEOREC
       
   153         void changeAVFormat(int index);
   148         void changeAVFormat(int index);
   154         void changeUseGameRes(int state);
   149         void changeUseGameRes(int state);
   155         void changeRecordAudio(int state);
   150         void changeRecordAudio(int state);
   156 
   151 
   157     public slots:
   152     public slots:
   158         void setDefaultOptions();
   153         void setDefaultOptions();
   159 #endif
       
   160 };
   154 };
   161 
   155 
   162 #endif
   156 #endif
   163 
   157