author | llornkcor <llornkcor> | 2002-05-26 23:20:26 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-05-26 23:20:26 (UTC) |
commit | f0d0d53759436686f7f15fcd55a6706b1ecaa1cc (patch) (side-by-side diff) | |
tree | e40e731fecf6c629799e6d264c47dc05528f21da /noncore/settings/sound/soundsettingsbase.cpp | |
parent | 845ed24db904e0842f1557e185174c52d3d93092 (diff) | |
download | opie-f0d0d53759436686f7f15fcd55a6706b1ecaa1cc.zip opie-f0d0d53759436686f7f15fcd55a6706b1ecaa1cc.tar.gz opie-f0d0d53759436686f7f15fcd55a6706b1ecaa1cc.tar.bz2 |
fixed location not remembering setting. added record key combo
Diffstat (limited to 'noncore/settings/sound/soundsettingsbase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sound/soundsettingsbase.cpp | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/noncore/settings/sound/soundsettingsbase.cpp b/noncore/settings/sound/soundsettingsbase.cpp index 727d202..6cb4f89 100644 --- a/noncore/settings/sound/soundsettingsbase.cpp +++ b/noncore/settings/sound/soundsettingsbase.cpp @@ -205,51 +205,73 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m Layout11->addWidget( sampleRateLabel ); sampleRate = new QComboBox( FALSE, privateLayoutWidget, "sampleRate" ); sampleRate->insertItem( tr( "8000" ) ); sampleRate->insertItem( tr( "11025" ) ); sampleRate->insertItem( tr( "22050" ) ); sampleRate->insertItem( tr( "33075" ) ); sampleRate->insertItem( tr( "44100" ) ); sampleRate->setFixedWidth(90); Layout11->addWidget( sampleRate ); stereoCheckBox = new QCheckBox( privateLayoutWidget, "stereoCheckBox" ); stereoCheckBox->setText( tr( "Stereo" ) ); Layout11->addWidget( stereoCheckBox ); sixteenBitCheckBox = new QCheckBox( privateLayoutWidget, "sixteenBitCheckBox" ); sixteenBitCheckBox->setText( tr( "16 bit" ) ); Layout11->addWidget( sixteenBitCheckBox ); AlertCheckBox = new QCheckBox( privateLayoutWidget, "AlertCheckBox" ); AlertCheckBox->setText( tr( "Visual Alerts" ) ); Layout11->addWidget( AlertCheckBox ); TextLabel1 = new QLabel( privateLayoutWidget, "TextLabel1" ); - TextLabel1->setText( tr( "Location" ) ); + TextLabel1->setText( tr( "Location:" ) ); Layout11->addWidget( TextLabel1 ); + LocationComboBox = new QComboBox( FALSE, privateLayoutWidget, "LocationComboBox" ); Layout11->addWidget( LocationComboBox ); - Layout12_2->addWidget( GroupBox1 ); + QLabel *TextLabelKey; + TextLabelKey = new QLabel( privateLayoutWidget, "TextLabelKey" ); + TextLabelKey->setText( tr( "Record Key:" ) ); + + 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 ); + + + Layout12_2->addWidget( GroupBox1 ); // // touchsound = new QCheckBox( this, "touchsound" ); // // touchsound->setText( tr( "Screen sounds" ) ); // // Layout12_2->addWidget( touchsound ); // // keysound = new QCheckBox( this, "keysound" ); // // keysound->setText( tr( "Keyboard sounds" ) ); // // Layout12_2->addWidget( keysound ); - QSpacerItem* spacer_9 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); - Layout12_2->addItem( spacer_9 ); SoundSettingsBaseLayout->addLayout( Layout12_2, 0, 1 ); } /* * Destroys the object and frees any allocated resources */ SoundSettingsBase::~SoundSettingsBase() { // no need to delete child widgets, Qt does it all for us } |