-rw-r--r-- | noncore/settings/sound/sound.pro | 2 | ||||
-rw-r--r-- | noncore/settings/sound/soundsettings.cpp | 6 | ||||
-rw-r--r-- | noncore/settings/sound/soundsettingsbase.ui | 6 |
3 files changed, 12 insertions, 2 deletions
diff --git a/noncore/settings/sound/sound.pro b/noncore/settings/sound/sound.pro index 8b33ff2..fa87b86 100644 --- a/noncore/settings/sound/sound.pro +++ b/noncore/settings/sound/sound.pro | |||
@@ -1,12 +1,12 @@ | |||
1 | TEMPLATE= app | 1 | TEMPLATE= app |
2 | CONFIG += qt warn_on release | 2 | CONFIG += qt warn_on release |
3 | DESTDIR = ../../bin | 3 | DESTDIR = ../../bin |
4 | HEADERS = soundsettings.h | 4 | HEADERS = soundsettings.h |
5 | SOURCES = soundsettings.cpp main.cpp | 5 | SOURCES = soundsettings.cpp main.cpp |
6 | INTERFACES= soundsettingsbase.ui | 6 | INTERFACES= soundsettingsbase.ui |
7 | INCLUDEPATH += $(OPIEDIR)/include | 7 | INCLUDEPATH += $(OPIEDIR)/include |
8 | DEPENDPATH+= ../$(OPIEDIR)/include | 8 | DEPENDPATH+= ../$(OPIEDIR)/include |
9 | LIBS += -lqpe | 9 | LIBS += -lqpe |
10 | TARGET = sound | 10 | TARGET = sound |
11 | 11 | ||
12 | TRANSLATIONS = ../../i18n/pt_BR/sound.ts | 12 | TRANSLATIONS += ../../i18n/pt_BR/sound.ts |
diff --git a/noncore/settings/sound/soundsettings.cpp b/noncore/settings/sound/soundsettings.cpp index 55f6c99..467f23e 100644 --- a/noncore/settings/sound/soundsettings.cpp +++ b/noncore/settings/sound/soundsettings.cpp | |||
@@ -1,132 +1,136 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Qtopia Environment. | 4 | ** This file is part of Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include "soundsettings.h" | 20 | #include "soundsettings.h" |
21 | 21 | ||
22 | #include <qpe/config.h> | 22 | #include <qpe/config.h> |
23 | #include <qpe/qcopenvelope_qws.h> | 23 | #include <qpe/qcopenvelope_qws.h> |
24 | #include <qapplication.h> | 24 | #include <qapplication.h> |
25 | #include <qslider.h> | 25 | #include <qslider.h> |
26 | #include <qcheckbox.h> | 26 | #include <qcheckbox.h> |
27 | #include <qlineedit.h> | 27 | #include <qlineedit.h> |
28 | #include <qcombobox.h> | 28 | #include <qcombobox.h> |
29 | 29 | ||
30 | 30 | ||
31 | SoundSettings::SoundSettings( QWidget* parent, const char* name, WFlags fl ) | 31 | SoundSettings::SoundSettings( QWidget* parent, const char* name, WFlags fl ) |
32 | : SoundSettingsBase( parent, name, TRUE, fl ) | 32 | : SoundSettingsBase( parent, name, TRUE, fl ) |
33 | { | 33 | { |
34 | Config config( "Sound" ); | 34 | Config config( "Sound" ); |
35 | config.setGroup( "System" ); | 35 | config.setGroup( "System" ); |
36 | volume->setValue(100-config.readNumEntry("Volume")); | 36 | volume->setValue(100-config.readNumEntry("Volume")); |
37 | mic->setValue(100-config.readNumEntry("Mic")); | 37 | mic->setValue(100-config.readNumEntry("Mic")); |
38 | touchsound->setChecked(config.readBoolEntry("Touch")); | 38 | touchsound->setChecked(config.readBoolEntry("Touch")); |
39 | keysound->setChecked(config.readBoolEntry("Key")); | 39 | keysound->setChecked(config.readBoolEntry("Key")); |
40 | 40 | ||
41 | config.setGroup("Record"); | 41 | config.setGroup("Record"); |
42 | int rate=config.readNumEntry("SampleRate", 11025); | 42 | int rate=config.readNumEntry("SampleRate", 11025); |
43 | if(rate == 11025) | 43 | if(rate == 11025) |
44 | sampleRate->setCurrentItem(0); | 44 | sampleRate->setCurrentItem(0); |
45 | else if(rate == 22050) | 45 | else if(rate == 22050) |
46 | sampleRate->setCurrentItem(1); | 46 | sampleRate->setCurrentItem(1); |
47 | else if(rate == 32000) | ||
48 | sampleRate->setCurrentItem(2); | ||
47 | else if(rate==44100) | 49 | else if(rate==44100) |
48 | sampleRate->setCurrentItem(2); | 50 | sampleRate->setCurrentItem(2); |
49 | 51 | ||
50 | stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); | 52 | stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); |
51 | sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 1)); | 53 | sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 1)); |
52 | 54 | ||
53 | connect(volume, SIGNAL(valueChanged(int)), this, SLOT(setVolume(int))); | 55 | connect(volume, SIGNAL(valueChanged(int)), this, SLOT(setVolume(int))); |
54 | connect(mic, SIGNAL(valueChanged(int)), this, SLOT(setMic(int))); | 56 | connect(mic, SIGNAL(valueChanged(int)), this, SLOT(setMic(int))); |
55 | connect(qApp, SIGNAL( volumeChanged(bool) ), this, SLOT( volumeChanged(bool) ) ); | 57 | connect(qApp, SIGNAL( volumeChanged(bool) ), this, SLOT( volumeChanged(bool) ) ); |
56 | connect(qApp, SIGNAL( micChanged(bool) ), this, SLOT ( micChanged(bool) ) ); | 58 | connect(qApp, SIGNAL( micChanged(bool) ), this, SLOT ( micChanged(bool) ) ); |
57 | } | 59 | } |
58 | 60 | ||
59 | void SoundSettings::reject() | 61 | void SoundSettings::reject() |
60 | { | 62 | { |
61 | Config config( "Sound" ); | 63 | Config config( "Sound" ); |
62 | config.setGroup( "System" ); | 64 | config.setGroup( "System" ); |
63 | setVolume(100-config.readNumEntry("Volume")); | 65 | setVolume(100-config.readNumEntry("Volume")); |
64 | setMic(100-config.readNumEntry("Mic")); | 66 | setMic(100-config.readNumEntry("Mic")); |
65 | 67 | ||
66 | config.setGroup("Record"); | 68 | config.setGroup("Record"); |
67 | int rate=config.readNumEntry("SampleRate", 11025); | 69 | int rate=config.readNumEntry("SampleRate", 11025); |
68 | if(rate == 11025) | 70 | if(rate == 11025) |
69 | sampleRate->setCurrentItem(0); | 71 | sampleRate->setCurrentItem(0); |
70 | else if(rate == 22050) | 72 | else if(rate == 22050) |
71 | sampleRate->setCurrentItem(1); | 73 | sampleRate->setCurrentItem(1); |
72 | else if(rate==44100) | 74 | else if(rate == 32000) |
73 | sampleRate->setCurrentItem(2); | 75 | sampleRate->setCurrentItem(2); |
76 | else if(rate==44100) | ||
77 | sampleRate->setCurrentItem(3); | ||
74 | stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); | 78 | stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); |
75 | sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0)); | 79 | sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0)); |
76 | 80 | ||
77 | QDialog::reject(); | 81 | QDialog::reject(); |
78 | } | 82 | } |
79 | 83 | ||
80 | void SoundSettings::accept() | 84 | void SoundSettings::accept() |
81 | { | 85 | { |
82 | Config config( "Sound" ); | 86 | Config config( "Sound" ); |
83 | config.setGroup( "System" ); | 87 | config.setGroup( "System" ); |
84 | config.writeEntry("Volume",100-volume->value()); | 88 | config.writeEntry("Volume",100-volume->value()); |
85 | config.writeEntry("Mic",100-mic->value()); | 89 | config.writeEntry("Mic",100-mic->value()); |
86 | config.writeEntry("Touch",touchsound->isChecked()); | 90 | config.writeEntry("Touch",touchsound->isChecked()); |
87 | config.writeEntry("Key",keysound->isChecked()); | 91 | config.writeEntry("Key",keysound->isChecked()); |
88 | 92 | ||
89 | setVolume(volume->value()); | 93 | setVolume(volume->value()); |
90 | setMic(mic->value()); | 94 | setMic(mic->value()); |
91 | 95 | ||
92 | config.setGroup("Record"); | 96 | config.setGroup("Record"); |
93 | config.writeEntry("SampleRate",sampleRate->currentText()); | 97 | config.writeEntry("SampleRate",sampleRate->currentText()); |
94 | config.writeEntry("Stereo",stereoCheckBox->isChecked()); | 98 | config.writeEntry("Stereo",stereoCheckBox->isChecked()); |
95 | config.writeEntry("SixteenBit",sixteenBitCheckBox->isChecked()); | 99 | config.writeEntry("SixteenBit",sixteenBitCheckBox->isChecked()); |
96 | 100 | ||
97 | QDialog::accept(); | 101 | QDialog::accept(); |
98 | } | 102 | } |
99 | 103 | ||
100 | void SoundSettings::setVolume(int v) | 104 | void SoundSettings::setVolume(int v) |
101 | { | 105 | { |
102 | Config config( "Sound" ); | 106 | Config config( "Sound" ); |
103 | config.setGroup( "System" ); | 107 | config.setGroup( "System" ); |
104 | config.writeEntry("Volume",100-v); | 108 | config.writeEntry("Volume",100-v); |
105 | #if ( defined Q_WS_QWS || defined(_WS_QWS_) ) && !defined(QT_NO_COP) | 109 | #if ( defined Q_WS_QWS || defined(_WS_QWS_) ) && !defined(QT_NO_COP) |
106 | QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << FALSE; | 110 | QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << FALSE; |
107 | #endif | 111 | #endif |
108 | } | 112 | } |
109 | 113 | ||
110 | void SoundSettings::setMic(int m) | 114 | void SoundSettings::setMic(int m) |
111 | { | 115 | { |
112 | Config config( "Sound" ); | 116 | Config config( "Sound" ); |
113 | config.setGroup( "System" ); | 117 | config.setGroup( "System" ); |
114 | config.writeEntry("Mic",100-m); | 118 | config.writeEntry("Mic",100-m); |
115 | #if ( defined Q_WS_QWS || defined(_WS_QWS_) ) && !defined(QT_NO_COP) | 119 | #if ( defined Q_WS_QWS || defined(_WS_QWS_) ) && !defined(QT_NO_COP) |
116 | QCopEnvelope( "QPE/System", "micChange(bool)" ) << FALSE; | 120 | QCopEnvelope( "QPE/System", "micChange(bool)" ) << FALSE; |
117 | #endif | 121 | #endif |
118 | } | 122 | } |
119 | 123 | ||
120 | void SoundSettings::volumeChanged( bool ) | 124 | void SoundSettings::volumeChanged( bool ) |
121 | { | 125 | { |
122 | Config config( "Sound" ); | 126 | Config config( "Sound" ); |
123 | config.setGroup( "System" ); | 127 | config.setGroup( "System" ); |
124 | volume->setValue(100-config.readNumEntry("Volume")); | 128 | volume->setValue(100-config.readNumEntry("Volume")); |
125 | } | 129 | } |
126 | 130 | ||
127 | void SoundSettings::micChanged( bool ) | 131 | void SoundSettings::micChanged( bool ) |
128 | { | 132 | { |
129 | Config config( "Sound" ); | 133 | Config config( "Sound" ); |
130 | config.setGroup( "System" ); | 134 | config.setGroup( "System" ); |
131 | mic->setValue(100-config.readNumEntry("Mic")); | 135 | mic->setValue(100-config.readNumEntry("Mic")); |
132 | } | 136 | } |
diff --git a/noncore/settings/sound/soundsettingsbase.ui b/noncore/settings/sound/soundsettingsbase.ui index 0351fd8..97bea2d 100644 --- a/noncore/settings/sound/soundsettingsbase.ui +++ b/noncore/settings/sound/soundsettingsbase.ui | |||
@@ -1,320 +1,326 @@ | |||
1 | <!DOCTYPE UI><UI> | 1 | <!DOCTYPE UI><UI> |
2 | <class>SoundSettingsBase</class> | 2 | <class>SoundSettingsBase</class> |
3 | <widget> | 3 | <widget> |
4 | <class>QDialog</class> | 4 | <class>QDialog</class> |
5 | <property stdset="1"> | 5 | <property stdset="1"> |
6 | <name>name</name> | 6 | <name>name</name> |
7 | <cstring>SoundSettingsBase</cstring> | 7 | <cstring>SoundSettingsBase</cstring> |
8 | </property> | 8 | </property> |
9 | <property stdset="1"> | 9 | <property stdset="1"> |
10 | <name>geometry</name> | 10 | <name>geometry</name> |
11 | <rect> | 11 | <rect> |
12 | <x>0</x> | 12 | <x>0</x> |
13 | <y>0</y> | 13 | <y>0</y> |
14 | <width>286</width> | 14 | <width>286</width> |
15 | <height>338</height> | 15 | <height>338</height> |
16 | </rect> | 16 | </rect> |
17 | </property> | 17 | </property> |
18 | <property stdset="1"> | 18 | <property stdset="1"> |
19 | <name>caption</name> | 19 | <name>caption</name> |
20 | <string>Sound Settings</string> | 20 | <string>Sound Settings</string> |
21 | </property> | 21 | </property> |
22 | <property> | 22 | <property> |
23 | <name>layoutMargin</name> | 23 | <name>layoutMargin</name> |
24 | </property> | 24 | </property> |
25 | <property> | 25 | <property> |
26 | <name>layoutSpacing</name> | 26 | <name>layoutSpacing</name> |
27 | </property> | 27 | </property> |
28 | <grid> | 28 | <grid> |
29 | <property stdset="1"> | 29 | <property stdset="1"> |
30 | <name>margin</name> | 30 | <name>margin</name> |
31 | <number>11</number> | 31 | <number>11</number> |
32 | </property> | 32 | </property> |
33 | <property stdset="1"> | 33 | <property stdset="1"> |
34 | <name>spacing</name> | 34 | <name>spacing</name> |
35 | <number>6</number> | 35 | <number>6</number> |
36 | </property> | 36 | </property> |
37 | <widget row="0" column="1" > | 37 | <widget row="0" column="1" > |
38 | <class>QLayoutWidget</class> | 38 | <class>QLayoutWidget</class> |
39 | <property stdset="1"> | 39 | <property stdset="1"> |
40 | <name>name</name> | 40 | <name>name</name> |
41 | <cstring>Layout9</cstring> | 41 | <cstring>Layout9</cstring> |
42 | </property> | 42 | </property> |
43 | <vbox> | 43 | <vbox> |
44 | <property stdset="1"> | 44 | <property stdset="1"> |
45 | <name>margin</name> | 45 | <name>margin</name> |
46 | <number>0</number> | 46 | <number>0</number> |
47 | </property> | 47 | </property> |
48 | <property stdset="1"> | 48 | <property stdset="1"> |
49 | <name>spacing</name> | 49 | <name>spacing</name> |
50 | <number>6</number> | 50 | <number>6</number> |
51 | </property> | 51 | </property> |
52 | <widget> | 52 | <widget> |
53 | <class>QLayoutWidget</class> | 53 | <class>QLayoutWidget</class> |
54 | <property stdset="1"> | 54 | <property stdset="1"> |
55 | <name>name</name> | 55 | <name>name</name> |
56 | <cstring>Layout8</cstring> | 56 | <cstring>Layout8</cstring> |
57 | </property> | 57 | </property> |
58 | <vbox> | 58 | <vbox> |
59 | <property stdset="1"> | 59 | <property stdset="1"> |
60 | <name>margin</name> | 60 | <name>margin</name> |
61 | <number>0</number> | 61 | <number>0</number> |
62 | </property> | 62 | </property> |
63 | <property stdset="1"> | 63 | <property stdset="1"> |
64 | <name>spacing</name> | 64 | <name>spacing</name> |
65 | <number>6</number> | 65 | <number>6</number> |
66 | </property> | 66 | </property> |
67 | <widget> | 67 | <widget> |
68 | <class>QGroupBox</class> | 68 | <class>QGroupBox</class> |
69 | <property stdset="1"> | 69 | <property stdset="1"> |
70 | <name>name</name> | 70 | <name>name</name> |
71 | <cstring>GroupBox1</cstring> | 71 | <cstring>GroupBox1</cstring> |
72 | </property> | 72 | </property> |
73 | <property stdset="1"> | 73 | <property stdset="1"> |
74 | <name>title</name> | 74 | <name>title</name> |
75 | <string>Vmemo</string> | 75 | <string>Vmemo</string> |
76 | </property> | 76 | </property> |
77 | <grid> | 77 | <grid> |
78 | <property stdset="1"> | 78 | <property stdset="1"> |
79 | <name>margin</name> | 79 | <name>margin</name> |
80 | <number>11</number> | 80 | <number>11</number> |
81 | </property> | 81 | </property> |
82 | <property stdset="1"> | 82 | <property stdset="1"> |
83 | <name>spacing</name> | 83 | <name>spacing</name> |
84 | <number>6</number> | 84 | <number>6</number> |
85 | </property> | 85 | </property> |
86 | <widget row="0" column="0" > | 86 | <widget row="0" column="0" > |
87 | <class>QLayoutWidget</class> | 87 | <class>QLayoutWidget</class> |
88 | <property stdset="1"> | 88 | <property stdset="1"> |
89 | <name>name</name> | 89 | <name>name</name> |
90 | <cstring>Layout15</cstring> | 90 | <cstring>Layout15</cstring> |
91 | </property> | 91 | </property> |
92 | <vbox> | 92 | <vbox> |
93 | <property stdset="1"> | 93 | <property stdset="1"> |
94 | <name>margin</name> | 94 | <name>margin</name> |
95 | <number>0</number> | 95 | <number>0</number> |
96 | </property> | 96 | </property> |
97 | <property stdset="1"> | 97 | <property stdset="1"> |
98 | <name>spacing</name> | 98 | <name>spacing</name> |
99 | <number>6</number> | 99 | <number>6</number> |
100 | </property> | 100 | </property> |
101 | <widget> | 101 | <widget> |
102 | <class>QLabel</class> | 102 | <class>QLabel</class> |
103 | <property stdset="1"> | 103 | <property stdset="1"> |
104 | <name>name</name> | 104 | <name>name</name> |
105 | <cstring>sampleRateLabel</cstring> | 105 | <cstring>sampleRateLabel</cstring> |
106 | </property> | 106 | </property> |
107 | <property stdset="1"> | 107 | <property stdset="1"> |
108 | <name>text</name> | 108 | <name>text</name> |
109 | <string>Sample Rate</string> | 109 | <string>Sample Rate</string> |
110 | </property> | 110 | </property> |
111 | </widget> | 111 | </widget> |
112 | <widget> | 112 | <widget> |
113 | <class>QComboBox</class> | 113 | <class>QComboBox</class> |
114 | <item> | 114 | <item> |
115 | <property> | 115 | <property> |
116 | <name>text</name> | 116 | <name>text</name> |
117 | <string>11025</string> | 117 | <string>11025</string> |
118 | </property> | 118 | </property> |
119 | </item> | 119 | </item> |
120 | <item> | 120 | <item> |
121 | <property> | 121 | <property> |
122 | <name>text</name> | 122 | <name>text</name> |
123 | <string>22050</string> | 123 | <string>22050</string> |
124 | </property> | 124 | </property> |
125 | </item> | 125 | </item> |
126 | <item> | 126 | <item> |
127 | <property> | 127 | <property> |
128 | <name>text</name> | 128 | <name>text</name> |
129 | <string>32000</string> | ||
130 | </property> | ||
131 | </item> | ||
132 | <item> | ||
133 | <property> | ||
134 | <name>text</name> | ||
129 | <string>44100</string> | 135 | <string>44100</string> |
130 | </property> | 136 | </property> |
131 | </item> | 137 | </item> |
132 | <property stdset="1"> | 138 | <property stdset="1"> |
133 | <name>name</name> | 139 | <name>name</name> |
134 | <cstring>sampleRate</cstring> | 140 | <cstring>sampleRate</cstring> |
135 | </property> | 141 | </property> |
136 | </widget> | 142 | </widget> |
137 | <widget> | 143 | <widget> |
138 | <class>QCheckBox</class> | 144 | <class>QCheckBox</class> |
139 | <property stdset="1"> | 145 | <property stdset="1"> |
140 | <name>name</name> | 146 | <name>name</name> |
141 | <cstring>stereoCheckBox</cstring> | 147 | <cstring>stereoCheckBox</cstring> |
142 | </property> | 148 | </property> |
143 | <property stdset="1"> | 149 | <property stdset="1"> |
144 | <name>text</name> | 150 | <name>text</name> |
145 | <string>Stereo</string> | 151 | <string>Stereo</string> |
146 | </property> | 152 | </property> |
147 | </widget> | 153 | </widget> |
148 | <widget> | 154 | <widget> |
149 | <class>QCheckBox</class> | 155 | <class>QCheckBox</class> |
150 | <property stdset="1"> | 156 | <property stdset="1"> |
151 | <name>name</name> | 157 | <name>name</name> |
152 | <cstring>sixteenBitCheckBox</cstring> | 158 | <cstring>sixteenBitCheckBox</cstring> |
153 | </property> | 159 | </property> |
154 | <property stdset="1"> | 160 | <property stdset="1"> |
155 | <name>text</name> | 161 | <name>text</name> |
156 | <string>16 bit</string> | 162 | <string>16 bit</string> |
157 | </property> | 163 | </property> |
158 | </widget> | 164 | </widget> |
159 | </vbox> | 165 | </vbox> |
160 | </widget> | 166 | </widget> |
161 | </grid> | 167 | </grid> |
162 | </widget> | 168 | </widget> |
163 | <widget> | 169 | <widget> |
164 | <class>QCheckBox</class> | 170 | <class>QCheckBox</class> |
165 | <property stdset="1"> | 171 | <property stdset="1"> |
166 | <name>name</name> | 172 | <name>name</name> |
167 | <cstring>touchsound</cstring> | 173 | <cstring>touchsound</cstring> |
168 | </property> | 174 | </property> |
169 | <property stdset="1"> | 175 | <property stdset="1"> |
170 | <name>text</name> | 176 | <name>text</name> |
171 | <string>Screen sounds</string> | 177 | <string>Screen sounds</string> |
172 | </property> | 178 | </property> |
173 | </widget> | 179 | </widget> |
174 | <widget> | 180 | <widget> |
175 | <class>QCheckBox</class> | 181 | <class>QCheckBox</class> |
176 | <property stdset="1"> | 182 | <property stdset="1"> |
177 | <name>name</name> | 183 | <name>name</name> |
178 | <cstring>keysound</cstring> | 184 | <cstring>keysound</cstring> |
179 | </property> | 185 | </property> |
180 | <property stdset="1"> | 186 | <property stdset="1"> |
181 | <name>text</name> | 187 | <name>text</name> |
182 | <string>Keyboard sounds</string> | 188 | <string>Keyboard sounds</string> |
183 | </property> | 189 | </property> |
184 | </widget> | 190 | </widget> |
185 | </vbox> | 191 | </vbox> |
186 | </widget> | 192 | </widget> |
187 | <spacer> | 193 | <spacer> |
188 | <property> | 194 | <property> |
189 | <name>name</name> | 195 | <name>name</name> |
190 | <cstring>Spacer10</cstring> | 196 | <cstring>Spacer10</cstring> |
191 | </property> | 197 | </property> |
192 | <property stdset="1"> | 198 | <property stdset="1"> |
193 | <name>orientation</name> | 199 | <name>orientation</name> |
194 | <enum>Vertical</enum> | 200 | <enum>Vertical</enum> |
195 | </property> | 201 | </property> |
196 | <property stdset="1"> | 202 | <property stdset="1"> |
197 | <name>sizeType</name> | 203 | <name>sizeType</name> |
198 | <enum>Expanding</enum> | 204 | <enum>Expanding</enum> |
199 | </property> | 205 | </property> |
200 | <property> | 206 | <property> |
201 | <name>sizeHint</name> | 207 | <name>sizeHint</name> |
202 | <size> | 208 | <size> |
203 | <width>20</width> | 209 | <width>20</width> |
204 | <height>20</height> | 210 | <height>20</height> |
205 | </size> | 211 | </size> |
206 | </property> | 212 | </property> |
207 | </spacer> | 213 | </spacer> |
208 | </vbox> | 214 | </vbox> |
209 | </widget> | 215 | </widget> |
210 | <widget row="0" column="0" > | 216 | <widget row="0" column="0" > |
211 | <class>QGroupBox</class> | 217 | <class>QGroupBox</class> |
212 | <property stdset="1"> | 218 | <property stdset="1"> |
213 | <name>name</name> | 219 | <name>name</name> |
214 | <cstring>GroupBox3</cstring> | 220 | <cstring>GroupBox3</cstring> |
215 | </property> | 221 | </property> |
216 | <property stdset="1"> | 222 | <property stdset="1"> |
217 | <name>title</name> | 223 | <name>title</name> |
218 | <string>Levels</string> | 224 | <string>Levels</string> |
219 | </property> | 225 | </property> |
220 | <vbox> | 226 | <vbox> |
221 | <property stdset="1"> | 227 | <property stdset="1"> |
222 | <name>margin</name> | 228 | <name>margin</name> |
223 | <number>11</number> | 229 | <number>11</number> |
224 | </property> | 230 | </property> |
225 | <property stdset="1"> | 231 | <property stdset="1"> |
226 | <name>spacing</name> | 232 | <name>spacing</name> |
227 | <number>6</number> | 233 | <number>6</number> |
228 | </property> | 234 | </property> |
229 | <widget> | 235 | <widget> |
230 | <class>QLayoutWidget</class> | 236 | <class>QLayoutWidget</class> |
231 | <property stdset="1"> | 237 | <property stdset="1"> |
232 | <name>name</name> | 238 | <name>name</name> |
233 | <cstring>Layout10</cstring> | 239 | <cstring>Layout10</cstring> |
234 | </property> | 240 | </property> |
235 | <vbox> | 241 | <vbox> |
236 | <property stdset="1"> | 242 | <property stdset="1"> |
237 | <name>margin</name> | 243 | <name>margin</name> |
238 | <number>0</number> | 244 | <number>0</number> |
239 | </property> | 245 | </property> |
240 | <property stdset="1"> | 246 | <property stdset="1"> |
241 | <name>spacing</name> | 247 | <name>spacing</name> |
242 | <number>6</number> | 248 | <number>6</number> |
243 | </property> | 249 | </property> |
244 | <widget> | 250 | <widget> |
245 | <class>QLayoutWidget</class> | 251 | <class>QLayoutWidget</class> |
246 | <property stdset="1"> | 252 | <property stdset="1"> |
247 | <name>name</name> | 253 | <name>name</name> |
248 | <cstring>Layout16</cstring> | 254 | <cstring>Layout16</cstring> |
249 | </property> | 255 | </property> |
250 | <hbox> | 256 | <hbox> |
251 | <property stdset="1"> | 257 | <property stdset="1"> |
252 | <name>margin</name> | 258 | <name>margin</name> |
253 | <number>0</number> | 259 | <number>0</number> |
254 | </property> | 260 | </property> |
255 | <property stdset="1"> | 261 | <property stdset="1"> |
256 | <name>spacing</name> | 262 | <name>spacing</name> |
257 | <number>6</number> | 263 | <number>6</number> |
258 | </property> | 264 | </property> |
259 | <spacer> | 265 | <spacer> |
260 | <property> | 266 | <property> |
261 | <name>name</name> | 267 | <name>name</name> |
262 | <cstring>Spacer37</cstring> | 268 | <cstring>Spacer37</cstring> |
263 | </property> | 269 | </property> |
264 | <property stdset="1"> | 270 | <property stdset="1"> |
265 | <name>orientation</name> | 271 | <name>orientation</name> |
266 | <enum>Horizontal</enum> | 272 | <enum>Horizontal</enum> |
267 | </property> | 273 | </property> |
268 | <property stdset="1"> | 274 | <property stdset="1"> |
269 | <name>sizeType</name> | 275 | <name>sizeType</name> |
270 | <enum>Expanding</enum> | 276 | <enum>Expanding</enum> |
271 | </property> | 277 | </property> |
272 | <property> | 278 | <property> |
273 | <name>sizeHint</name> | 279 | <name>sizeHint</name> |
274 | <size> | 280 | <size> |
275 | <width>20</width> | 281 | <width>20</width> |
276 | <height>20</height> | 282 | <height>20</height> |
277 | </size> | 283 | </size> |
278 | </property> | 284 | </property> |
279 | </spacer> | 285 | </spacer> |
280 | <widget> | 286 | <widget> |
281 | <class>QLabel</class> | 287 | <class>QLabel</class> |
282 | <property stdset="1"> | 288 | <property stdset="1"> |
283 | <name>name</name> | 289 | <name>name</name> |
284 | <cstring>PixmapLabel1_2</cstring> | 290 | <cstring>PixmapLabel1_2</cstring> |
285 | </property> | 291 | </property> |
286 | <property stdset="1"> | 292 | <property stdset="1"> |
287 | <name>pixmap</name> | 293 | <name>pixmap</name> |
288 | <pixmap>image0</pixmap> | 294 | <pixmap>image0</pixmap> |
289 | </property> | 295 | </property> |
290 | <property stdset="1"> | 296 | <property stdset="1"> |
291 | <name>scaledContents</name> | 297 | <name>scaledContents</name> |
292 | <bool>false</bool> | 298 | <bool>false</bool> |
293 | </property> | 299 | </property> |
294 | </widget> | 300 | </widget> |
295 | <widget> | 301 | <widget> |
296 | <class>QLabel</class> | 302 | <class>QLabel</class> |
297 | <property stdset="1"> | 303 | <property stdset="1"> |
298 | <name>name</name> | 304 | <name>name</name> |
299 | <cstring>TextLabel1_2</cstring> | 305 | <cstring>TextLabel1_2</cstring> |
300 | </property> | 306 | </property> |
301 | <property stdset="1"> | 307 | <property stdset="1"> |
302 | <name>text</name> | 308 | <name>text</name> |
303 | <string>Loud</string> | 309 | <string>Loud</string> |
304 | </property> | 310 | </property> |
305 | </widget> | 311 | </widget> |
306 | <spacer> | 312 | <spacer> |
307 | <property> | 313 | <property> |
308 | <name>name</name> | 314 | <name>name</name> |
309 | <cstring>Spacer7</cstring> | 315 | <cstring>Spacer7</cstring> |
310 | </property> | 316 | </property> |
311 | <property stdset="1"> | 317 | <property stdset="1"> |
312 | <name>orientation</name> | 318 | <name>orientation</name> |
313 | <enum>Horizontal</enum> | 319 | <enum>Horizontal</enum> |
314 | </property> | 320 | </property> |
315 | <property stdset="1"> | 321 | <property stdset="1"> |
316 | <name>sizeType</name> | 322 | <name>sizeType</name> |
317 | <enum>Expanding</enum> | 323 | <enum>Expanding</enum> |
318 | </property> | 324 | </property> |
319 | <property> | 325 | <property> |
320 | <name>sizeHint</name> | 326 | <name>sizeHint</name> |