-rw-r--r-- | noncore/settings/sound/main.cpp | 3 | ||||
-rw-r--r-- | noncore/settings/sound/opie-sound.control | 2 | ||||
-rw-r--r-- | noncore/settings/sound/soundsettings.cpp | 76 | ||||
-rw-r--r-- | noncore/settings/sound/soundsettings.h | 5 | ||||
-rw-r--r-- | noncore/settings/sound/soundsettingsbase.ui | 381 |
5 files changed, 258 insertions, 209 deletions
diff --git a/noncore/settings/sound/main.cpp b/noncore/settings/sound/main.cpp index 5d28a8c..33b0523 100644 --- a/noncore/settings/sound/main.cpp +++ b/noncore/settings/sound/main.cpp | |||
@@ -5,32 +5,29 @@ | |||
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 | 20 | ||
21 | #include "soundsettings.h" | 21 | #include "soundsettings.h" |
22 | 22 | ||
23 | #include <qpe/qpeapplication.h> | 23 | #include <qpe/qpeapplication.h> |
24 | 24 | ||
25 | 25 | ||
26 | int main(int argc, char** argv) | 26 | int main(int argc, char** argv) |
27 | { | 27 | { |
28 | QPEApplication a(argc,argv); | 28 | QPEApplication a(argc,argv); |
29 | |||
30 | SoundSettings dlg; | 29 | SoundSettings dlg; |
31 | |||
32 | a.showMainWidget(&dlg); | 30 | a.showMainWidget(&dlg); |
33 | |||
34 | return a.exec(); | 31 | return a.exec(); |
35 | } | 32 | } |
36 | 33 | ||
diff --git a/noncore/settings/sound/opie-sound.control b/noncore/settings/sound/opie-sound.control index b14105c..3d42ca0 100644 --- a/noncore/settings/sound/opie-sound.control +++ b/noncore/settings/sound/opie-sound.control | |||
@@ -1,10 +1,10 @@ | |||
1 | Files: bin/sound apps/Settings/Sound.desktop | 1 | Files: bin/sound apps/Settings/Sound.desktop |
2 | Priority: optional | 2 | Priority: optional |
3 | Section: opie/settings | 3 | Section: opie/settings |
4 | Maintainer: Warwick Allison <warwick@trolltech.com> | 4 | Maintainer: L.J. Potter |
5 | Architecture: arm | 5 | Architecture: arm |
6 | Arch: iPAQ | 6 | Arch: iPAQ |
7 | Version: $QPE_VERSION-$SUB_VERSION.2 | 7 | Version: $QPE_VERSION-$SUB_VERSION.2 |
8 | Depends: opie-base ($QPE_VERSION) | 8 | Depends: opie-base ($QPE_VERSION) |
9 | Description: Sound settings dialog | 9 | Description: Sound settings dialog |
10 | For the Opie environment. | 10 | For the Opie environment. |
diff --git a/noncore/settings/sound/soundsettings.cpp b/noncore/settings/sound/soundsettings.cpp index 467f23e..51522b3 100644 --- a/noncore/settings/sound/soundsettings.cpp +++ b/noncore/settings/sound/soundsettings.cpp | |||
@@ -1,136 +1,166 @@ | |||
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 <qpe/storage.h> | ||
25 | |||
24 | #include <qapplication.h> | 26 | #include <qapplication.h> |
25 | #include <qslider.h> | 27 | #include <qslider.h> |
26 | #include <qcheckbox.h> | 28 | #include <qcheckbox.h> |
27 | #include <qlineedit.h> | 29 | #include <qlineedit.h> |
28 | #include <qcombobox.h> | 30 | #include <qcombobox.h> |
29 | 31 | ||
30 | 32 | ||
31 | SoundSettings::SoundSettings( QWidget* parent, const char* name, WFlags fl ) | 33 | SoundSettings::SoundSettings( QWidget* parent, const char* name, WFlags fl ) |
32 | : SoundSettingsBase( parent, name, TRUE, fl ) | 34 | : SoundSettingsBase( parent, name, TRUE, fl ) |
33 | { | 35 | { |
34 | Config config( "Sound" ); | 36 | Config config( "Sound" ); |
35 | config.setGroup( "System" ); | 37 | config.setGroup( "System" ); |
36 | volume->setValue(100-config.readNumEntry("Volume")); | 38 | volume->setValue(100-config.readNumEntry("Volume")); |
37 | mic->setValue(100-config.readNumEntry("Mic")); | 39 | mic->setValue(100-config.readNumEntry("Mic")); |
38 | touchsound->setChecked(config.readBoolEntry("Touch")); | 40 | touchsound->setChecked(config.readBoolEntry("Touch")); |
39 | keysound->setChecked(config.readBoolEntry("Key")); | 41 | keysound->setChecked(config.readBoolEntry("Key")); |
40 | 42 | ||
41 | config.setGroup("Record"); | 43 | config.setGroup("Record"); |
42 | int rate=config.readNumEntry("SampleRate", 11025); | 44 | int rate=config.readNumEntry("SampleRate", 22050); |
43 | if(rate == 11025) | 45 | if(rate == 11025) |
44 | sampleRate->setCurrentItem(0); | 46 | sampleRate->setCurrentItem(0); |
45 | else if(rate == 22050) | 47 | else if(rate == 22050) |
46 | sampleRate->setCurrentItem(1); | 48 | sampleRate->setCurrentItem(1); |
47 | else if(rate == 32000) | 49 | else if(rate == 32000) |
48 | sampleRate->setCurrentItem(2); | 50 | sampleRate->setCurrentItem(2); |
49 | else if(rate==44100) | 51 | else if(rate==44100) |
50 | sampleRate->setCurrentItem(2); | 52 | sampleRate->setCurrentItem(2); |
51 | 53 | ||
52 | stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); | 54 | stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); |
53 | sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 1)); | 55 | sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 1)); |
54 | 56 | ||
57 | updateStorageCombo(); | ||
55 | connect(volume, SIGNAL(valueChanged(int)), this, SLOT(setVolume(int))); | 58 | connect(volume, SIGNAL(valueChanged(int)), this, SLOT(setVolume(int))); |
56 | connect(mic, SIGNAL(valueChanged(int)), this, SLOT(setMic(int))); | 59 | connect(mic, SIGNAL(valueChanged(int)), this, SLOT(setMic(int))); |
57 | connect(qApp, SIGNAL( volumeChanged(bool) ), this, SLOT( volumeChanged(bool) ) ); | 60 | connect(qApp, SIGNAL( volumeChanged(bool) ), this, SLOT( volumeChanged(bool) ) ); |
58 | connect(qApp, SIGNAL( micChanged(bool) ), this, SLOT ( micChanged(bool) ) ); | 61 | connect(qApp, SIGNAL( micChanged(bool) ), this, SLOT ( micChanged(bool) ) ); |
62 | connect( LocationComboBox,SIGNAL(activated(const QString &)),this,SLOT( setLocation(const QString &))); | ||
63 | // connect( qApp,SIGNAL( aboutToQuit()),SLOT( cleanUp()) ); | ||
59 | } | 64 | } |
60 | 65 | ||
61 | void SoundSettings::reject() | 66 | void SoundSettings::reject() |
62 | { | 67 | { |
63 | Config config( "Sound" ); | 68 | Config config( "Sound" ); |
64 | config.setGroup( "System" ); | 69 | config.setGroup( "System" ); |
65 | setVolume(100-config.readNumEntry("Volume")); | ||
66 | setMic(100-config.readNumEntry("Mic")); | ||
67 | 70 | ||
68 | config.setGroup("Record"); | 71 | setVolume(100-config.readNumEntry("Volume")); |
69 | int rate=config.readNumEntry("SampleRate", 11025); | 72 | setMic(100-config.readNumEntry("Mic")); |
70 | if(rate == 11025) | 73 | |
71 | sampleRate->setCurrentItem(0); | 74 | // config.setGroup("Record"); |
72 | else if(rate == 22050) | 75 | // int rate=config.readNumEntry("SampleRate", 11025); |
73 | sampleRate->setCurrentItem(1); | 76 | // if(rate == 11025) |
74 | else if(rate == 32000) | 77 | // sampleRate->setCurrentItem(0); |
75 | sampleRate->setCurrentItem(2); | 78 | // else if(rate == 22050) |
76 | else if(rate==44100) | 79 | // sampleRate->setCurrentItem(1); |
77 | sampleRate->setCurrentItem(3); | 80 | // else if(rate == 32000) |
78 | stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); | 81 | // sampleRate->setCurrentItem(2); |
79 | sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0)); | 82 | // else if(rate==44100) |
83 | // sampleRate->setCurrentItem(3); | ||
84 | // stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); | ||
85 | // sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0)); | ||
80 | 86 | ||
81 | QDialog::reject(); | 87 | QDialog::reject(); |
82 | } | 88 | } |
83 | 89 | ||
84 | void SoundSettings::accept() | 90 | void SoundSettings::accept() |
85 | { | 91 | { |
86 | Config config( "Sound" ); | 92 | Config config( "Sound" ); |
87 | config.setGroup( "System" ); | 93 | config.setGroup( "System" ); |
88 | config.writeEntry("Volume",100-volume->value()); | 94 | config.writeEntry("Volume",100-volume->value()); |
89 | config.writeEntry("Mic",100-mic->value()); | 95 | config.writeEntry("Mic",100-mic->value()); |
90 | config.writeEntry("Touch",touchsound->isChecked()); | 96 | config.writeEntry("Touch",touchsound->isChecked()); |
91 | config.writeEntry("Key",keysound->isChecked()); | 97 | config.writeEntry("Key",keysound->isChecked()); |
92 | 98 | ||
93 | setVolume(volume->value()); | 99 | setVolume(volume->value()); |
94 | setMic(mic->value()); | 100 | setMic(mic->value()); |
95 | 101 | ||
96 | config.setGroup("Record"); | 102 | config.setGroup("Record"); |
97 | config.writeEntry("SampleRate",sampleRate->currentText()); | 103 | config.writeEntry("SampleRate",sampleRate->currentText()); |
98 | config.writeEntry("Stereo",stereoCheckBox->isChecked()); | 104 | config.writeEntry("Stereo",stereoCheckBox->isChecked()); |
99 | config.writeEntry("SixteenBit",sixteenBitCheckBox->isChecked()); | 105 | config.writeEntry("SixteenBit",sixteenBitCheckBox->isChecked()); |
100 | 106 | ||
101 | QDialog::accept(); | 107 | QDialog::accept(); |
102 | } | 108 | } |
103 | 109 | ||
104 | void SoundSettings::setVolume(int v) | 110 | void SoundSettings::setVolume(int v) |
105 | { | 111 | { |
106 | Config config( "Sound" ); | 112 | Config config( "Sound" ); |
107 | config.setGroup( "System" ); | 113 | config.setGroup( "System" ); |
108 | config.writeEntry("Volume",100-v); | 114 | config.writeEntry("Volume",100-v); |
109 | #if ( defined Q_WS_QWS || defined(_WS_QWS_) ) && !defined(QT_NO_COP) | 115 | #if ( defined Q_WS_QWS || defined(_WS_QWS_) ) && !defined(QT_NO_COP) |
110 | QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << FALSE; | 116 | QCopEnvelope( "QPE/System", "volumeChange(bool)" ) << FALSE; |
111 | #endif | 117 | #endif |
112 | } | 118 | } |
113 | 119 | ||
114 | void SoundSettings::setMic(int m) | 120 | void SoundSettings::setMic(int m) |
115 | { | 121 | { |
116 | Config config( "Sound" ); | 122 | Config config( "Sound" ); |
117 | config.setGroup( "System" ); | 123 | config.setGroup( "System" ); |
118 | config.writeEntry("Mic",100-m); | 124 | config.writeEntry("Mic",100-m); |
119 | #if ( defined Q_WS_QWS || defined(_WS_QWS_) ) && !defined(QT_NO_COP) | 125 | #if ( defined Q_WS_QWS || defined(_WS_QWS_) ) && !defined(QT_NO_COP) |
120 | QCopEnvelope( "QPE/System", "micChange(bool)" ) << FALSE; | 126 | QCopEnvelope( "QPE/System", "micChange(bool)" ) << FALSE; |
121 | #endif | 127 | #endif |
122 | } | 128 | } |
123 | 129 | ||
124 | void SoundSettings::volumeChanged( bool ) | 130 | void SoundSettings::volumeChanged( bool ) |
125 | { | 131 | { |
126 | Config config( "Sound" ); | 132 | Config config( "Sound" ); |
127 | config.setGroup( "System" ); | 133 | config.setGroup( "System" ); |
128 | volume->setValue(100-config.readNumEntry("Volume")); | 134 | volume->setValue(100-config.readNumEntry("Volume")); |
129 | } | 135 | } |
130 | 136 | ||
131 | void SoundSettings::micChanged( bool ) | 137 | void SoundSettings::micChanged( bool ) |
132 | { | 138 | { |
133 | Config config( "Sound" ); | 139 | Config config( "Sound" ); |
134 | config.setGroup( "System" ); | 140 | config.setGroup( "System" ); |
135 | mic->setValue(100-config.readNumEntry("Mic")); | 141 | mic->setValue(100-config.readNumEntry("Mic")); |
136 | } | 142 | } |
143 | |||
144 | void SoundSettings::updateStorageCombo() { | ||
145 | |||
146 | StorageInfo storageInfo; | ||
147 | QString sName, sPath; | ||
148 | QStringList list; | ||
149 | const QList<FileSystem> &fs = storageInfo.fileSystems(); | ||
150 | QListIterator<FileSystem> it ( fs ); | ||
151 | for( ; it.current(); ++it ){ | ||
152 | const QString name = (*it)->name(); | ||
153 | const QString path = (*it)->path(); | ||
154 | qDebug("storage name "+name +" storage path is "+path); | ||
155 | list << name + ": " +path; | ||
156 | // if(dit.current()->file().find(path) != -1 ) storage=name; | ||
157 | } | ||
158 | LocationComboBox->insertStringList(list); | ||
159 | } | ||
160 | |||
161 | void SoundSettings::setLocation(const QString & string) { | ||
162 | Config config( "Sound" ); | ||
163 | config.setGroup( "System" ); | ||
164 | config.writeEntry("RecLocation",string); | ||
165 | |||
166 | } | ||
diff --git a/noncore/settings/sound/soundsettings.h b/noncore/settings/sound/soundsettings.h index 7679c1e..aec7614 100644 --- a/noncore/settings/sound/soundsettings.h +++ b/noncore/settings/sound/soundsettings.h | |||
@@ -6,43 +6,46 @@ | |||
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 | #ifndef SOUNDSETTINGS_H | 20 | #ifndef SOUNDSETTINGS_H |
21 | #define SOUNDSETTINGS_H | 21 | #define SOUNDSETTINGS_H |
22 | 22 | ||
23 | 23 | ||
24 | #include "soundsettingsbase.h" | 24 | #include "soundsettingsbase.h" |
25 | 25 | ||
26 | 26 | ||
27 | class SoundSettings : public SoundSettingsBase | 27 | class SoundSettings : public SoundSettingsBase |
28 | { | 28 | { |
29 | Q_OBJECT | 29 | Q_OBJECT |
30 | 30 | ||
31 | public: | 31 | public: |
32 | SoundSettings( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 32 | SoundSettings( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
33 | 33 | ||
34 | protected: | 34 | protected: |
35 | void accept(); | 35 | void accept(); |
36 | void reject(); | 36 | void reject(); |
37 | void updateStorageCombo(); | ||
37 | 38 | ||
38 | private slots: | 39 | private slots: |
40 | void setLocation(const QString &); | ||
41 | |||
39 | void setVolume(int); | 42 | void setVolume(int); |
40 | void setMic(int); | 43 | void setMic(int); |
41 | 44 | ||
42 | void volumeChanged( bool muted ); | 45 | void volumeChanged( bool muted ); |
43 | void micChanged( bool muted ); | 46 | void micChanged( bool muted ); |
44 | }; | 47 | }; |
45 | 48 | ||
46 | 49 | ||
47 | #endif // SOUNDSETTINGS_H | 50 | #endif // SOUNDSETTINGS_H |
48 | 51 | ||
diff --git a/noncore/settings/sound/soundsettingsbase.ui b/noncore/settings/sound/soundsettingsbase.ui index 97bea2d..aec55be 100644 --- a/noncore/settings/sound/soundsettingsbase.ui +++ b/noncore/settings/sound/soundsettingsbase.ui | |||
@@ -1,246 +1,75 @@ | |||
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>255</width> |
15 | <height>338</height> | 15 | <height>301</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" > | ||
38 | <class>QLayoutWidget</class> | ||
39 | <property stdset="1"> | ||
40 | <name>name</name> | ||
41 | <cstring>Layout9</cstring> | ||
42 | </property> | ||
43 | <vbox> | ||
44 | <property stdset="1"> | ||
45 | <name>margin</name> | ||
46 | <number>0</number> | ||
47 | </property> | ||
48 | <property stdset="1"> | ||
49 | <name>spacing</name> | ||
50 | <number>6</number> | ||
51 | </property> | ||
52 | <widget> | ||
53 | <class>QLayoutWidget</class> | ||
54 | <property stdset="1"> | ||
55 | <name>name</name> | ||
56 | <cstring>Layout8</cstring> | ||
57 | </property> | ||
58 | <vbox> | ||
59 | <property stdset="1"> | ||
60 | <name>margin</name> | ||
61 | <number>0</number> | ||
62 | </property> | ||
63 | <property stdset="1"> | ||
64 | <name>spacing</name> | ||
65 | <number>6</number> | ||
66 | </property> | ||
67 | <widget> | ||
68 | <class>QGroupBox</class> | ||
69 | <property stdset="1"> | ||
70 | <name>name</name> | ||
71 | <cstring>GroupBox1</cstring> | ||
72 | </property> | ||
73 | <property stdset="1"> | ||
74 | <name>title</name> | ||
75 | <string>Vmemo</string> | ||
76 | </property> | ||
77 | <grid> | ||
78 | <property stdset="1"> | ||
79 | <name>margin</name> | ||
80 | <number>11</number> | ||
81 | </property> | ||
82 | <property stdset="1"> | ||
83 | <name>spacing</name> | ||
84 | <number>6</number> | ||
85 | </property> | ||
86 | <widget row="0" column="0" > | ||
87 | <class>QLayoutWidget</class> | ||
88 | <property stdset="1"> | ||
89 | <name>name</name> | ||
90 | <cstring>Layout15</cstring> | ||
91 | </property> | ||
92 | <vbox> | ||
93 | <property stdset="1"> | ||
94 | <name>margin</name> | ||
95 | <number>0</number> | ||
96 | </property> | ||
97 | <property stdset="1"> | ||
98 | <name>spacing</name> | ||
99 | <number>6</number> | ||
100 | </property> | ||
101 | <widget> | ||
102 | <class>QLabel</class> | ||
103 | <property stdset="1"> | ||
104 | <name>name</name> | ||
105 | <cstring>sampleRateLabel</cstring> | ||
106 | </property> | ||
107 | <property stdset="1"> | ||
108 | <name>text</name> | ||
109 | <string>Sample Rate</string> | ||
110 | </property> | ||
111 | </widget> | ||
112 | <widget> | ||
113 | <class>QComboBox</class> | ||
114 | <item> | ||
115 | <property> | ||
116 | <name>text</name> | ||
117 | <string>11025</string> | ||
118 | </property> | ||
119 | </item> | ||
120 | <item> | ||
121 | <property> | ||
122 | <name>text</name> | ||
123 | <string>22050</string> | ||
124 | </property> | ||
125 | </item> | ||
126 | <item> | ||
127 | <property> | ||
128 | <name>text</name> | ||
129 | <string>32000</string> | ||
130 | </property> | ||
131 | </item> | ||
132 | <item> | ||
133 | <property> | ||
134 | <name>text</name> | ||
135 | <string>44100</string> | ||
136 | </property> | ||
137 | </item> | ||
138 | <property stdset="1"> | ||
139 | <name>name</name> | ||
140 | <cstring>sampleRate</cstring> | ||
141 | </property> | ||
142 | </widget> | ||
143 | <widget> | ||
144 | <class>QCheckBox</class> | ||
145 | <property stdset="1"> | ||
146 | <name>name</name> | ||
147 | <cstring>stereoCheckBox</cstring> | ||
148 | </property> | ||
149 | <property stdset="1"> | ||
150 | <name>text</name> | ||
151 | <string>Stereo</string> | ||
152 | </property> | ||
153 | </widget> | ||
154 | <widget> | ||
155 | <class>QCheckBox</class> | ||
156 | <property stdset="1"> | ||
157 | <name>name</name> | ||
158 | <cstring>sixteenBitCheckBox</cstring> | ||
159 | </property> | ||
160 | <property stdset="1"> | ||
161 | <name>text</name> | ||
162 | <string>16 bit</string> | ||
163 | </property> | ||
164 | </widget> | ||
165 | </vbox> | ||
166 | </widget> | ||
167 | </grid> | ||
168 | </widget> | ||
169 | <widget> | ||
170 | <class>QCheckBox</class> | ||
171 | <property stdset="1"> | ||
172 | <name>name</name> | ||
173 | <cstring>touchsound</cstring> | ||
174 | </property> | ||
175 | <property stdset="1"> | ||
176 | <name>text</name> | ||
177 | <string>Screen sounds</string> | ||
178 | </property> | ||
179 | </widget> | ||
180 | <widget> | ||
181 | <class>QCheckBox</class> | ||
182 | <property stdset="1"> | ||
183 | <name>name</name> | ||
184 | <cstring>keysound</cstring> | ||
185 | </property> | ||
186 | <property stdset="1"> | ||
187 | <name>text</name> | ||
188 | <string>Keyboard sounds</string> | ||
189 | </property> | ||
190 | </widget> | ||
191 | </vbox> | ||
192 | </widget> | ||
193 | <spacer> | ||
194 | <property> | ||
195 | <name>name</name> | ||
196 | <cstring>Spacer10</cstring> | ||
197 | </property> | ||
198 | <property stdset="1"> | ||
199 | <name>orientation</name> | ||
200 | <enum>Vertical</enum> | ||
201 | </property> | ||
202 | <property stdset="1"> | ||
203 | <name>sizeType</name> | ||
204 | <enum>Expanding</enum> | ||
205 | </property> | ||
206 | <property> | ||
207 | <name>sizeHint</name> | ||
208 | <size> | ||
209 | <width>20</width> | ||
210 | <height>20</height> | ||
211 | </size> | ||
212 | </property> | ||
213 | </spacer> | ||
214 | </vbox> | ||
215 | </widget> | ||
216 | <widget row="0" column="0" > | 37 | <widget row="0" column="0" > |
217 | <class>QGroupBox</class> | 38 | <class>QGroupBox</class> |
218 | <property stdset="1"> | 39 | <property stdset="1"> |
219 | <name>name</name> | 40 | <name>name</name> |
220 | <cstring>GroupBox3</cstring> | 41 | <cstring>GroupBox3</cstring> |
221 | </property> | 42 | </property> |
222 | <property stdset="1"> | 43 | <property stdset="1"> |
44 | <name>frameShape</name> | ||
45 | <enum>Box</enum> | ||
46 | </property> | ||
47 | <property stdset="1"> | ||
48 | <name>frameShadow</name> | ||
49 | <enum>Sunken</enum> | ||
50 | </property> | ||
51 | <property stdset="1"> | ||
223 | <name>title</name> | 52 | <name>title</name> |
224 | <string>Levels</string> | 53 | <string>Levels</string> |
225 | </property> | 54 | </property> |
226 | <vbox> | 55 | <vbox> |
227 | <property stdset="1"> | 56 | <property stdset="1"> |
228 | <name>margin</name> | 57 | <name>margin</name> |
229 | <number>11</number> | 58 | <number>11</number> |
230 | </property> | 59 | </property> |
231 | <property stdset="1"> | 60 | <property stdset="1"> |
232 | <name>spacing</name> | 61 | <name>spacing</name> |
233 | <number>6</number> | 62 | <number>6</number> |
234 | </property> | 63 | </property> |
235 | <widget> | 64 | <widget> |
236 | <class>QLayoutWidget</class> | 65 | <class>QLayoutWidget</class> |
237 | <property stdset="1"> | 66 | <property stdset="1"> |
238 | <name>name</name> | 67 | <name>name</name> |
239 | <cstring>Layout10</cstring> | 68 | <cstring>Layout10</cstring> |
240 | </property> | 69 | </property> |
241 | <vbox> | 70 | <vbox> |
242 | <property stdset="1"> | 71 | <property stdset="1"> |
243 | <name>margin</name> | 72 | <name>margin</name> |
244 | <number>0</number> | 73 | <number>0</number> |
245 | </property> | 74 | </property> |
246 | <property stdset="1"> | 75 | <property stdset="1"> |
@@ -594,37 +423,227 @@ | |||
594 | <cstring>Spacer8</cstring> | 423 | <cstring>Spacer8</cstring> |
595 | </property> | 424 | </property> |
596 | <property stdset="1"> | 425 | <property stdset="1"> |
597 | <name>orientation</name> | 426 | <name>orientation</name> |
598 | <enum>Horizontal</enum> | 427 | <enum>Horizontal</enum> |
599 | </property> | 428 | </property> |
600 | <property stdset="1"> | 429 | <property stdset="1"> |
601 | <name>sizeType</name> | 430 | <name>sizeType</name> |
602 | <enum>Expanding</enum> | 431 | <enum>Expanding</enum> |
603 | </property> | 432 | </property> |
604 | <property> | 433 | <property> |
605 | <name>sizeHint</name> | 434 | <name>sizeHint</name> |
606 | <size> | 435 | <size> |
607 | <width>20</width> | 436 | <width>20</width> |
608 | <height>20</height> | 437 | <height>20</height> |
609 | </size> | 438 | </size> |
610 | </property> | 439 | </property> |
611 | </spacer> | 440 | </spacer> |
612 | </hbox> | 441 | </hbox> |
613 | </widget> | 442 | </widget> |
614 | </vbox> | 443 | </vbox> |
615 | </widget> | 444 | </widget> |
616 | </vbox> | 445 | </vbox> |
617 | </widget> | 446 | </widget> |
447 | <widget row="0" column="1" > | ||
448 | <class>QLayoutWidget</class> | ||
449 | <property stdset="1"> | ||
450 | <name>name</name> | ||
451 | <cstring>Layout12</cstring> | ||
452 | </property> | ||
453 | <vbox> | ||
454 | <property stdset="1"> | ||
455 | <name>margin</name> | ||
456 | <number>0</number> | ||
457 | </property> | ||
458 | <property stdset="1"> | ||
459 | <name>spacing</name> | ||
460 | <number>6</number> | ||
461 | </property> | ||
462 | <widget> | ||
463 | <class>QGroupBox</class> | ||
464 | <property stdset="1"> | ||
465 | <name>name</name> | ||
466 | <cstring>GroupBox1</cstring> | ||
467 | </property> | ||
468 | <property stdset="1"> | ||
469 | <name>title</name> | ||
470 | <string>Vmemo</string> | ||
471 | </property> | ||
472 | <widget> | ||
473 | <class>QLayoutWidget</class> | ||
474 | <property stdset="1"> | ||
475 | <name>name</name> | ||
476 | <cstring>Layout11</cstring> | ||
477 | </property> | ||
478 | <property stdset="1"> | ||
479 | <name>geometry</name> | ||
480 | <rect> | ||
481 | <x>5</x> | ||
482 | <y>16</y> | ||
483 | <width>96</width> | ||
484 | <height>169</height> | ||
485 | </rect> | ||
486 | </property> | ||
487 | <vbox> | ||
488 | <property stdset="1"> | ||
489 | <name>margin</name> | ||
490 | <number>0</number> | ||
491 | </property> | ||
492 | <property stdset="1"> | ||
493 | <name>spacing</name> | ||
494 | <number>6</number> | ||
495 | </property> | ||
496 | <widget> | ||
497 | <class>QLabel</class> | ||
498 | <property stdset="1"> | ||
499 | <name>name</name> | ||
500 | <cstring>sampleRateLabel</cstring> | ||
501 | </property> | ||
502 | <property stdset="1"> | ||
503 | <name>text</name> | ||
504 | <string>Sample Rate</string> | ||
505 | </property> | ||
506 | </widget> | ||
507 | <widget> | ||
508 | <class>QComboBox</class> | ||
509 | <item> | ||
510 | <property> | ||
511 | <name>text</name> | ||
512 | <string>11025</string> | ||
513 | </property> | ||
514 | </item> | ||
515 | <item> | ||
516 | <property> | ||
517 | <name>text</name> | ||
518 | <string>22050</string> | ||
519 | </property> | ||
520 | </item> | ||
521 | <item> | ||
522 | <property> | ||
523 | <name>text</name> | ||
524 | <string>32000</string> | ||
525 | </property> | ||
526 | </item> | ||
527 | <item> | ||
528 | <property> | ||
529 | <name>text</name> | ||
530 | <string>44100</string> | ||
531 | </property> | ||
532 | </item> | ||
533 | <property stdset="1"> | ||
534 | <name>name</name> | ||
535 | <cstring>sampleRate</cstring> | ||
536 | </property> | ||
537 | </widget> | ||
538 | <widget> | ||
539 | <class>QCheckBox</class> | ||
540 | <property stdset="1"> | ||
541 | <name>name</name> | ||
542 | <cstring>stereoCheckBox</cstring> | ||
543 | </property> | ||
544 | <property stdset="1"> | ||
545 | <name>text</name> | ||
546 | <string>Stereo</string> | ||
547 | </property> | ||
548 | </widget> | ||
549 | <widget> | ||
550 | <class>QCheckBox</class> | ||
551 | <property stdset="1"> | ||
552 | <name>name</name> | ||
553 | <cstring>sixteenBitCheckBox</cstring> | ||
554 | </property> | ||
555 | <property stdset="1"> | ||
556 | <name>text</name> | ||
557 | <string>16 bit</string> | ||
558 | </property> | ||
559 | </widget> | ||
560 | <widget> | ||
561 | <class>QCheckBox</class> | ||
562 | <property stdset="1"> | ||
563 | <name>name</name> | ||
564 | <cstring>AlertCheckBox</cstring> | ||
565 | </property> | ||
566 | <property stdset="1"> | ||
567 | <name>text</name> | ||
568 | <string>Visual Alerts</string> | ||
569 | </property> | ||
570 | </widget> | ||
571 | <widget> | ||
572 | <class>QLabel</class> | ||
573 | <property stdset="1"> | ||
574 | <name>name</name> | ||
575 | <cstring>TextLabel1</cstring> | ||
576 | </property> | ||
577 | <property stdset="1"> | ||
578 | <name>text</name> | ||
579 | <string>Location</string> | ||
580 | </property> | ||
581 | </widget> | ||
582 | <widget> | ||
583 | <class>QComboBox</class> | ||
584 | <property stdset="1"> | ||
585 | <name>name</name> | ||
586 | <cstring>LocationComboBox</cstring> | ||
587 | </property> | ||
588 | </widget> | ||
589 | </vbox> | ||
590 | </widget> | ||
591 | </widget> | ||
592 | <widget> | ||
593 | <class>QCheckBox</class> | ||
594 | <property stdset="1"> | ||
595 | <name>name</name> | ||
596 | <cstring>touchsound</cstring> | ||
597 | </property> | ||
598 | <property stdset="1"> | ||
599 | <name>text</name> | ||
600 | <string>Screen sounds</string> | ||
601 | </property> | ||
602 | </widget> | ||
603 | <widget> | ||
604 | <class>QCheckBox</class> | ||
605 | <property stdset="1"> | ||
606 | <name>name</name> | ||
607 | <cstring>keysound</cstring> | ||
608 | </property> | ||
609 | <property stdset="1"> | ||
610 | <name>text</name> | ||
611 | <string>Keyboard sounds</string> | ||
612 | </property> | ||
613 | </widget> | ||
614 | <spacer> | ||
615 | <property> | ||
616 | <name>name</name> | ||
617 | <cstring>Spacer10</cstring> | ||
618 | </property> | ||
619 | <property stdset="1"> | ||
620 | <name>orientation</name> | ||
621 | <enum>Vertical</enum> | ||
622 | </property> | ||
623 | <property stdset="1"> | ||
624 | <name>sizeType</name> | ||
625 | <enum>Expanding</enum> | ||
626 | </property> | ||
627 | <property> | ||
628 | <name>sizeHint</name> | ||
629 | <size> | ||
630 | <width>20</width> | ||
631 | <height>20</height> | ||
632 | </size> | ||
633 | </property> | ||
634 | </spacer> | ||
635 | </vbox> | ||
636 | </widget> | ||
618 | </grid> | 637 | </grid> |
619 | </widget> | 638 | </widget> |
620 | <images> | 639 | <images> |
621 | <image> | 640 | <image> |
622 | <name>image0</name> | 641 | <name>image0</name> |
623 | <data format="XPM.GZ" length="409">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523234530022630543251d2e253d856405bffcbc54103b11c856360003105719c44d4b8371f590803210638829a38b2983115c2c112a8224969808d60716868a2582c440aa94a1628960a00755a5ac8c2aa64c8118c23c6cf6c2dda787e23eb03f602af1fa17395c6aadb9008c9350cb</data> | 642 | <data format="XPM.GZ" length="409">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523234530022630543251d2e253d856405bffcbc54103b11c856360003105719c44d4b8371f590803210638829a38b2983115c2c112a8224969808d60716868a2582c440aa94a1628960a00755a5ac8c2aa64c8118c23c6cf6c2dda787e23eb03f602af1fa17395c6aadb9008c9350cb</data> |
624 | </image> | 643 | </image> |
625 | <image> | 644 | <image> |
626 | <name>image1</name> | 645 | <name>image1</name> |
627 | <data format="XPM.GZ" length="409">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523234530022630543251d2e253d856405bffcbc54105b19c856360003103711c44d4b8371f5d000c962ca9862ca9862ca60b1440806bb0a0c80dcc444304616030924a2a983a8d423a80ed93c6cf6e2701f567f100c835a6b2e0025ab4ee4</data> | 646 | <data format="XPM.GZ" length="409">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523234530022630543251d2e253d856405bffcbc54105b19c856360003103711c44d4b8371f5d000c962ca9862ca9862ca60b1440806bb0a0c80dcc444304616030924a2a983a8d423a80ed93c6cf6e2701f567f100c835a6b2e0025ab4ee4</data> |
628 | </image> | 647 | </image> |
629 | </images> | 648 | </images> |
630 | </UI> | 649 | </UI> |