-rw-r--r-- | noncore/settings/sound/soundsettingsbase.cpp | 12 | ||||
-rw-r--r-- | noncore/settings/sound/soundsettingsbase.h | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/noncore/settings/sound/soundsettingsbase.cpp b/noncore/settings/sound/soundsettingsbase.cpp index 563b438..7c2123a 100644 --- a/noncore/settings/sound/soundsettingsbase.cpp +++ b/noncore/settings/sound/soundsettingsbase.cpp @@ -166,85 +166,85 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m Layout17->setSpacing( 6 ); Layout17->setMargin( 0 ); QSpacerItem* spacer_7 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); Layout17->addItem( spacer_7 ); PixmapLabel2_2 = new QLabel( GroupBox3, "PixmapLabel2_2" ); PixmapLabel2_2->setPixmap( image1 ); PixmapLabel2_2->setScaledContents( FALSE ); Layout17->addWidget( PixmapLabel2_2 ); TextLabel2_2 = new QLabel( GroupBox3, "TextLabel2_2" ); TextLabel2_2->setText( tr( "Silent" ) ); Layout17->addWidget( TextLabel2_2 ); QSpacerItem* spacer_8 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); Layout17->addItem( spacer_8 ); Layout10->addLayout( Layout17 ); GroupBox3Layout->addLayout( Layout10 ); SoundSettingsBaseLayout->addWidget( GroupBox3, 0, 0 ); Layout12_2 = new QVBoxLayout; Layout12_2->setSpacing( 6 ); Layout12_2->setMargin( 0 ); GroupBox1 = new QGroupBox( this, "GroupBox1" ); GroupBox1->setTitle( tr( "Vmemo" ) ); QWidget* privateLayoutWidget = new QWidget( GroupBox1, "Layout11" ); privateLayoutWidget->setGeometry( QRect( 5, 16, 96, 169 ) ); Layout11 = new QVBoxLayout( privateLayoutWidget ); Layout11->setSpacing( 6 ); Layout11->setMargin( 0 ); sampleRateLabel = new QLabel( privateLayoutWidget, "sampleRateLabel" ); sampleRateLabel->setText( tr( "Sample Rate" ) ); Layout11->addWidget( sampleRateLabel ); sampleRate = new QComboBox( FALSE, privateLayoutWidget, "sampleRate" ); sampleRate->insertItem( tr( "11025" ) ); sampleRate->insertItem( tr( "22050" ) ); sampleRate->insertItem( tr( "32000" ) ); sampleRate->insertItem( tr( "44100" ) ); 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" ) ); Layout11->addWidget( TextLabel1 ); LocationComboBox = new QComboBox( FALSE, privateLayoutWidget, "LocationComboBox" ); Layout11->addWidget( LocationComboBox ); Layout12_2->addWidget( GroupBox1 ); - touchsound = new QCheckBox( this, "touchsound" ); - touchsound->setText( tr( "Screen sounds" ) ); - Layout12_2->addWidget( touchsound ); +// 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 ); +// 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 } diff --git a/noncore/settings/sound/soundsettingsbase.h b/noncore/settings/sound/soundsettingsbase.h index 66ba34a..e65c813 100644 --- a/noncore/settings/sound/soundsettingsbase.h +++ b/noncore/settings/sound/soundsettingsbase.h @@ -1,63 +1,63 @@ /**************************************************************************** ** Form interface generated from reading ui file 'soundsettingsbase.ui' ** ** Created: Thu May 23 11:23:38 2002 ** by: The User Interface Compiler (uic) ** ** WARNING! All changes made in this file will be lost! ****************************************************************************/ #ifndef SOUNDSETTINGSBASE_H #define SOUNDSETTINGSBASE_H #include <qvariant.h> #include <qdialog.h> class QVBoxLayout; class QHBoxLayout; class QGridLayout; class QCheckBox; class QComboBox; class QGroupBox; class QLabel; class QSlider; class SoundSettingsBase : public QDialog { Q_OBJECT public: SoundSettingsBase( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); ~SoundSettingsBase(); QGroupBox* GroupBox3; QLabel* PixmapLabel1_2; QLabel* TextLabel1_2; QLabel* volLabel; QLabel* micLabel; QSlider* volume; QSlider* mic; QLabel* PixmapLabel2_2; QLabel* TextLabel2_2; QGroupBox* GroupBox1; QLabel* sampleRateLabel; QComboBox* sampleRate; QCheckBox* stereoCheckBox; QCheckBox* sixteenBitCheckBox; QCheckBox* AlertCheckBox; QLabel* TextLabel1; QComboBox* LocationComboBox; - QCheckBox* touchsound; - QCheckBox* keysound; +/* QCheckBox* touchsound; */ +/* QCheckBox* keysound; */ protected: QGridLayout* SoundSettingsBaseLayout; QVBoxLayout* GroupBox3Layout; QVBoxLayout* Layout10; QHBoxLayout* Layout16; QHBoxLayout* Layout13; QHBoxLayout* Layout12; QHBoxLayout* Layout17; QVBoxLayout* Layout12_2; QVBoxLayout* Layout11; }; #endif // SOUNDSETTINGSBASE_H |