author | llornkcor <llornkcor> | 2002-06-23 18:33:17 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-06-23 18:33:17 (UTC) |
commit | b50f663aabaf51821a35a94354237a3387954e79 (patch) (unidiff) | |
tree | c2dc2879fc7d6964aea4201995927e967f3bade3 /noncore/settings/sound/soundsettingsbase.cpp | |
parent | f0e656b51a2dcee1dec594636cbc1ba8d4b11eef (diff) | |
download | opie-b50f663aabaf51821a35a94354237a3387954e79.zip opie-b50f663aabaf51821a35a94354237a3387954e79.tar.gz opie-b50f663aabaf51821a35a94354237a3387954e79.tar.bz2 |
added recording time limit
Diffstat (limited to 'noncore/settings/sound/soundsettingsbase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sound/soundsettingsbase.cpp | 28 |
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 | |||
@@ -195,7 +195,8 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
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 ); |
@@ -236,6 +237,7 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
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( "" ) ); |
@@ -248,14 +250,26 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
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" ) ); |