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 @@ -192,13 +192,14 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m Layout12_2->setMargin( 2 ); GroupBox1 = new QGroupBox( this, "GroupBox1" ); GroupBox1->setTitle( tr( "Vmemo" ) ); QWidget* privateLayoutWidget = new QWidget( GroupBox1, "Layout11" ); - privateLayoutWidget->setGeometry( QRect( 5, 16, 96, 169 ) ); + privateLayoutWidget->setGeometry( QRect( 5, 16, 96, 230 ) ); + Layout11 = new QVBoxLayout( privateLayoutWidget ); Layout11->setSpacing( 2 ); Layout11->setMargin( 0 ); sampleRateLabel = new QLabel( privateLayoutWidget, "sampleRateLabel" ); sampleRateLabel->setText( tr( "Sample Rate" ) ); @@ -233,32 +234,45 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m LocationComboBox = new QComboBox( FALSE, privateLayoutWidget, "LocationComboBox" ); Layout11->addWidget( LocationComboBox ); QLabel *TextLabelKey; TextLabelKey = new QLabel( privateLayoutWidget, "TextLabelKey" ); TextLabelKey->setText( tr( "Record Key:" ) ); + Layout11->addWidget( TextLabelKey ); keyComboBox = new QComboBox( FALSE, privateLayoutWidget, "keyComboBox" ); keyComboBox->insertItem( tr( "" ) ); keyComboBox->insertItem( tr( "Taskbar Icon" ) ); keyComboBox->insertItem( tr( "Key_Escape" ) ); keyComboBox->insertItem( tr( "Key_Space" ) ); keyComboBox->insertItem( tr( "Key_Home" ) ); keyComboBox->insertItem( tr( "Key_Calender" ) ); keyComboBox->insertItem( tr( "Key_Contacts" ) ); keyComboBox->insertItem( tr( "Key_Menu" ) ); keyComboBox->insertItem( tr( "Key_Mail" ) ); - Layout11->addWidget( TextLabelKey ); - Layout11->addWidget( keyComboBox ); - QSpacerItem* spacer_9 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout11->addItem( spacer_9 ); - - + QLabel *timeLimitLabel; + timeLimitLabel= new QLabel( privateLayoutWidget, "timeLimitLabel" ); + timeLimitLabel->setText( tr( "Recording Limit:" ) ); + Layout11->addWidget( timeLimitLabel ); + + timeLimitComboBox = new QComboBox( FALSE, privateLayoutWidget, "timeLimitComboBox" ); + timeLimitComboBox->insertItem( tr( "30" ) ); + timeLimitComboBox->insertItem( tr( "20" ) ); + timeLimitComboBox->insertItem( tr( "15" ) ); + timeLimitComboBox->insertItem( tr( "10" ) ); + timeLimitComboBox->insertItem( tr( "5" ) ); + + Layout11->addWidget(timeLimitComboBox); + QLabel *timeLimitLabel2; + timeLimitLabel2= new QLabel( privateLayoutWidget, "timeLimitLabel2" ); + timeLimitLabel2->setText( tr( "seconds" ) ); + Layout11->addWidget( timeLimitLabel2 ); + Layout12_2->addWidget( GroupBox1 ); // // touchsound = new QCheckBox( this, "touchsound" ); // // touchsound->setText( tr( "Screen sounds" ) ); // // Layout12_2->addWidget( touchsound ); // // keysound = new QCheckBox( this, "keysound" ); |