author | llornkcor <llornkcor> | 2002-05-23 17:38:39 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-05-23 17:38:39 (UTC) |
commit | 6383d771c26498df45a89b353165d3ffcb1dd409 (patch) (unidiff) | |
tree | 9a5fa44b75fc5283aa0078cfa61612c336f2281a | |
parent | 486ad124967306e4a65a63f9d4bf60ea1ba38544 (diff) | |
download | opie-6383d771c26498df45a89b353165d3ffcb1dd409.zip opie-6383d771c26498df45a89b353165d3ffcb1dd409.tar.gz opie-6383d771c26498df45a89b353165d3ffcb1dd409.tar.bz2 |
whoops- removed stuff that I added after I removed
-rw-r--r-- | noncore/settings/sound/soundsettingsbase.cpp | 14 | ||||
-rw-r--r-- | noncore/settings/sound/soundsettingsbase.h | 4 |
2 files changed, 9 insertions, 9 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 | |||
@@ -1,250 +1,250 @@ | |||
1 | /**************************************************************************** | 1 | /**************************************************************************** |
2 | ** Form implementation generated from reading ui file 'soundsettingsbase.ui' | 2 | ** Form implementation generated from reading ui file 'soundsettingsbase.ui' |
3 | ** | 3 | ** |
4 | ** Created: Thu May 23 11:23:54 2002 | 4 | ** Created: Thu May 23 11:23:54 2002 |
5 | ** by: The User Interface Compiler (uic) | 5 | ** by: The User Interface Compiler (uic) |
6 | ** | 6 | ** |
7 | ** WARNING! All changes made in this file will be lost! | 7 | ** WARNING! All changes made in this file will be lost! |
8 | ****************************************************************************/ | 8 | ****************************************************************************/ |
9 | #include "soundsettingsbase.h" | 9 | #include "soundsettingsbase.h" |
10 | 10 | ||
11 | #include <qcheckbox.h> | 11 | #include <qcheckbox.h> |
12 | #include <qcombobox.h> | 12 | #include <qcombobox.h> |
13 | #include <qgroupbox.h> | 13 | #include <qgroupbox.h> |
14 | #include <qlabel.h> | 14 | #include <qlabel.h> |
15 | #include <qpushbutton.h> | 15 | #include <qpushbutton.h> |
16 | #include <qslider.h> | 16 | #include <qslider.h> |
17 | #include <qlayout.h> | 17 | #include <qlayout.h> |
18 | #include <qvariant.h> | 18 | #include <qvariant.h> |
19 | #include <qtooltip.h> | 19 | #include <qtooltip.h> |
20 | #include <qwhatsthis.h> | 20 | #include <qwhatsthis.h> |
21 | #include <qimage.h> | 21 | #include <qimage.h> |
22 | #include <qpixmap.h> | 22 | #include <qpixmap.h> |
23 | 23 | ||
24 | static const char* const image0_data[] = { | 24 | static const char* const image0_data[] = { |
25 | "16 16 3 1", | 25 | "16 16 3 1", |
26 | ". c None", | 26 | ". c None", |
27 | "a c #000000", | 27 | "a c #000000", |
28 | "# c #ff0000", | 28 | "# c #ff0000", |
29 | "............#...", | 29 | "............#...", |
30 | "............##..", | 30 | "............##..", |
31 | "..........#..#..", | 31 | "..........#..#..", |
32 | ".....a..#..#.#..", | 32 | ".....a..#..#.#..", |
33 | "....aa..##.#..#.", | 33 | "....aa..##.#..#.", |
34 | "...aaa...#.##.#.", | 34 | "...aaa...#.##.#.", |
35 | "aaaaaa.#.#..#.##", | 35 | "aaaaaa.#.#..#.##", |
36 | "aaaaaa.#.##.#.##", | 36 | "aaaaaa.#.##.#.##", |
37 | "aaaaaa.#.##.#.##", | 37 | "aaaaaa.#.##.#.##", |
38 | "aaaaaa.#.##.#.##", | 38 | "aaaaaa.#.##.#.##", |
39 | "aaaaaa.#.#..#.##", | 39 | "aaaaaa.#.#..#.##", |
40 | "...aaa...#.##.#.", | 40 | "...aaa...#.##.#.", |
41 | "....aa..#..#..#.", | 41 | "....aa..#..#..#.", |
42 | ".....a.....#.##.", | 42 | ".....a.....#.##.", |
43 | "..........#..#..", | 43 | "..........#..#..", |
44 | "............##.."}; | 44 | "............##.."}; |
45 | 45 | ||
46 | static const char* const image1_data[] = { | 46 | static const char* const image1_data[] = { |
47 | "16 16 3 1", | 47 | "16 16 3 1", |
48 | ". c None", | 48 | ". c None", |
49 | "# c #000000", | 49 | "# c #000000", |
50 | "a c #ff0000", | 50 | "a c #ff0000", |
51 | "................", | 51 | "................", |
52 | "................", | 52 | "................", |
53 | "................", | 53 | "................", |
54 | ".....#..........", | 54 | ".....#..........", |
55 | "....##..........", | 55 | "....##..........", |
56 | "...###...a...a..", | 56 | "...###...a...a..", |
57 | "######..aaa.aaa.", | 57 | "######..aaa.aaa.", |
58 | "######...aaaaa..", | 58 | "######...aaaaa..", |
59 | "######....aaa...", | 59 | "######....aaa...", |
60 | "######...aaaaa..", | 60 | "######...aaaaa..", |
61 | "######..aaa.aaa.", | 61 | "######..aaa.aaa.", |
62 | "...###...a...a..", | 62 | "...###...a...a..", |
63 | "....##..........", | 63 | "....##..........", |
64 | ".....#..........", | 64 | ".....#..........", |
65 | "................", | 65 | "................", |
66 | "................"}; | 66 | "................"}; |
67 | 67 | ||
68 | 68 | ||
69 | /* | 69 | /* |
70 | * Constructs a SoundSettingsBase which is a child of 'parent', with the | 70 | * Constructs a SoundSettingsBase which is a child of 'parent', with the |
71 | * name 'name' and widget flags set to 'f' | 71 | * name 'name' and widget flags set to 'f' |
72 | * | 72 | * |
73 | * The dialog will by default be modeless, unless you set 'modal' to | 73 | * The dialog will by default be modeless, unless you set 'modal' to |
74 | * TRUE to construct a modal dialog. | 74 | * TRUE to construct a modal dialog. |
75 | */ | 75 | */ |
76 | SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool modal, WFlags fl ) | 76 | SoundSettingsBase::SoundSettingsBase( QWidget* parent, const char* name, bool modal, WFlags fl ) |
77 | : QDialog( parent, name, modal, fl ) | 77 | : QDialog( parent, name, modal, fl ) |
78 | { | 78 | { |
79 | QPixmap image0( ( const char** ) image0_data ); | 79 | QPixmap image0( ( const char** ) image0_data ); |
80 | QPixmap image1( ( const char** ) image1_data ); | 80 | QPixmap image1( ( const char** ) image1_data ); |
81 | if ( !name ) | 81 | if ( !name ) |
82 | setName( "SoundSettingsBase" ); | 82 | setName( "SoundSettingsBase" ); |
83 | resize( 255, 301 ); | 83 | resize( 255, 301 ); |
84 | setCaption( tr( "Sound Settings" ) ); | 84 | setCaption( tr( "Sound Settings" ) ); |
85 | SoundSettingsBaseLayout = new QGridLayout( this ); | 85 | SoundSettingsBaseLayout = new QGridLayout( this ); |
86 | SoundSettingsBaseLayout->setSpacing( 6 ); | 86 | SoundSettingsBaseLayout->setSpacing( 6 ); |
87 | SoundSettingsBaseLayout->setMargin( 11 ); | 87 | SoundSettingsBaseLayout->setMargin( 11 ); |
88 | 88 | ||
89 | GroupBox3 = new QGroupBox( this, "GroupBox3" ); | 89 | GroupBox3 = new QGroupBox( this, "GroupBox3" ); |
90 | GroupBox3->setFrameShape( QGroupBox::Box ); | 90 | GroupBox3->setFrameShape( QGroupBox::Box ); |
91 | GroupBox3->setFrameShadow( QGroupBox::Sunken ); | 91 | GroupBox3->setFrameShadow( QGroupBox::Sunken ); |
92 | GroupBox3->setTitle( tr( "Levels" ) ); | 92 | GroupBox3->setTitle( tr( "Levels" ) ); |
93 | GroupBox3->setColumnLayout(0, Qt::Vertical ); | 93 | GroupBox3->setColumnLayout(0, Qt::Vertical ); |
94 | GroupBox3->layout()->setSpacing( 0 ); | 94 | GroupBox3->layout()->setSpacing( 0 ); |
95 | GroupBox3->layout()->setMargin( 0 ); | 95 | GroupBox3->layout()->setMargin( 0 ); |
96 | GroupBox3Layout = new QVBoxLayout( GroupBox3->layout() ); | 96 | GroupBox3Layout = new QVBoxLayout( GroupBox3->layout() ); |
97 | GroupBox3Layout->setAlignment( Qt::AlignTop ); | 97 | GroupBox3Layout->setAlignment( Qt::AlignTop ); |
98 | GroupBox3Layout->setSpacing( 6 ); | 98 | GroupBox3Layout->setSpacing( 6 ); |
99 | GroupBox3Layout->setMargin( 11 ); | 99 | GroupBox3Layout->setMargin( 11 ); |
100 | 100 | ||
101 | Layout10 = new QVBoxLayout; | 101 | Layout10 = new QVBoxLayout; |
102 | Layout10->setSpacing( 6 ); | 102 | Layout10->setSpacing( 6 ); |
103 | Layout10->setMargin( 0 ); | 103 | Layout10->setMargin( 0 ); |
104 | 104 | ||
105 | Layout16 = new QHBoxLayout; | 105 | Layout16 = new QHBoxLayout; |
106 | Layout16->setSpacing( 6 ); | 106 | Layout16->setSpacing( 6 ); |
107 | Layout16->setMargin( 0 ); | 107 | Layout16->setMargin( 0 ); |
108 | QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); | 108 | QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); |
109 | Layout16->addItem( spacer ); | 109 | Layout16->addItem( spacer ); |
110 | 110 | ||
111 | PixmapLabel1_2 = new QLabel( GroupBox3, "PixmapLabel1_2" ); | 111 | PixmapLabel1_2 = new QLabel( GroupBox3, "PixmapLabel1_2" ); |
112 | PixmapLabel1_2->setPixmap( image0 ); | 112 | PixmapLabel1_2->setPixmap( image0 ); |
113 | PixmapLabel1_2->setScaledContents( FALSE ); | 113 | PixmapLabel1_2->setScaledContents( FALSE ); |
114 | Layout16->addWidget( PixmapLabel1_2 ); | 114 | Layout16->addWidget( PixmapLabel1_2 ); |
115 | 115 | ||
116 | TextLabel1_2 = new QLabel( GroupBox3, "TextLabel1_2" ); | 116 | TextLabel1_2 = new QLabel( GroupBox3, "TextLabel1_2" ); |
117 | TextLabel1_2->setText( tr( "Loud" ) ); | 117 | TextLabel1_2->setText( tr( "Loud" ) ); |
118 | Layout16->addWidget( TextLabel1_2 ); | 118 | Layout16->addWidget( TextLabel1_2 ); |
119 | QSpacerItem* spacer_2 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); | 119 | QSpacerItem* spacer_2 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); |
120 | Layout16->addItem( spacer_2 ); | 120 | Layout16->addItem( spacer_2 ); |
121 | Layout10->addLayout( Layout16 ); | 121 | Layout10->addLayout( Layout16 ); |
122 | 122 | ||
123 | Layout13 = new QHBoxLayout; | 123 | Layout13 = new QHBoxLayout; |
124 | Layout13->setSpacing( 6 ); | 124 | Layout13->setSpacing( 6 ); |
125 | Layout13->setMargin( 0 ); | 125 | Layout13->setMargin( 0 ); |
126 | 126 | ||
127 | volLabel = new QLabel( GroupBox3, "volLabel" ); | 127 | volLabel = new QLabel( GroupBox3, "volLabel" ); |
128 | volLabel->setText( tr( "Output" ) ); | 128 | volLabel->setText( tr( "Output" ) ); |
129 | Layout13->addWidget( volLabel ); | 129 | Layout13->addWidget( volLabel ); |
130 | QSpacerItem* spacer_3 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); | 130 | QSpacerItem* spacer_3 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); |
131 | Layout13->addItem( spacer_3 ); | 131 | Layout13->addItem( spacer_3 ); |
132 | 132 | ||
133 | micLabel = new QLabel( GroupBox3, "micLabel" ); | 133 | micLabel = new QLabel( GroupBox3, "micLabel" ); |
134 | micLabel->setText( tr( "Mic" ) ); | 134 | micLabel->setText( tr( "Mic" ) ); |
135 | Layout13->addWidget( micLabel ); | 135 | Layout13->addWidget( micLabel ); |
136 | QSpacerItem* spacer_4 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); | 136 | QSpacerItem* spacer_4 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); |
137 | Layout13->addItem( spacer_4 ); | 137 | Layout13->addItem( spacer_4 ); |
138 | Layout10->addLayout( Layout13 ); | 138 | Layout10->addLayout( Layout13 ); |
139 | 139 | ||
140 | Layout12 = new QHBoxLayout; | 140 | Layout12 = new QHBoxLayout; |
141 | Layout12->setSpacing( 6 ); | 141 | Layout12->setSpacing( 6 ); |
142 | Layout12->setMargin( 0 ); | 142 | Layout12->setMargin( 0 ); |
143 | 143 | ||
144 | volume = new QSlider( GroupBox3, "volume" ); | 144 | volume = new QSlider( GroupBox3, "volume" ); |
145 | volume->setMaxValue( 100 ); | 145 | volume->setMaxValue( 100 ); |
146 | volume->setValue( 50 ); | 146 | volume->setValue( 50 ); |
147 | volume->setOrientation( QSlider::Vertical ); | 147 | volume->setOrientation( QSlider::Vertical ); |
148 | volume->setTickmarks( QSlider::Right ); | 148 | volume->setTickmarks( QSlider::Right ); |
149 | volume->setTickInterval( 5 ); | 149 | volume->setTickInterval( 5 ); |
150 | Layout12->addWidget( volume ); | 150 | Layout12->addWidget( volume ); |
151 | QSpacerItem* spacer_5 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); | 151 | QSpacerItem* spacer_5 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); |
152 | Layout12->addItem( spacer_5 ); | 152 | Layout12->addItem( spacer_5 ); |
153 | 153 | ||
154 | mic = new QSlider( GroupBox3, "mic" ); | 154 | mic = new QSlider( GroupBox3, "mic" ); |
155 | mic->setMaxValue( 100 ); | 155 | mic->setMaxValue( 100 ); |
156 | mic->setValue( 50 ); | 156 | mic->setValue( 50 ); |
157 | mic->setOrientation( QSlider::Vertical ); | 157 | mic->setOrientation( QSlider::Vertical ); |
158 | mic->setTickmarks( QSlider::Right ); | 158 | mic->setTickmarks( QSlider::Right ); |
159 | mic->setTickInterval( 5 ); | 159 | mic->setTickInterval( 5 ); |
160 | Layout12->addWidget( mic ); | 160 | Layout12->addWidget( mic ); |
161 | QSpacerItem* spacer_6 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); | 161 | QSpacerItem* spacer_6 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); |
162 | Layout12->addItem( spacer_6 ); | 162 | Layout12->addItem( spacer_6 ); |
163 | Layout10->addLayout( Layout12 ); | 163 | Layout10->addLayout( Layout12 ); |
164 | 164 | ||
165 | Layout17 = new QHBoxLayout; | 165 | Layout17 = new QHBoxLayout; |
166 | Layout17->setSpacing( 6 ); | 166 | Layout17->setSpacing( 6 ); |
167 | Layout17->setMargin( 0 ); | 167 | Layout17->setMargin( 0 ); |
168 | QSpacerItem* spacer_7 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); | 168 | QSpacerItem* spacer_7 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); |
169 | Layout17->addItem( spacer_7 ); | 169 | Layout17->addItem( spacer_7 ); |
170 | 170 | ||
171 | PixmapLabel2_2 = new QLabel( GroupBox3, "PixmapLabel2_2" ); | 171 | PixmapLabel2_2 = new QLabel( GroupBox3, "PixmapLabel2_2" ); |
172 | PixmapLabel2_2->setPixmap( image1 ); | 172 | PixmapLabel2_2->setPixmap( image1 ); |
173 | PixmapLabel2_2->setScaledContents( FALSE ); | 173 | PixmapLabel2_2->setScaledContents( FALSE ); |
174 | Layout17->addWidget( PixmapLabel2_2 ); | 174 | Layout17->addWidget( PixmapLabel2_2 ); |
175 | 175 | ||
176 | TextLabel2_2 = new QLabel( GroupBox3, "TextLabel2_2" ); | 176 | TextLabel2_2 = new QLabel( GroupBox3, "TextLabel2_2" ); |
177 | TextLabel2_2->setText( tr( "Silent" ) ); | 177 | TextLabel2_2->setText( tr( "Silent" ) ); |
178 | Layout17->addWidget( TextLabel2_2 ); | 178 | Layout17->addWidget( TextLabel2_2 ); |
179 | QSpacerItem* spacer_8 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); | 179 | QSpacerItem* spacer_8 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); |
180 | Layout17->addItem( spacer_8 ); | 180 | Layout17->addItem( spacer_8 ); |
181 | Layout10->addLayout( Layout17 ); | 181 | Layout10->addLayout( Layout17 ); |
182 | GroupBox3Layout->addLayout( Layout10 ); | 182 | GroupBox3Layout->addLayout( Layout10 ); |
183 | 183 | ||
184 | SoundSettingsBaseLayout->addWidget( GroupBox3, 0, 0 ); | 184 | SoundSettingsBaseLayout->addWidget( GroupBox3, 0, 0 ); |
185 | 185 | ||
186 | Layout12_2 = new QVBoxLayout; | 186 | Layout12_2 = new QVBoxLayout; |
187 | Layout12_2->setSpacing( 6 ); | 187 | Layout12_2->setSpacing( 6 ); |
188 | Layout12_2->setMargin( 0 ); | 188 | Layout12_2->setMargin( 0 ); |
189 | 189 | ||
190 | GroupBox1 = new QGroupBox( this, "GroupBox1" ); | 190 | GroupBox1 = new QGroupBox( this, "GroupBox1" ); |
191 | GroupBox1->setTitle( tr( "Vmemo" ) ); | 191 | GroupBox1->setTitle( tr( "Vmemo" ) ); |
192 | 192 | ||
193 | QWidget* privateLayoutWidget = new QWidget( GroupBox1, "Layout11" ); | 193 | QWidget* privateLayoutWidget = new QWidget( GroupBox1, "Layout11" ); |
194 | privateLayoutWidget->setGeometry( QRect( 5, 16, 96, 169 ) ); | 194 | privateLayoutWidget->setGeometry( QRect( 5, 16, 96, 169 ) ); |
195 | Layout11 = new QVBoxLayout( privateLayoutWidget ); | 195 | Layout11 = new QVBoxLayout( privateLayoutWidget ); |
196 | Layout11->setSpacing( 6 ); | 196 | Layout11->setSpacing( 6 ); |
197 | Layout11->setMargin( 0 ); | 197 | Layout11->setMargin( 0 ); |
198 | 198 | ||
199 | sampleRateLabel = new QLabel( privateLayoutWidget, "sampleRateLabel" ); | 199 | sampleRateLabel = new QLabel( privateLayoutWidget, "sampleRateLabel" ); |
200 | sampleRateLabel->setText( tr( "Sample Rate" ) ); | 200 | sampleRateLabel->setText( tr( "Sample Rate" ) ); |
201 | Layout11->addWidget( sampleRateLabel ); | 201 | Layout11->addWidget( sampleRateLabel ); |
202 | 202 | ||
203 | sampleRate = new QComboBox( FALSE, privateLayoutWidget, "sampleRate" ); | 203 | sampleRate = new QComboBox( FALSE, privateLayoutWidget, "sampleRate" ); |
204 | sampleRate->insertItem( tr( "11025" ) ); | 204 | sampleRate->insertItem( tr( "11025" ) ); |
205 | sampleRate->insertItem( tr( "22050" ) ); | 205 | sampleRate->insertItem( tr( "22050" ) ); |
206 | sampleRate->insertItem( tr( "32000" ) ); | 206 | sampleRate->insertItem( tr( "32000" ) ); |
207 | sampleRate->insertItem( tr( "44100" ) ); | 207 | sampleRate->insertItem( tr( "44100" ) ); |
208 | Layout11->addWidget( sampleRate ); | 208 | Layout11->addWidget( sampleRate ); |
209 | 209 | ||
210 | stereoCheckBox = new QCheckBox( privateLayoutWidget, "stereoCheckBox" ); | 210 | stereoCheckBox = new QCheckBox( privateLayoutWidget, "stereoCheckBox" ); |
211 | stereoCheckBox->setText( tr( "Stereo" ) ); | 211 | stereoCheckBox->setText( tr( "Stereo" ) ); |
212 | Layout11->addWidget( stereoCheckBox ); | 212 | Layout11->addWidget( stereoCheckBox ); |
213 | 213 | ||
214 | sixteenBitCheckBox = new QCheckBox( privateLayoutWidget, "sixteenBitCheckBox" ); | 214 | sixteenBitCheckBox = new QCheckBox( privateLayoutWidget, "sixteenBitCheckBox" ); |
215 | sixteenBitCheckBox->setText( tr( "16 bit" ) ); | 215 | sixteenBitCheckBox->setText( tr( "16 bit" ) ); |
216 | Layout11->addWidget( sixteenBitCheckBox ); | 216 | Layout11->addWidget( sixteenBitCheckBox ); |
217 | 217 | ||
218 | AlertCheckBox = new QCheckBox( privateLayoutWidget, "AlertCheckBox" ); | 218 | AlertCheckBox = new QCheckBox( privateLayoutWidget, "AlertCheckBox" ); |
219 | AlertCheckBox->setText( tr( "Visual Alerts" ) ); | 219 | AlertCheckBox->setText( tr( "Visual Alerts" ) ); |
220 | Layout11->addWidget( AlertCheckBox ); | 220 | Layout11->addWidget( AlertCheckBox ); |
221 | 221 | ||
222 | TextLabel1 = new QLabel( privateLayoutWidget, "TextLabel1" ); | 222 | TextLabel1 = new QLabel( privateLayoutWidget, "TextLabel1" ); |
223 | TextLabel1->setText( tr( "Location" ) ); | 223 | TextLabel1->setText( tr( "Location" ) ); |
224 | Layout11->addWidget( TextLabel1 ); | 224 | Layout11->addWidget( TextLabel1 ); |
225 | 225 | ||
226 | LocationComboBox = new QComboBox( FALSE, privateLayoutWidget, "LocationComboBox" ); | 226 | LocationComboBox = new QComboBox( FALSE, privateLayoutWidget, "LocationComboBox" ); |
227 | Layout11->addWidget( LocationComboBox ); | 227 | Layout11->addWidget( LocationComboBox ); |
228 | Layout12_2->addWidget( GroupBox1 ); | 228 | Layout12_2->addWidget( GroupBox1 ); |
229 | 229 | ||
230 | touchsound = new QCheckBox( this, "touchsound" ); | 230 | // touchsound = new QCheckBox( this, "touchsound" ); |
231 | touchsound->setText( tr( "Screen sounds" ) ); | 231 | // touchsound->setText( tr( "Screen sounds" ) ); |
232 | Layout12_2->addWidget( touchsound ); | 232 | // Layout12_2->addWidget( touchsound ); |
233 | 233 | ||
234 | keysound = new QCheckBox( this, "keysound" ); | 234 | // keysound = new QCheckBox( this, "keysound" ); |
235 | keysound->setText( tr( "Keyboard sounds" ) ); | 235 | // keysound->setText( tr( "Keyboard sounds" ) ); |
236 | Layout12_2->addWidget( keysound ); | 236 | // Layout12_2->addWidget( keysound ); |
237 | QSpacerItem* spacer_9 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); | 237 | QSpacerItem* spacer_9 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); |
238 | Layout12_2->addItem( spacer_9 ); | 238 | Layout12_2->addItem( spacer_9 ); |
239 | 239 | ||
240 | SoundSettingsBaseLayout->addLayout( Layout12_2, 0, 1 ); | 240 | SoundSettingsBaseLayout->addLayout( Layout12_2, 0, 1 ); |
241 | } | 241 | } |
242 | 242 | ||
243 | /* | 243 | /* |
244 | * Destroys the object and frees any allocated resources | 244 | * Destroys the object and frees any allocated resources |
245 | */ | 245 | */ |
246 | SoundSettingsBase::~SoundSettingsBase() | 246 | SoundSettingsBase::~SoundSettingsBase() |
247 | { | 247 | { |
248 | // no need to delete child widgets, Qt does it all for us | 248 | // no need to delete child widgets, Qt does it all for us |
249 | } | 249 | } |
250 | 250 | ||
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 @@ | |||
1 | /**************************************************************************** | 1 | /**************************************************************************** |
2 | ** Form interface generated from reading ui file 'soundsettingsbase.ui' | 2 | ** Form interface generated from reading ui file 'soundsettingsbase.ui' |
3 | ** | 3 | ** |
4 | ** Created: Thu May 23 11:23:38 2002 | 4 | ** Created: Thu May 23 11:23:38 2002 |
5 | ** by: The User Interface Compiler (uic) | 5 | ** by: The User Interface Compiler (uic) |
6 | ** | 6 | ** |
7 | ** WARNING! All changes made in this file will be lost! | 7 | ** WARNING! All changes made in this file will be lost! |
8 | ****************************************************************************/ | 8 | ****************************************************************************/ |
9 | #ifndef SOUNDSETTINGSBASE_H | 9 | #ifndef SOUNDSETTINGSBASE_H |
10 | #define SOUNDSETTINGSBASE_H | 10 | #define SOUNDSETTINGSBASE_H |
11 | 11 | ||
12 | #include <qvariant.h> | 12 | #include <qvariant.h> |
13 | #include <qdialog.h> | 13 | #include <qdialog.h> |
14 | class QVBoxLayout; | 14 | class QVBoxLayout; |
15 | class QHBoxLayout; | 15 | class QHBoxLayout; |
16 | class QGridLayout; | 16 | class QGridLayout; |
17 | class QCheckBox; | 17 | class QCheckBox; |
18 | class QComboBox; | 18 | class QComboBox; |
19 | class QGroupBox; | 19 | class QGroupBox; |
20 | class QLabel; | 20 | class QLabel; |
21 | class QSlider; | 21 | class QSlider; |
22 | 22 | ||
23 | class SoundSettingsBase : public QDialog | 23 | class SoundSettingsBase : public QDialog |
24 | { | 24 | { |
25 | Q_OBJECT | 25 | Q_OBJECT |
26 | 26 | ||
27 | public: | 27 | public: |
28 | SoundSettingsBase( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); | 28 | SoundSettingsBase( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); |
29 | ~SoundSettingsBase(); | 29 | ~SoundSettingsBase(); |
30 | 30 | ||
31 | QGroupBox* GroupBox3; | 31 | QGroupBox* GroupBox3; |
32 | QLabel* PixmapLabel1_2; | 32 | QLabel* PixmapLabel1_2; |
33 | QLabel* TextLabel1_2; | 33 | QLabel* TextLabel1_2; |
34 | QLabel* volLabel; | 34 | QLabel* volLabel; |
35 | QLabel* micLabel; | 35 | QLabel* micLabel; |
36 | QSlider* volume; | 36 | QSlider* volume; |
37 | QSlider* mic; | 37 | QSlider* mic; |
38 | QLabel* PixmapLabel2_2; | 38 | QLabel* PixmapLabel2_2; |
39 | QLabel* TextLabel2_2; | 39 | QLabel* TextLabel2_2; |
40 | QGroupBox* GroupBox1; | 40 | QGroupBox* GroupBox1; |
41 | QLabel* sampleRateLabel; | 41 | QLabel* sampleRateLabel; |
42 | QComboBox* sampleRate; | 42 | QComboBox* sampleRate; |
43 | QCheckBox* stereoCheckBox; | 43 | QCheckBox* stereoCheckBox; |
44 | QCheckBox* sixteenBitCheckBox; | 44 | QCheckBox* sixteenBitCheckBox; |
45 | QCheckBox* AlertCheckBox; | 45 | QCheckBox* AlertCheckBox; |
46 | QLabel* TextLabel1; | 46 | QLabel* TextLabel1; |
47 | QComboBox* LocationComboBox; | 47 | QComboBox* LocationComboBox; |
48 | QCheckBox* touchsound; | 48 | /* QCheckBox* touchsound; */ |
49 | QCheckBox* keysound; | 49 | /* QCheckBox* keysound; */ |
50 | 50 | ||
51 | protected: | 51 | protected: |
52 | QGridLayout* SoundSettingsBaseLayout; | 52 | QGridLayout* SoundSettingsBaseLayout; |
53 | QVBoxLayout* GroupBox3Layout; | 53 | QVBoxLayout* GroupBox3Layout; |
54 | QVBoxLayout* Layout10; | 54 | QVBoxLayout* Layout10; |
55 | QHBoxLayout* Layout16; | 55 | QHBoxLayout* Layout16; |
56 | QHBoxLayout* Layout13; | 56 | QHBoxLayout* Layout13; |
57 | QHBoxLayout* Layout12; | 57 | QHBoxLayout* Layout12; |
58 | QHBoxLayout* Layout17; | 58 | QHBoxLayout* Layout17; |
59 | QVBoxLayout* Layout12_2; | 59 | QVBoxLayout* Layout12_2; |
60 | QVBoxLayout* Layout11; | 60 | QVBoxLayout* Layout11; |
61 | }; | 61 | }; |
62 | 62 | ||
63 | #endif // SOUNDSETTINGSBASE_H | 63 | #endif // SOUNDSETTINGSBASE_H |