author | Mitchell Kember <mk12360@gmail.com> |
Sun, 02 Dec 2012 17:44:34 -0500 | |
changeset 8192 | 81da6576b0c3 |
parent 8151 | 25b95d6224fc |
child 8226 | 67f07ff5b593 |
permissions | -rw-r--r-- |
5204 | 1 |
/* |
2 |
* Hedgewars, a free turn based strategy game |
|
6952 | 3 |
* Copyright (c) 2004-2012 Andrey Korotaev <unC0Rr@gmail.com> |
5204 | 4 |
* |
5 |
* This program is free software; you can redistribute it and/or modify |
|
6 |
* it under the terms of the GNU General Public License as published by |
|
7 |
* the Free Software Foundation; version 2 of the License |
|
8 |
* |
|
9 |
* This program is distributed in the hope that it will be useful, |
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
13 |
* |
|
14 |
* You should have received a copy of the GNU General Public License |
|
15 |
* along with this program; if not, write to the Free Software |
|
16 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
|
17 |
*/ |
|
18 |
||
19 |
#ifndef PAGE_OPTIONS_H |
|
20 |
#define PAGE_OPTIONS_H |
|
21 |
||
5205
78138ae93820
some headers cleanup and rename of stats and playrecord pages for consistency
koda
parents:
5204
diff
changeset
|
22 |
#include "AbstractPage.h" |
5204 | 23 |
|
8151
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
24 |
class GameUIConfig; |
5204 | 25 |
class FPSEdit; |
5205
78138ae93820
some headers cleanup and rename of stats and playrecord pages for consistency
koda
parents:
5204
diff
changeset
|
26 |
class IconedGroupBox; |
7541
e51b11349637
Allow customization of colors in ui, store custom colors in config
unc0rr
parents:
7153
diff
changeset
|
27 |
class QSignalMapper; |
5204 | 28 |
|
29 |
class PageOptions : public AbstractPage |
|
30 |
{ |
|
6616
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
31 |
Q_OBJECT |
5204 | 32 |
|
6616
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
33 |
public: |
7703 | 34 |
enum ProxyTypes { |
35 |
NoProxy = 0, |
|
36 |
SystemProxy = 1, |
|
37 |
Socks5Proxy = 2, |
|
38 |
HTTPProxy = 3 |
|
39 |
}; |
|
40 |
||
6616
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
41 |
PageOptions(QWidget* parent = 0); |
5204 | 42 |
|
6616
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
43 |
QCheckBox *WeaponTooltip; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
44 |
QPushButton *WeaponNew; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
45 |
QPushButton *WeaponEdit; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
46 |
QPushButton *WeaponDelete; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
47 |
QComboBox *WeaponsName; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
48 |
QPushButton *SchemeNew; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
49 |
QPushButton *SchemeEdit; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
50 |
QPushButton *SchemeDelete; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
51 |
QComboBox *SchemesName; |
5204 | 52 |
|
6616
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
53 |
QComboBox *CBLanguage; |
5204 | 54 |
|
7700 | 55 |
IconedGroupBox *teamsBox; |
6616
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
56 |
QPushButton *BtnAssociateFiles; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
57 |
QComboBox *CBTeamName; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
58 |
IconedGroupBox *AGGroupBox; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
59 |
QComboBox *CBResolution; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
60 |
QComboBox *CBStereoMode; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
61 |
QCheckBox *CBEnableSound; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
62 |
QCheckBox *CBEnableFrontendSound; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
63 |
QCheckBox *CBEnableMusic; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
64 |
QCheckBox *CBEnableFrontendMusic; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
65 |
QCheckBox *CBFullscreen; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
66 |
QCheckBox *CBFrontendFullscreen; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
67 |
QCheckBox *CBShowFPS; |
6911
1cda333286e0
added savepassword checkbox to options page, which now reloads values at every acces
koda
parents:
6700
diff
changeset
|
68 |
QCheckBox *CBSavePassword; |
6616
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
69 |
QCheckBox *CBAltDamage; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
70 |
QCheckBox *CBNameWithDate; |
5204 | 71 |
#ifdef __APPLE__ |
6616
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
72 |
QCheckBox *CBAutoUpdate; |
5204 | 73 |
#endif |
74 |
||
6616
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
75 |
FPSEdit *fpsedit; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
76 |
QLabel *labelNN; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
77 |
QSpinBox * volumeBox; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
78 |
QLineEdit *editNetNick; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
79 |
QLineEdit *editNetPassword; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
80 |
QSlider *SLQuality; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
81 |
QCheckBox *CBFrontendEffects; |
7700 | 82 |
QComboBox * cbProxyType; |
83 |
QSpinBox * sbProxyPort; |
|
84 |
QLineEdit * leProxy; |
|
85 |
QLineEdit * leProxyLogin; |
|
86 |
QLineEdit * leProxyPassword; |
|
5204 | 87 |
|
8151
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
88 |
#ifdef VIDEOREC |
8192
81da6576b0c3
Make video recording options have fixed size and merge with spinbox->combobox change.
Mitchell Kember <mk12360@gmail.com>
parents:
8151
diff
changeset
|
89 |
QComboBox *framerateBox; |
8151
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
90 |
QSpinBox *bitrateBox; |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
91 |
QLineEdit *widthEdit; |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
92 |
QLineEdit *heightEdit; |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
93 |
QCheckBox *checkUseGameRes; |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
94 |
QCheckBox *checkRecordAudio; |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
95 |
|
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
96 |
QString format() |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
97 |
{ return comboAVFormats->itemData(comboAVFormats->currentIndex()).toString(); } |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
98 |
|
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
99 |
QString videoCodec() |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
100 |
{ return comboVideoCodecs->itemData(comboVideoCodecs->currentIndex()).toString(); } |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
101 |
|
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
102 |
QString audioCodec() |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
103 |
{ return comboAudioCodecs->itemData(comboAudioCodecs->currentIndex()).toString(); } |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
104 |
|
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
105 |
void setDefaultCodecs(); |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
106 |
bool tryCodecs(const QString & format, const QString & vcodec, const QString & acodec); |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
107 |
void setConfig(GameUIConfig * config); |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
108 |
#endif |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
109 |
|
6616
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
110 |
void setTeamOptionsEnabled(bool enabled); |
6024 | 111 |
|
6616
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
112 |
signals: |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
113 |
void newTeamRequested(); |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
114 |
void editTeamRequested(const QString & teamName); |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
115 |
void deleteTeamRequested(const QString & teamName); |
6024 | 116 |
|
117 |
||
6616
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
118 |
private: |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
119 |
QLayout * bodyLayoutDefinition(); |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
120 |
QLayout * footerLayoutDefinition(); |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
121 |
void connectSignals(); |
6042
8b5345758f62
some more cleanups/refactoring/blahblah, some button positions may are a bit off atm. also I added a new picture for one of the buttons
sheepluva
parents:
6024
diff
changeset
|
122 |
|
6616
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
123 |
bool previousFullscreenValue; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
124 |
int previousResolutionIndex; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
125 |
int previousQuality; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
126 |
QLabel *LblNoEditTeam; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
127 |
QPushButton *BtnNewTeam; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
128 |
QPushButton *BtnEditTeam; |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
129 |
QPushButton *BtnDeleteTeam; |
7541
e51b11349637
Allow customization of colors in ui, store custom colors in config
unc0rr
parents:
7153
diff
changeset
|
130 |
QList<QPushButton *> m_colorButtons; |
5204 | 131 |
|
8151
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
132 |
#ifdef VIDEOREC |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
133 |
QComboBox *comboAVFormats; |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
134 |
QComboBox *comboVideoCodecs; |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
135 |
QComboBox *comboAudioCodecs; |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
136 |
QPushButton *btnDefaults; |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
137 |
GameUIConfig * config; |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
138 |
#endif |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
139 |
|
6616
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
140 |
private slots: |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
141 |
void forceFullscreen(int index); |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
142 |
void setFullscreen(int state); |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
143 |
void setResolution(int state); |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
144 |
void setQuality(int value); |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
145 |
void trimNetNick(); |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
146 |
void requestEditSelectedTeam(); |
f77bb02b669f
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents:
6525
diff
changeset
|
147 |
void requestDeleteSelectedTeam(); |
6911
1cda333286e0
added savepassword checkbox to options page, which now reloads values at every acces
koda
parents:
6700
diff
changeset
|
148 |
void savePwdChanged(int state); |
7541
e51b11349637
Allow customization of colors in ui, store custom colors in config
unc0rr
parents:
7153
diff
changeset
|
149 |
void colorButtonClicked(int i); |
e51b11349637
Allow customization of colors in ui, store custom colors in config
unc0rr
parents:
7153
diff
changeset
|
150 |
void onColorModelDataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight); |
7700 | 151 |
void onProxyTypeChanged(); |
8151
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
152 |
#ifdef VIDEOREC |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
153 |
void changeAVFormat(int index); |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
154 |
void changeUseGameRes(int state); |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
155 |
void changeRecordAudio(int state); |
8192
81da6576b0c3
Make video recording options have fixed size and merge with spinbox->combobox change.
Mitchell Kember <mk12360@gmail.com>
parents:
8151
diff
changeset
|
156 |
|
81da6576b0c3
Make video recording options have fixed size and merge with spinbox->combobox change.
Mitchell Kember <mk12360@gmail.com>
parents:
8151
diff
changeset
|
157 |
public slots: |
8151
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
158 |
void setDefaultOptions(); |
25b95d6224fc
Google Code-in: Move video preferences in settings tab
Mitchell Kember <mk12360@gmail.com>
parents:
7703
diff
changeset
|
159 |
#endif |
5204 | 160 |
}; |
161 |
||
162 |
#endif |
|
163 |