-rw-r--r-- | noncore/settings/sound/soundsettingsbase.cpp | 58 |
1 files changed, 31 insertions, 27 deletions
diff --git a/noncore/settings/sound/soundsettingsbase.cpp b/noncore/settings/sound/soundsettingsbase.cpp index 7c2123a..f86db78 100644 --- a/noncore/settings/sound/soundsettingsbase.cpp +++ b/noncore/settings/sound/soundsettingsbase.cpp | |||
@@ -3,3 +3,3 @@ | |||
3 | ** | 3 | ** |
4 | ** Created: Thu May 23 11:23:54 2002 | 4 | ** Created: Sun May 19 12:11:35 2002 |
5 | ** by: The User Interface Compiler (uic) | 5 | ** by: The User Interface Compiler (uic) |
@@ -13,2 +13,4 @@ | |||
13 | #include <qgroupbox.h> | 13 | #include <qgroupbox.h> |
14 | #include <qmainwindow.h> | ||
15 | |||
14 | #include <qlabel.h> | 16 | #include <qlabel.h> |
@@ -76,3 +78,3 @@ static const char* const image1_data[] = { | |||
76 | SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool modal, WFlags fl ) | 78 | SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool modal, WFlags fl ) |
77 | : QDialog( parent, name, modal, fl ) | 79 | : QMainWindow( parent, name, fl ) |
78 | { | 80 | { |
@@ -83,3 +85,3 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
83 | resize( 255, 301 ); | 85 | resize( 255, 301 ); |
84 | setCaption( tr( "Sound Settings" ) ); | 86 | setCaption( tr( "Vmemo Settings" ) ); |
85 | SoundSettingsBaseLayout = new QGridLayout( this ); | 87 | SoundSettingsBaseLayout = new QGridLayout( this ); |
@@ -97,12 +99,12 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
97 | GroupBox3Layout->setAlignment( Qt::AlignTop ); | 99 | GroupBox3Layout->setAlignment( Qt::AlignTop ); |
98 | GroupBox3Layout->setSpacing( 6 ); | 100 | GroupBox3Layout->setSpacing( 2 ); |
99 | GroupBox3Layout->setMargin( 11 ); | 101 | GroupBox3Layout->setMargin( 2 ); |
100 | 102 | ||
101 | Layout10 = new QVBoxLayout; | 103 | Layout10 = new QVBoxLayout; |
102 | Layout10->setSpacing( 6 ); | 104 | Layout10->setSpacing( 2 ); |
103 | Layout10->setMargin( 0 ); | 105 | Layout10->setMargin( 2 ); |
104 | 106 | ||
105 | Layout16 = new QHBoxLayout; | 107 | Layout16 = new QHBoxLayout; |
106 | Layout16->setSpacing( 6 ); | 108 | Layout16->setSpacing( 2 ); |
107 | Layout16->setMargin( 0 ); | 109 | Layout16->setMargin( 2 ); |
108 | QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); | 110 | QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); |
@@ -123,4 +125,4 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
123 | Layout13 = new QHBoxLayout; | 125 | Layout13 = new QHBoxLayout; |
124 | Layout13->setSpacing( 6 ); | 126 | Layout13->setSpacing( 2 ); |
125 | Layout13->setMargin( 0 ); | 127 | Layout13->setMargin( 2 ); |
126 | 128 | ||
@@ -140,4 +142,4 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
140 | Layout12 = new QHBoxLayout; | 142 | Layout12 = new QHBoxLayout; |
141 | Layout12->setSpacing( 6 ); | 143 | Layout12->setSpacing( 2 ); |
142 | Layout12->setMargin( 0 ); | 144 | Layout12->setMargin( 2 ); |
143 | 145 | ||
@@ -165,4 +167,4 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
165 | Layout17 = new QHBoxLayout; | 167 | Layout17 = new QHBoxLayout; |
166 | Layout17->setSpacing( 6 ); | 168 | Layout17->setSpacing( 2 ); |
167 | Layout17->setMargin( 0 ); | 169 | Layout17->setMargin( 2 ); |
168 | QSpacerItem* spacer_7 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); | 170 | QSpacerItem* spacer_7 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); |
@@ -186,4 +188,4 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
186 | Layout12_2 = new QVBoxLayout; | 188 | Layout12_2 = new QVBoxLayout; |
187 | Layout12_2->setSpacing( 6 ); | 189 | Layout12_2->setSpacing( 2 ); |
188 | Layout12_2->setMargin( 0 ); | 190 | Layout12_2->setMargin( 2 ); |
189 | 191 | ||
@@ -195,3 +197,3 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
195 | Layout11 = new QVBoxLayout( privateLayoutWidget ); | 197 | Layout11 = new QVBoxLayout( privateLayoutWidget ); |
196 | Layout11->setSpacing( 6 ); | 198 | Layout11->setSpacing( 2 ); |
197 | Layout11->setMargin( 0 ); | 199 | Layout11->setMargin( 0 ); |
@@ -203,6 +205,8 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
203 | sampleRate = new QComboBox( FALSE, privateLayoutWidget, "sampleRate" ); | 205 | sampleRate = new QComboBox( FALSE, privateLayoutWidget, "sampleRate" ); |
206 | sampleRate->insertItem( tr( "8000" ) ); | ||
204 | sampleRate->insertItem( tr( "11025" ) ); | 207 | sampleRate->insertItem( tr( "11025" ) ); |
205 | sampleRate->insertItem( tr( "22050" ) ); | 208 | sampleRate->insertItem( tr( "22050" ) ); |
206 | sampleRate->insertItem( tr( "32000" ) ); | 209 | sampleRate->insertItem( tr( "33075" ) ); |
207 | sampleRate->insertItem( tr( "44100" ) ); | 210 | sampleRate->insertItem( tr( "44100" ) ); |
211 | sampleRate->setFixedWidth(90); | ||
208 | Layout11->addWidget( sampleRate ); | 212 | Layout11->addWidget( sampleRate ); |
@@ -229,11 +233,11 @@ SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool m | |||
229 | 233 | ||
230 | // touchsound = new QCheckBox( this, "touchsound" ); | 234 | // // touchsound = new QCheckBox( this, "touchsound" ); |
231 | // touchsound->setText( tr( "Screen sounds" ) ); | 235 | // // touchsound->setText( tr( "Screen sounds" ) ); |
232 | // Layout12_2->addWidget( touchsound ); | 236 | // // Layout12_2->addWidget( touchsound ); |
233 | 237 | ||
234 | // keysound = new QCheckBox( this, "keysound" ); | 238 | // // keysound = new QCheckBox( this, "keysound" ); |
235 | // keysound->setText( tr( "Keyboard sounds" ) ); | 239 | // // keysound->setText( tr( "Keyboard sounds" ) ); |
236 | // Layout12_2->addWidget( keysound ); | 240 | // // Layout12_2->addWidget( keysound ); |
237 | QSpacerItem* spacer_9 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); | 241 | QSpacerItem* spacer_9 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); |
238 | Layout12_2->addItem( spacer_9 ); | 242 | Layout12_2->addItem( spacer_9 ); |
239 | 243 | ||