summaryrefslogtreecommitdiff
path: root/noncore/settings/sound/soundsettingsbase.cpp
Unidiff
Diffstat (limited to 'noncore/settings/sound/soundsettingsbase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sound/soundsettingsbase.cpp28
1 files changed, 21 insertions, 7 deletions
diff --git a/noncore/settings/sound/soundsettingsbase.cpp b/noncore/settings/sound/soundsettingsbase.cpp
index 6cb4f89..8be1b3d 100644
--- a/noncore/settings/sound/soundsettingsbase.cpp
+++ b/noncore/settings/sound/soundsettingsbase.cpp
@@ -192,13 +192,14 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m
192 Layout12_2->setMargin( 2 ); 192 Layout12_2->setMargin( 2 );
193 193
194 GroupBox1 = new QGroupBox( this, "GroupBox1" ); 194 GroupBox1 = new QGroupBox( this, "GroupBox1" );
195 GroupBox1->setTitle( tr( "Vmemo" ) ); 195 GroupBox1->setTitle( tr( "Vmemo" ) );
196 196
197 QWidget* privateLayoutWidget = new QWidget( GroupBox1, "Layout11" ); 197 QWidget* privateLayoutWidget = new QWidget( GroupBox1, "Layout11" );
198 privateLayoutWidget->setGeometry( QRect( 5, 16, 96, 169 ) ); 198 privateLayoutWidget->setGeometry( QRect( 5, 16, 96, 230 ) );
199
199 Layout11 = new QVBoxLayout( privateLayoutWidget ); 200 Layout11 = new QVBoxLayout( privateLayoutWidget );
200 Layout11->setSpacing( 2 ); 201 Layout11->setSpacing( 2 );
201 Layout11->setMargin( 0 ); 202 Layout11->setMargin( 0 );
202 203
203 sampleRateLabel = new QLabel( privateLayoutWidget, "sampleRateLabel" ); 204 sampleRateLabel = new QLabel( privateLayoutWidget, "sampleRateLabel" );
204 sampleRateLabel->setText( tr( "Sample Rate" ) ); 205 sampleRateLabel->setText( tr( "Sample Rate" ) );
@@ -233,32 +234,45 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m
233 LocationComboBox = new QComboBox( FALSE, privateLayoutWidget, "LocationComboBox" ); 234 LocationComboBox = new QComboBox( FALSE, privateLayoutWidget, "LocationComboBox" );
234 Layout11->addWidget( LocationComboBox ); 235 Layout11->addWidget( LocationComboBox );
235 236
236 QLabel *TextLabelKey; 237 QLabel *TextLabelKey;
237 TextLabelKey = new QLabel( privateLayoutWidget, "TextLabelKey" ); 238 TextLabelKey = new QLabel( privateLayoutWidget, "TextLabelKey" );
238 TextLabelKey->setText( tr( "Record Key:" ) ); 239 TextLabelKey->setText( tr( "Record Key:" ) );
240 Layout11->addWidget( TextLabelKey );
239 241
240 keyComboBox = new QComboBox( FALSE, privateLayoutWidget, "keyComboBox" ); 242 keyComboBox = new QComboBox( FALSE, privateLayoutWidget, "keyComboBox" );
241 keyComboBox->insertItem( tr( "" ) ); 243 keyComboBox->insertItem( tr( "" ) );
242 keyComboBox->insertItem( tr( "Taskbar Icon" ) ); 244 keyComboBox->insertItem( tr( "Taskbar Icon" ) );
243 keyComboBox->insertItem( tr( "Key_Escape" ) ); 245 keyComboBox->insertItem( tr( "Key_Escape" ) );
244 keyComboBox->insertItem( tr( "Key_Space" ) ); 246 keyComboBox->insertItem( tr( "Key_Space" ) );
245 keyComboBox->insertItem( tr( "Key_Home" ) ); 247 keyComboBox->insertItem( tr( "Key_Home" ) );
246 keyComboBox->insertItem( tr( "Key_Calender" ) ); 248 keyComboBox->insertItem( tr( "Key_Calender" ) );
247 keyComboBox->insertItem( tr( "Key_Contacts" ) ); 249 keyComboBox->insertItem( tr( "Key_Contacts" ) );
248 keyComboBox->insertItem( tr( "Key_Menu" ) ); 250 keyComboBox->insertItem( tr( "Key_Menu" ) );
249 keyComboBox->insertItem( tr( "Key_Mail" ) ); 251 keyComboBox->insertItem( tr( "Key_Mail" ) );
250 252
251 Layout11->addWidget( TextLabelKey );
252
253 Layout11->addWidget( keyComboBox ); 253 Layout11->addWidget( keyComboBox );
254 254
255 QSpacerItem* spacer_9 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); 255 QLabel *timeLimitLabel;
256 Layout11->addItem( spacer_9 ); 256 timeLimitLabel= new QLabel( privateLayoutWidget, "timeLimitLabel" );
257 257 timeLimitLabel->setText( tr( "Recording Limit:" ) );
258 258 Layout11->addWidget( timeLimitLabel );
259
260 timeLimitComboBox = new QComboBox( FALSE, privateLayoutWidget, "timeLimitComboBox" );
261 timeLimitComboBox->insertItem( tr( "30" ) );
262 timeLimitComboBox->insertItem( tr( "20" ) );
263 timeLimitComboBox->insertItem( tr( "15" ) );
264 timeLimitComboBox->insertItem( tr( "10" ) );
265 timeLimitComboBox->insertItem( tr( "5" ) );
266
267 Layout11->addWidget(timeLimitComboBox);
268 QLabel *timeLimitLabel2;
269 timeLimitLabel2= new QLabel( privateLayoutWidget, "timeLimitLabel2" );
270 timeLimitLabel2->setText( tr( "seconds" ) );
271 Layout11->addWidget( timeLimitLabel2 );
272
259 Layout12_2->addWidget( GroupBox1 ); 273 Layout12_2->addWidget( GroupBox1 );
260// // touchsound = new QCheckBox( this, "touchsound" ); 274// // touchsound = new QCheckBox( this, "touchsound" );
261// // touchsound->setText( tr( "Screen sounds" ) ); 275// // touchsound->setText( tr( "Screen sounds" ) );
262// // Layout12_2->addWidget( touchsound ); 276// // Layout12_2->addWidget( touchsound );
263 277
264// // keysound = new QCheckBox( this, "keysound" ); 278// // keysound = new QCheckBox( this, "keysound" );