summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-03-17 13:08:37 (UTC)
committer llornkcor <llornkcor>2002-03-17 13:08:37 (UTC)
commit2f18edca6cc3539298deccee89e6f4dd7a2570a2 (patch) (unidiff)
tree58eefa2b254a4c30a266681bd077e0e8029384e3
parent578725ca25862c0b06b1991a7bc8ffc2ad8ae13e (diff)
downloadopie-2f18edca6cc3539298deccee89e6f4dd7a2570a2.zip
opie-2f18edca6cc3539298deccee89e6f4dd7a2570a2.tar.gz
opie-2f18edca6cc3539298deccee89e6f4dd7a2570a2.tar.bz2
changed line edit to combo, and changed labels and layout
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sound/soundsettings.cpp51
-rw-r--r--noncore/settings/sound/soundsettingsbase.ui566
2 files changed, 348 insertions, 269 deletions
diff --git a/noncore/settings/sound/soundsettings.cpp b/noncore/settings/sound/soundsettings.cpp
index 17dbdc0..c2bf405 100644
--- a/noncore/settings/sound/soundsettings.cpp
+++ b/noncore/settings/sound/soundsettings.cpp
@@ -1,117 +1,132 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2000 Trolltech AS. All rights reserved. 2** Copyright (C) 2000 Trolltech AS. All rights reserved.
3** 3**
4** This file is part of Qtopia Environment. 4** This file is part of Qtopia Environment.
5** 5**
6** This file may be distributed and/or modified under the terms of the 6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
16** Contact info@trolltech.com if any conditions of this licensing are 16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20#include "soundsettings.h" 20#include "soundsettings.h"
21 21
22#include <qpe/config.h> 22#include <qpe/config.h>
23#include <qpe/qcopenvelope_qws.h> 23#include <qpe/qcopenvelope_qws.h>
24#include <qapplication.h> 24#include <qapplication.h>
25#include <qslider.h> 25#include <qslider.h>
26#include <qcheckbox.h> 26#include <qcheckbox.h>
27#include <qlineedit.h> 27#include <qlineedit.h>
28#include <qcombobox.h>
29
28 30
29SoundSettings::SoundSettings( QWidget* parent, const char* name, WFlags fl ) 31SoundSettings::SoundSettings( QWidget* parent, const char* name, WFlags fl )
30 : SoundSettingsBase( parent, name, TRUE, fl ) 32 : SoundSettingsBase( parent, name, TRUE, fl )
31{ 33{
32 Config config( "Sound" ); 34 Config config( "Sound" );
33 config.setGroup( "System" ); 35 config.setGroup( "System" );
34 volume->setValue(100-config.readNumEntry("Volume")); 36 volume->setValue(100-config.readNumEntry("Volume"));
35 mic->setValue(100-config.readNumEntry("Mic")); 37 mic->setValue(100-config.readNumEntry("Mic"));
36 touchsound->setChecked(config.readBoolEntry("Touch")); 38 touchsound->setChecked(config.readBoolEntry("Touch"));
37 keysound->setChecked(config.readBoolEntry("Key")); 39 keysound->setChecked(config.readBoolEntry("Key"));
38 40
39 config.setGroup("Record"); 41 config.setGroup("Record");
40 sampleRate->setText(config.readEntry("SampleRate", "11025")); 42 int rate=config.readNumEntry("SampleRate", 11025);
41 stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); 43 if(rate == 11025)
42 sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0)); 44 sampleRate->setCurrentItem(0);
45 else if(rate == 22050)
46 sampleRate->setCurrentItem(1);
47 else if(rate==44100)
48 sampleRate->setCurrentItem(2);
49
50 stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0));
51 sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0));
43 52
44 connect(volume, SIGNAL(valueChanged(int)), this, SLOT(setVolume(int))); 53 connect(volume, SIGNAL(valueChanged(int)), this, SLOT(setVolume(int)));
45 connect(mic, SIGNAL(valueChanged(int)), this, SLOT(setMic(int))); 54 connect(mic, SIGNAL(valueChanged(int)), this, SLOT(setMic(int)));
46 connect(qApp, SIGNAL( volumeChanged(bool) ), this, SLOT( volumeChanged(bool) ) ); 55 connect(qApp, SIGNAL( volumeChanged(bool) ), this, SLOT( volumeChanged(bool) ) );
47 connect(qApp, SIGNAL( micChanged(bool) ), this, SLOT ( micChanged(bool) ) ); 56 connect(qApp, SIGNAL( micChanged(bool) ), this, SLOT ( micChanged(bool) ) );
48} 57}
49 58
50void SoundSettings::reject() 59void SoundSettings::reject()
51{ 60{
52 Config config( "Sound" ); 61 Config config( "Sound" );
53 config.setGroup( "System" ); 62 config.setGroup( "System" );
54 setVolume(100-config.readNumEntry("Volume")); 63 setVolume(100-config.readNumEntry("Volume"));
55 setMic(100-config.readNumEntry("Mic")); 64 setMic(100-config.readNumEntry("Mic"));
56 65
57 config.setGroup("Record"); 66 config.setGroup("Record");
58 sampleRate->setText(config.readEntry("SampleRate", "11025")); 67 int rate=config.readNumEntry("SampleRate", 11025);
59 stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); 68 if(rate == 11025)
60 sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0)); 69 sampleRate->setCurrentItem(0);
70 else if(rate == 22050)
71 sampleRate->setCurrentItem(1);
72 else if(rate==44100)
73 sampleRate->setCurrentItem(2);
74 stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0));
75 sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0));
61 76
62 QDialog::reject(); 77 QDialog::reject();
63} 78}
64 79
65void SoundSettings::accept() 80void SoundSettings::accept()
66{ 81{
67 Config config( "Sound" ); 82 Config config( "Sound" );
68 config.setGroup( "System" ); 83 config.setGroup( "System" );
69 config.writeEntry("Volume",100-volume->value()); 84 config.writeEntry("Volume",100-volume->value());
70 config.writeEntry("Mic",100-mic->value()); 85 config.writeEntry("Mic",100-mic->value());
71 config.writeEntry("Touch",touchsound->isChecked()); 86 config.writeEntry("Touch",touchsound->isChecked());
72 config.writeEntry("Key",keysound->isChecked()); 87 config.writeEntry("Key",keysound->isChecked());
73 88
74 setVolume(volume->value()); 89 setVolume(volume->value());
75 setMic(mic->value()); 90 setMic(mic->value());
76 91
77 config.setGroup("Record"); 92 config.setGroup("Record");
78 config.writeEntry("SampleRate",sampleRate->text()); 93 config.writeEntry("SampleRate",sampleRate->currentText());
79 config.writeEntry("Stereo",stereoCheckBox->isChecked()); 94 config.writeEntry("Stereo",stereoCheckBox->isChecked());
80 config.writeEntry("SixteenBit",sixteenBitCheckBox->isChecked()); 95 config.writeEntry("SixteenBit",sixteenBitCheckBox->isChecked());
81 96
82 QDialog::accept(); 97 QDialog::accept();
83} 98}
84 99
85void SoundSettings::setVolume(int v) 100void SoundSettings::setVolume(int v)
86{ 101{
87 Config config( "Sound" ); 102 Config config( "Sound" );
88 config.setGroup( "System" ); 103 config.setGroup( "System" );
89 config.writeEntry("Volume",100-v); 104 config.writeEntry("Volume",100-v);
90#if ( defined Q_WS_QWS || defined(_WS_QWS_) ) && !defined(QT_NO_COP) 105#if ( defined Q_WS_QWS || defined(_WS_QWS_) ) && !defined(QT_NO_COP)
91 QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << FALSE; 106 QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << FALSE;
92#endif 107#endif
93} 108}
94 109
95void SoundSettings::setMic(int m) 110void SoundSettings::setMic(int m)
96{ 111{
97 Config config( "Sound" ); 112 Config config( "Sound" );
98 config.setGroup( "System" ); 113 config.setGroup( "System" );
99 config.writeEntry("Mic",100-m); 114 config.writeEntry("Mic",100-m);
100#if ( defined Q_WS_QWS || defined(_WS_QWS_) ) && !defined(QT_NO_COP) 115#if ( defined Q_WS_QWS || defined(_WS_QWS_) ) && !defined(QT_NO_COP)
101 QCopEnvelope( "QPE/System", "micChange(bool)" ) << FALSE; 116 QCopEnvelope( "QPE/System", "micChange(bool)" ) << FALSE;
102#endif 117#endif
103} 118}
104 119
105void SoundSettings::volumeChanged( bool ) 120void SoundSettings::volumeChanged( bool )
106{ 121{
107 Config config( "Sound" ); 122 Config config( "Sound" );
108 config.setGroup( "System" ); 123 config.setGroup( "System" );
109 volume->setValue(100-config.readNumEntry("Volume")); 124 volume->setValue(100-config.readNumEntry("Volume"));
110} 125}
111 126
112void SoundSettings::micChanged( bool ) 127void SoundSettings::micChanged( bool )
113{ 128{
114 Config config( "Sound" ); 129 Config config( "Sound" );
115 config.setGroup( "System" ); 130 config.setGroup( "System" );
116 mic->setValue(100-config.readNumEntry("Mic")); 131 mic->setValue(100-config.readNumEntry("Mic"));
117} 132}
diff --git a/noncore/settings/sound/soundsettingsbase.ui b/noncore/settings/sound/soundsettingsbase.ui
index f47f77e..0351fd8 100644
--- a/noncore/settings/sound/soundsettingsbase.ui
+++ b/noncore/settings/sound/soundsettingsbase.ui
@@ -1,560 +1,624 @@
1<!DOCTYPE UI><UI> 1<!DOCTYPE UI><UI>
2<class>SoundSettingsBase</class> 2<class>SoundSettingsBase</class>
3<widget> 3<widget>
4 <class>QDialog</class> 4 <class>QDialog</class>
5 <property stdset="1"> 5 <property stdset="1">
6 <name>name</name> 6 <name>name</name>
7 <cstring>SoundSettingsBase</cstring> 7 <cstring>SoundSettingsBase</cstring>
8 </property> 8 </property>
9 <property stdset="1"> 9 <property stdset="1">
10 <name>geometry</name> 10 <name>geometry</name>
11 <rect> 11 <rect>
12 <x>0</x> 12 <x>0</x>
13 <y>0</y> 13 <y>0</y>
14 <width>372</width> 14 <width>286</width>
15 <height>441</height> 15 <height>338</height>
16 </rect> 16 </rect>
17 </property> 17 </property>
18 <property stdset="1"> 18 <property stdset="1">
19 <name>caption</name> 19 <name>caption</name>
20 <string>Sound Settings</string> 20 <string>Sound Settings</string>
21 </property> 21 </property>
22 <property> 22 <property>
23 <name>layoutMargin</name> 23 <name>layoutMargin</name>
24 </property> 24 </property>
25 <property> 25 <property>
26 <name>layoutSpacing</name> 26 <name>layoutSpacing</name>
27 </property> 27 </property>
28 <grid> 28 <grid>
29 <property stdset="1"> 29 <property stdset="1">
30 <name>margin</name> 30 <name>margin</name>
31 <number>11</number> 31 <number>11</number>
32 </property> 32 </property>
33 <property stdset="1"> 33 <property stdset="1">
34 <name>spacing</name> 34 <name>spacing</name>
35 <number>6</number> 35 <number>6</number>
36 </property> 36 </property>
37 <widget row="0" column="0" > 37 <widget row="0" column="1" >
38 <class>QLayoutWidget</class> 38 <class>QLayoutWidget</class>
39 <property stdset="1"> 39 <property stdset="1">
40 <name>name</name> 40 <name>name</name>
41 <cstring>Layout30</cstring> 41 <cstring>Layout9</cstring>
42 </property> 42 </property>
43 <hbox> 43 <vbox>
44 <property stdset="1"> 44 <property stdset="1">
45 <name>margin</name> 45 <name>margin</name>
46 <number>0</number> 46 <number>0</number>
47 </property> 47 </property>
48 <property stdset="1"> 48 <property stdset="1">
49 <name>spacing</name> 49 <name>spacing</name>
50 <number>6</number> 50 <number>6</number>
51 </property> 51 </property>
52 <widget> 52 <widget>
53 <class>QLayoutWidget</class> 53 <class>QLayoutWidget</class>
54 <property stdset="1"> 54 <property stdset="1">
55 <name>name</name> 55 <name>name</name>
56 <cstring>Layout24</cstring> 56 <cstring>Layout8</cstring>
57 </property> 57 </property>
58 <vbox> 58 <vbox>
59 <property stdset="1"> 59 <property stdset="1">
60 <name>margin</name> 60 <name>margin</name>
61 <number>0</number> 61 <number>0</number>
62 </property> 62 </property>
63 <property stdset="1"> 63 <property stdset="1">
64 <name>spacing</name> 64 <name>spacing</name>
65 <number>6</number> 65 <number>6</number>
66 </property> 66 </property>
67 <widget> 67 <widget>
68 <class>QGroupBox</class>
69 <property stdset="1">
70 <name>name</name>
71 <cstring>GroupBox1</cstring>
72 </property>
73 <property stdset="1">
74 <name>title</name>
75 <string>Vmemo</string>
76 </property>
77 <grid>
78 <property stdset="1">
79 <name>margin</name>
80 <number>11</number>
81 </property>
82 <property stdset="1">
83 <name>spacing</name>
84 <number>6</number>
85 </property>
86 <widget row="0" column="0" >
87 <class>QLayoutWidget</class>
88 <property stdset="1">
89 <name>name</name>
90 <cstring>Layout15</cstring>
91 </property>
92 <vbox>
93 <property stdset="1">
94 <name>margin</name>
95 <number>0</number>
96 </property>
97 <property stdset="1">
98 <name>spacing</name>
99 <number>6</number>
100 </property>
101 <widget>
102 <class>QLabel</class>
103 <property stdset="1">
104 <name>name</name>
105 <cstring>sampleRateLabel</cstring>
106 </property>
107 <property stdset="1">
108 <name>text</name>
109 <string>Sample Rate</string>
110 </property>
111 </widget>
112 <widget>
113 <class>QComboBox</class>
114 <item>
115 <property>
116 <name>text</name>
117 <string>11025</string>
118 </property>
119 </item>
120 <item>
121 <property>
122 <name>text</name>
123 <string>22050</string>
124 </property>
125 </item>
126 <item>
127 <property>
128 <name>text</name>
129 <string>44100</string>
130 </property>
131 </item>
132 <property stdset="1">
133 <name>name</name>
134 <cstring>sampleRate</cstring>
135 </property>
136 </widget>
137 <widget>
138 <class>QCheckBox</class>
139 <property stdset="1">
140 <name>name</name>
141 <cstring>stereoCheckBox</cstring>
142 </property>
143 <property stdset="1">
144 <name>text</name>
145 <string>Stereo</string>
146 </property>
147 </widget>
148 <widget>
149 <class>QCheckBox</class>
150 <property stdset="1">
151 <name>name</name>
152 <cstring>sixteenBitCheckBox</cstring>
153 </property>
154 <property stdset="1">
155 <name>text</name>
156 <string>16 bit</string>
157 </property>
158 </widget>
159 </vbox>
160 </widget>
161 </grid>
162 </widget>
163 <widget>
68 <class>QCheckBox</class> 164 <class>QCheckBox</class>
69 <property stdset="1"> 165 <property stdset="1">
70 <name>name</name> 166 <name>name</name>
71 <cstring>touchsound</cstring> 167 <cstring>touchsound</cstring>
72 </property> 168 </property>
73 <property stdset="1"> 169 <property stdset="1">
74 <name>text</name> 170 <name>text</name>
75 <string>Screen sound</string> 171 <string>Screen sounds</string>
76 </property> 172 </property>
77 </widget> 173 </widget>
78 <widget> 174 <widget>
79 <class>QCheckBox</class> 175 <class>QCheckBox</class>
80 <property stdset="1"> 176 <property stdset="1">
81 <name>name</name> 177 <name>name</name>
82 <cstring>keysound</cstring> 178 <cstring>keysound</cstring>
83 </property> 179 </property>
84 <property stdset="1"> 180 <property stdset="1">
85 <name>text</name> 181 <name>text</name>
86 <string>Keyboard sound</string> 182 <string>Keyboard sounds</string>
87 </property> 183 </property>
88 </widget> 184 </widget>
185 </vbox>
186 </widget>
187 <spacer>
188 <property>
189 <name>name</name>
190 <cstring>Spacer10</cstring>
191 </property>
192 <property stdset="1">
193 <name>orientation</name>
194 <enum>Vertical</enum>
195 </property>
196 <property stdset="1">
197 <name>sizeType</name>
198 <enum>Expanding</enum>
199 </property>
200 <property>
201 <name>sizeHint</name>
202 <size>
203 <width>20</width>
204 <height>20</height>
205 </size>
206 </property>
207 </spacer>
208 </vbox>
209 </widget>
210 <widget row="0" column="0" >
211 <class>QGroupBox</class>
212 <property stdset="1">
213 <name>name</name>
214 <cstring>GroupBox3</cstring>
215 </property>
216 <property stdset="1">
217 <name>title</name>
218 <string>Levels</string>
219 </property>
220 <vbox>
221 <property stdset="1">
222 <name>margin</name>
223 <number>11</number>
224 </property>
225 <property stdset="1">
226 <name>spacing</name>
227 <number>6</number>
228 </property>
229 <widget>
230 <class>QLayoutWidget</class>
231 <property stdset="1">
232 <name>name</name>
233 <cstring>Layout10</cstring>
234 </property>
235 <vbox>
236 <property stdset="1">
237 <name>margin</name>
238 <number>0</number>
239 </property>
240 <property stdset="1">
241 <name>spacing</name>
242 <number>6</number>
243 </property>
89 <widget> 244 <widget>
90 <class>QLayoutWidget</class> 245 <class>QLayoutWidget</class>
91 <property stdset="1"> 246 <property stdset="1">
92 <name>name</name> 247 <name>name</name>
93 <cstring>Layout11</cstring> 248 <cstring>Layout16</cstring>
94 </property> 249 </property>
95 <hbox> 250 <hbox>
96 <property stdset="1"> 251 <property stdset="1">
97 <name>margin</name> 252 <name>margin</name>
98 <number>0</number> 253 <number>0</number>
99 </property> 254 </property>
100 <property stdset="1"> 255 <property stdset="1">
101 <name>spacing</name> 256 <name>spacing</name>
102 <number>6</number> 257 <number>6</number>
103 </property> 258 </property>
104 <spacer> 259 <spacer>
105 <property> 260 <property>
106 <name>name</name> 261 <name>name</name>
107 <cstring>Spacer3_2_2</cstring> 262 <cstring>Spacer37</cstring>
108 </property> 263 </property>
109 <property stdset="1"> 264 <property stdset="1">
110 <name>orientation</name> 265 <name>orientation</name>
111 <enum>Horizontal</enum> 266 <enum>Horizontal</enum>
112 </property> 267 </property>
113 <property stdset="1"> 268 <property stdset="1">
114 <name>sizeType</name> 269 <name>sizeType</name>
115 <enum>Expanding</enum> 270 <enum>Expanding</enum>
116 </property> 271 </property>
117 <property> 272 <property>
118 <name>sizeHint</name> 273 <name>sizeHint</name>
119 <size> 274 <size>
120 <width>20</width> 275 <width>20</width>
121 <height>20</height> 276 <height>20</height>
122 </size> 277 </size>
123 </property> 278 </property>
124 </spacer> 279 </spacer>
125 <widget> 280 <widget>
126 <class>QLabel</class> 281 <class>QLabel</class>
127 <property stdset="1"> 282 <property stdset="1">
128 <name>name</name> 283 <name>name</name>
129 <cstring>PixmapLabel1_2</cstring> 284 <cstring>PixmapLabel1_2</cstring>
130 </property> 285 </property>
131 <property stdset="1"> 286 <property stdset="1">
132 <name>pixmap</name> 287 <name>pixmap</name>
133 <pixmap>image0</pixmap> 288 <pixmap>image0</pixmap>
134 </property> 289 </property>
135 <property stdset="1"> 290 <property stdset="1">
136 <name>scaledContents</name> 291 <name>scaledContents</name>
137 <bool>false</bool> 292 <bool>false</bool>
138 </property> 293 </property>
139 </widget> 294 </widget>
140 <widget> 295 <widget>
141 <class>QLabel</class> 296 <class>QLabel</class>
142 <property stdset="1"> 297 <property stdset="1">
143 <name>name</name> 298 <name>name</name>
144 <cstring>TextLabel1_2</cstring> 299 <cstring>TextLabel1_2</cstring>
145 </property> 300 </property>
146 <property stdset="1"> 301 <property stdset="1">
147 <name>text</name> 302 <name>text</name>
148 <string>Loud</string> 303 <string>Loud</string>
149 </property> 304 </property>
150 </widget> 305 </widget>
151 <spacer> 306 <spacer>
152 <property> 307 <property>
153 <name>name</name> 308 <name>name</name>
154 <cstring>Spacer3_2</cstring> 309 <cstring>Spacer7</cstring>
155 </property> 310 </property>
156 <property stdset="1"> 311 <property stdset="1">
157 <name>orientation</name> 312 <name>orientation</name>
158 <enum>Horizontal</enum> 313 <enum>Horizontal</enum>
159 </property> 314 </property>
160 <property stdset="1"> 315 <property stdset="1">
161 <name>sizeType</name> 316 <name>sizeType</name>
162 <enum>Expanding</enum> 317 <enum>Expanding</enum>
163 </property> 318 </property>
164 <property> 319 <property>
165 <name>sizeHint</name> 320 <name>sizeHint</name>
166 <size> 321 <size>
167 <width>20</width> 322 <width>20</width>
168 <height>20</height> 323 <height>20</height>
169 </size> 324 </size>
170 </property> 325 </property>
171 </spacer> 326 </spacer>
172 </hbox> 327 </hbox>
173 </widget> 328 </widget>
174 <widget> 329 <widget>
175 <class>QLayoutWidget</class> 330 <class>QLayoutWidget</class>
176 <property stdset="1"> 331 <property stdset="1">
177 <name>name</name> 332 <name>name</name>
178 <cstring>Layout11</cstring> 333 <cstring>Layout13</cstring>
179 </property> 334 </property>
180 <hbox> 335 <hbox>
181 <property stdset="1"> 336 <property stdset="1">
182 <name>margin</name> 337 <name>margin</name>
183 <number>0</number> 338 <number>0</number>
184 </property> 339 </property>
185 <property stdset="1"> 340 <property stdset="1">
186 <name>spacing</name> 341 <name>spacing</name>
187 <number>6</number> 342 <number>6</number>
188 </property> 343 </property>
189 <widget> 344 <widget>
190 <class>QLayoutWidget</class> 345 <class>QLabel</class>
191 <property stdset="1"> 346 <property stdset="1">
192 <name>name</name> 347 <name>name</name>
193 <cstring>Layout7</cstring> 348 <cstring>volLabel</cstring>
349 </property>
350 <property stdset="1">
351 <name>text</name>
352 <string>Output</string>
194 </property> 353 </property>
195 <vbox>
196 <property stdset="1">
197 <name>margin</name>
198 <number>0</number>
199 </property>
200 <property stdset="1">
201 <name>spacing</name>
202 <number>6</number>
203 </property>
204 <widget>
205 <class>QLabel</class>
206 <property stdset="1">
207 <name>name</name>
208 <cstring>volLabel</cstring>
209 </property>
210 <property stdset="1">
211 <name>text</name>
212 <string>Volume</string>
213 </property>
214 </widget>
215 <widget>
216 <class>QSlider</class>
217 <property stdset="1">
218 <name>name</name>
219 <cstring>volume</cstring>
220 </property>
221 <property stdset="1">
222 <name>maxValue</name>
223 <number>100</number>
224 </property>
225 <property stdset="1">
226 <name>value</name>
227 <number>50</number>
228 </property>
229 <property stdset="1">
230 <name>orientation</name>
231 <enum>Vertical</enum>
232 </property>
233 <property stdset="1">
234 <name>tickmarks</name>
235 <enum>Right</enum>
236 </property>
237 <property stdset="1">
238 <name>tickInterval</name>
239 <number>5</number>
240 </property>
241 </widget>
242 </vbox>
243 </widget> 354 </widget>
244 <spacer> 355 <spacer>
245 <property> 356 <property>
246 <name>name</name> 357 <name>name</name>
247 <cstring>Spacer5_2</cstring> 358 <cstring>Spacer20</cstring>
248 </property> 359 </property>
249 <property stdset="1"> 360 <property stdset="1">
250 <name>orientation</name> 361 <name>orientation</name>
251 <enum>Vertical</enum> 362 <enum>Horizontal</enum>
252 </property> 363 </property>
253 <property stdset="1"> 364 <property stdset="1">
254 <name>sizeType</name> 365 <name>sizeType</name>
255 <enum>Expanding</enum> 366 <enum>Expanding</enum>
256 </property> 367 </property>
257 <property> 368 <property>
258 <name>sizeHint</name> 369 <name>sizeHint</name>
259 <size> 370 <size>
260 <width>20</width> 371 <width>20</width>
261 <height>20</height> 372 <height>20</height>
262 </size> 373 </size>
263 </property> 374 </property>
264 </spacer> 375 </spacer>
265 <widget> 376 <widget>
266 <class>QLayoutWidget</class> 377 <class>QLabel</class>
267 <property stdset="1"> 378 <property stdset="1">
268 <name>name</name> 379 <name>name</name>
269 <cstring>Layout8</cstring> 380 <cstring>micLabel</cstring>
381 </property>
382 <property stdset="1">
383 <name>text</name>
384 <string>Mic</string>
270 </property> 385 </property>
271 <vbox>
272 <property stdset="1">
273 <name>margin</name>
274 <number>0</number>
275 </property>
276 <property stdset="1">
277 <name>spacing</name>
278 <number>6</number>
279 </property>
280 <widget>
281 <class>QLabel</class>
282 <property stdset="1">
283 <name>name</name>
284 <cstring>micLabel</cstring>
285 </property>
286 <property stdset="1">
287 <name>text</name>
288 <string>Microphone</string>
289 </property>
290 </widget>
291 <widget>
292 <class>QSlider</class>
293 <property stdset="1">
294 <name>name</name>
295 <cstring>mic</cstring>
296 </property>
297 <property stdset="1">
298 <name>maxValue</name>
299 <number>100</number>
300 </property>
301 <property stdset="1">
302 <name>value</name>
303 <number>50</number>
304 </property>
305 <property stdset="1">
306 <name>orientation</name>
307 <enum>Vertical</enum>
308 </property>
309 <property stdset="1">
310 <name>tickmarks</name>
311 <enum>Right</enum>
312 </property>
313 <property stdset="1">
314 <name>tickInterval</name>
315 <number>5</number>
316 </property>
317 </widget>
318 </vbox>
319 </widget> 386 </widget>
387 <spacer>
388 <property>
389 <name>name</name>
390 <cstring>Spacer17</cstring>
391 </property>
392 <property stdset="1">
393 <name>orientation</name>
394 <enum>Horizontal</enum>
395 </property>
396 <property stdset="1">
397 <name>sizeType</name>
398 <enum>Expanding</enum>
399 </property>
400 <property>
401 <name>sizeHint</name>
402 <size>
403 <width>20</width>
404 <height>20</height>
405 </size>
406 </property>
407 </spacer>
320 </hbox> 408 </hbox>
321 </widget> 409 </widget>
322 <widget> 410 <widget>
323 <class>QLayoutWidget</class> 411 <class>QLayoutWidget</class>
324 <property stdset="1"> 412 <property stdset="1">
325 <name>name</name> 413 <name>name</name>
326 <cstring>Layout12</cstring> 414 <cstring>Layout12</cstring>
327 </property> 415 </property>
328 <hbox> 416 <hbox>
329 <property stdset="1"> 417 <property stdset="1">
330 <name>margin</name> 418 <name>margin</name>
331 <number>0</number> 419 <number>0</number>
332 </property> 420 </property>
333 <property stdset="1"> 421 <property stdset="1">
334 <name>spacing</name> 422 <name>spacing</name>
335 <number>6</number> 423 <number>6</number>
336 </property> 424 </property>
425 <widget>
426 <class>QSlider</class>
427 <property stdset="1">
428 <name>name</name>
429 <cstring>volume</cstring>
430 </property>
431 <property stdset="1">
432 <name>maxValue</name>
433 <number>100</number>
434 </property>
435 <property stdset="1">
436 <name>value</name>
437 <number>50</number>
438 </property>
439 <property stdset="1">
440 <name>orientation</name>
441 <enum>Vertical</enum>
442 </property>
443 <property stdset="1">
444 <name>tickmarks</name>
445 <enum>Right</enum>
446 </property>
447 <property stdset="1">
448 <name>tickInterval</name>
449 <number>5</number>
450 </property>
451 </widget>
337 <spacer> 452 <spacer>
338 <property> 453 <property>
339 <name>name</name> 454 <name>name</name>
340 <cstring>Spacer3_2_3</cstring> 455 <cstring>Spacer19</cstring>
341 </property> 456 </property>
342 <property stdset="1"> 457 <property stdset="1">
343 <name>orientation</name> 458 <name>orientation</name>
344 <enum>Horizontal</enum> 459 <enum>Horizontal</enum>
345 </property> 460 </property>
346 <property stdset="1"> 461 <property stdset="1">
347 <name>sizeType</name> 462 <name>sizeType</name>
348 <enum>Expanding</enum> 463 <enum>Expanding</enum>
349 </property> 464 </property>
350 <property> 465 <property>
351 <name>sizeHint</name> 466 <name>sizeHint</name>
352 <size> 467 <size>
353 <width>20</width> 468 <width>20</width>
354 <height>20</height> 469 <height>20</height>
355 </size> 470 </size>
356 </property> 471 </property>
357 </spacer> 472 </spacer>
358 <widget> 473 <widget>
359 <class>QLabel</class> 474 <class>QSlider</class>
360 <property stdset="1"> 475 <property stdset="1">
361 <name>name</name> 476 <name>name</name>
362 <cstring>PixmapLabel2_2</cstring> 477 <cstring>mic</cstring>
363 </property> 478 </property>
364 <property stdset="1"> 479 <property stdset="1">
365 <name>pixmap</name> 480 <name>maxValue</name>
366 <pixmap>image1</pixmap> 481 <number>100</number>
367 </property> 482 </property>
368 <property stdset="1"> 483 <property stdset="1">
369 <name>scaledContents</name> 484 <name>value</name>
370 <bool>false</bool> 485 <number>50</number>
371 </property> 486 </property>
372 </widget>
373 <widget>
374 <class>QLabel</class>
375 <property stdset="1"> 487 <property stdset="1">
376 <name>name</name> 488 <name>orientation</name>
377 <cstring>TextLabel2_2</cstring> 489 <enum>Vertical</enum>
378 </property> 490 </property>
379 <property stdset="1"> 491 <property stdset="1">
380 <name>text</name> 492 <name>tickmarks</name>
381 <string>Silent</string> 493 <enum>Right</enum>
494 </property>
495 <property stdset="1">
496 <name>tickInterval</name>
497 <number>5</number>
382 </property> 498 </property>
383 </widget> 499 </widget>
384 <spacer> 500 <spacer>
385 <property> 501 <property>
386 <name>name</name> 502 <name>name</name>
387 <cstring>Spacer2_2</cstring> 503 <cstring>Spacer18</cstring>
388 </property> 504 </property>
389 <property stdset="1"> 505 <property stdset="1">
390 <name>orientation</name> 506 <name>orientation</name>
391 <enum>Horizontal</enum> 507 <enum>Horizontal</enum>
392 </property> 508 </property>
393 <property stdset="1"> 509 <property stdset="1">
394 <name>sizeType</name> 510 <name>sizeType</name>
395 <enum>Expanding</enum> 511 <enum>Expanding</enum>
396 </property> 512 </property>
397 <property> 513 <property>
398 <name>sizeHint</name> 514 <name>sizeHint</name>
399 <size> 515 <size>
400 <width>20</width> 516 <width>20</width>
401 <height>20</height> 517 <height>20</height>
402 </size> 518 </size>
403 </property> 519 </property>
404 </spacer> 520 </spacer>
405 </hbox> 521 </hbox>
406 </widget> 522 </widget>
407 </vbox>
408 </widget>
409 <widget>
410 <class>QLayoutWidget</class>
411 <property stdset="1">
412 <name>name</name>
413 <cstring>Layout29</cstring>
414 </property>
415 <vbox>
416 <property stdset="1">
417 <name>margin</name>
418 <number>0</number>
419 </property>
420 <property stdset="1">
421 <name>spacing</name>
422 <number>6</number>
423 </property>
424 <widget> 523 <widget>
425 <class>QGroupBox</class> 524 <class>QLayoutWidget</class>
426 <property stdset="1"> 525 <property stdset="1">
427 <name>name</name> 526 <name>name</name>
428 <cstring>GroupBox1</cstring> 527 <cstring>Layout17</cstring>
429 </property>
430 <property stdset="1">
431 <name>title</name>
432 <string>Record Defaults</string>
433 </property> 528 </property>
434 <grid> 529 <hbox>
435 <property stdset="1"> 530 <property stdset="1">
436 <name>margin</name> 531 <name>margin</name>
437 <number>11</number> 532 <number>0</number>
438 </property> 533 </property>
439 <property stdset="1"> 534 <property stdset="1">
440 <name>spacing</name> 535 <name>spacing</name>
441 <number>6</number> 536 <number>6</number>
442 </property> 537 </property>
443 <widget row="0" column="0" > 538 <spacer>
444 <class>QLayoutWidget</class> 539 <property>
540 <name>name</name>
541 <cstring>Spacer38</cstring>
542 </property>
543 <property stdset="1">
544 <name>orientation</name>
545 <enum>Horizontal</enum>
546 </property>
547 <property stdset="1">
548 <name>sizeType</name>
549 <enum>Expanding</enum>
550 </property>
551 <property>
552 <name>sizeHint</name>
553 <size>
554 <width>20</width>
555 <height>20</height>
556 </size>
557 </property>
558 </spacer>
559 <widget>
560 <class>QLabel</class>
445 <property stdset="1"> 561 <property stdset="1">
446 <name>name</name> 562 <name>name</name>
447 <cstring>Layout28</cstring> 563 <cstring>PixmapLabel2_2</cstring>
564 </property>
565 <property stdset="1">
566 <name>pixmap</name>
567 <pixmap>image1</pixmap>
568 </property>
569 <property stdset="1">
570 <name>scaledContents</name>
571 <bool>false</bool>
448 </property> 572 </property>
449 <vbox>
450 <property stdset="1">
451 <name>margin</name>
452 <number>0</number>
453 </property>
454 <property stdset="1">
455 <name>spacing</name>
456 <number>6</number>
457 </property>
458 <widget>
459 <class>QLabel</class>
460 <property stdset="1">
461 <name>name</name>
462 <cstring>sampleRateLabel</cstring>
463 </property>
464 <property stdset="1">
465 <name>text</name>
466 <string>Rate (5k-44k)</string>
467 </property>
468 </widget>
469 <widget>
470 <class>QLineEdit</class>
471 <property stdset="1">
472 <name>name</name>
473 <cstring>sampleRate</cstring>
474 </property>
475 </widget>
476 <widget>
477 <class>QCheckBox</class>
478 <property stdset="1">
479 <name>name</name>
480 <cstring>stereoCheckBox</cstring>
481 </property>
482 <property stdset="1">
483 <name>text</name>
484 <string>Stereo</string>
485 </property>
486 </widget>
487 <widget>
488 <class>QCheckBox</class>
489 <property stdset="1">
490 <name>name</name>
491 <cstring>sixteenBitCheckBox</cstring>
492 </property>
493 <property stdset="1">
494 <name>text</name>
495 <string>16 bit</string>
496 </property>
497 </widget>
498 </vbox>
499 </widget> 573 </widget>
500 </grid> 574 <widget>
575 <class>QLabel</class>
576 <property stdset="1">
577 <name>name</name>
578 <cstring>TextLabel2_2</cstring>
579 </property>
580 <property stdset="1">
581 <name>text</name>
582 <string>Silent</string>
583 </property>
584 </widget>
585 <spacer>
586 <property>
587 <name>name</name>
588 <cstring>Spacer8</cstring>
589 </property>
590 <property stdset="1">
591 <name>orientation</name>
592 <enum>Horizontal</enum>
593 </property>
594 <property stdset="1">
595 <name>sizeType</name>
596 <enum>Expanding</enum>
597 </property>
598 <property>
599 <name>sizeHint</name>
600 <size>
601 <width>20</width>
602 <height>20</height>
603 </size>
604 </property>
605 </spacer>
606 </hbox>
501 </widget> 607 </widget>
502 <spacer>
503 <property>
504 <name>name</name>
505 <cstring>Spacer9</cstring>
506 </property>
507 <property stdset="1">
508 <name>orientation</name>
509 <enum>Vertical</enum>
510 </property>
511 <property stdset="1">
512 <name>sizeType</name>
513 <enum>Expanding</enum>
514 </property>
515 <property>
516 <name>sizeHint</name>
517 <size>
518 <width>20</width>
519 <height>20</height>
520 </size>
521 </property>
522 </spacer>
523 </vbox> 608 </vbox>
524 </widget> 609 </widget>
525 <spacer> 610 </vbox>
526 <property>
527 <name>name</name>
528 <cstring>Spacer10</cstring>
529 </property>
530 <property stdset="1">
531 <name>orientation</name>
532 <enum>Horizontal</enum>
533 </property>
534 <property stdset="1">
535 <name>sizeType</name>
536 <enum>Expanding</enum>
537 </property>
538 <property>
539 <name>sizeHint</name>
540 <size>
541 <width>20</width>
542 <height>20</height>
543 </size>
544 </property>
545 </spacer>
546 </hbox>
547 </widget> 611 </widget>
548 </grid> 612 </grid>
549</widget> 613</widget>
550<images> 614<images>
551 <image> 615 <image>
552 <name>image0</name> 616 <name>image0</name>
553 <data format="XPM.GZ" length="409">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523234530022630543251d2e253d856405bffcbc54103b11c856360003105719c44d4b8371f590803210638829a38b2983115c2c112a8224969808d60716868a2582c440aa94a1628960a00755a5ac8c2aa64c8118c23c6cf6c2dda787e23eb03f602af1fa17395c6aadb9008c9350cb</data> 617 <data format="XPM.GZ" length="409">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523234530022630543251d2e253d856405bffcbc54103b11c856360003105719c44d4b8371f590803210638829a38b2983115c2c112a8224969808d60716868a2582c440aa94a1628960a00755a5ac8c2aa64c8118c23c6cf6c2dda787e23eb03f602af1fa17395c6aadb9008c9350cb</data>
554 </image> 618 </image>
555 <image> 619 <image>
556 <name>image1</name> 620 <name>image1</name>
557 <data format="XPM.GZ" length="409">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523234530022630543251d2e253d856405bffcbc54105b19c856360003103711c44d4b8371f5d000c962ca9862ca9862ca60b1440806bb0a0c80dcc444304616030924a2a983a8d423a80ed93c6cf6e2701f567f100c835a6b2e0025ab4ee4</data> 621 <data format="XPM.GZ" length="409">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523234530022630543251d2e253d856405bffcbc54105b19c856360003103711c44d4b8371f5d000c962ca9862ca9862ca60b1440806bb0a0c80dcc444304616030924a2a983a8d423a80ed93c6cf6e2701f567f100c835a6b2e0025ab4ee4</data>
558 </image> 622 </image>
559</images> 623</images>
560</UI> 624</UI>