author | kergoth <kergoth> | 2002-01-25 22:14:26 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-01-25 22:14:26 (UTC) |
commit | 15318cad33835e4e2dc620d033e43cd930676cdd (patch) (unidiff) | |
tree | c2fa0399a2c47fda8e2cd0092c73a809d17f68eb /noncore/settings/sound | |
download | opie-15318cad33835e4e2dc620d033e43cd930676cdd.zip opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.gz opie-15318cad33835e4e2dc620d033e43cd930676cdd.tar.bz2 |
Initial revision
-rw-r--r-- | noncore/settings/sound/.cvsignore | 5 | ||||
-rw-r--r-- | noncore/settings/sound/Makefile.in | 135 | ||||
-rw-r--r-- | noncore/settings/sound/main.cpp | 36 | ||||
-rw-r--r-- | noncore/settings/sound/qpe-sound.control | 10 | ||||
-rw-r--r-- | noncore/settings/sound/sound.pro | 10 | ||||
-rw-r--r-- | noncore/settings/sound/soundsettings.cpp | 64 | ||||
-rw-r--r-- | noncore/settings/sound/soundsettings.h | 44 | ||||
-rw-r--r-- | noncore/settings/sound/soundsettingsbase.ui | 281 |
8 files changed, 585 insertions, 0 deletions
diff --git a/noncore/settings/sound/.cvsignore b/noncore/settings/sound/.cvsignore new file mode 100644 index 0000000..ba1f2fe --- a/dev/null +++ b/noncore/settings/sound/.cvsignore | |||
@@ -0,0 +1,5 @@ | |||
1 | Makefile | ||
2 | moc_* | ||
3 | *.moc | ||
4 | soundsettingsbase.cpp | ||
5 | soundsettingsbase.h | ||
diff --git a/noncore/settings/sound/Makefile.in b/noncore/settings/sound/Makefile.in new file mode 100644 index 0000000..1772e12 --- a/dev/null +++ b/noncore/settings/sound/Makefile.in | |||
@@ -0,0 +1,135 @@ | |||
1 | ############################################################################# | ||
2 | |||
3 | ####### Compiler, tools and options | ||
4 | |||
5 | CXX =$(SYSCONF_CXX) $(QT_CXX_MT) | ||
6 | CXXFLAGS=$(SYSCONF_CXXFLAGS_QT) $(SYSCONF_CXXFLAGS) | ||
7 | CC =$(SYSCONF_CC) $(QT_C_MT) | ||
8 | CFLAGS =$(SYSCONF_CFLAGS) | ||
9 | INCPATH =-I$(QPEDIR)/include | ||
10 | LFLAGS =$(SYSCONF_LFLAGS_QT) $(SYSCONF_RPATH_QT) $(SYSCONF_LFLAGS) $(QT_LFLAGS_MT) | ||
11 | LIBS =$(SUBLIBS) -lqpe $(SYSCONF_LIBS_QT) $(SYSCONF_LIBS) $(SYSCONF_LIBS_QTAPP) | ||
12 | MOC =$(SYSCONF_MOC) | ||
13 | UIC =$(SYSCONF_UIC) | ||
14 | |||
15 | ####### Target | ||
16 | |||
17 | DESTDIR = ../../bin/ | ||
18 | VER_MAJ = 1 | ||
19 | VER_MIN = 0 | ||
20 | VER_PATCH = 0 | ||
21 | TARGET= sound | ||
22 | TARGET1 = lib$(TARGET).so.$(VER_MAJ) | ||
23 | |||
24 | ####### Files | ||
25 | |||
26 | HEADERS =soundsettings.h | ||
27 | SOURCES =soundsettings.cpp \ | ||
28 | main.cpp | ||
29 | OBJECTS =soundsettings.o \ | ||
30 | main.o \ | ||
31 | soundsettingsbase.o | ||
32 | INTERFACES = soundsettingsbase.ui | ||
33 | UICDECLS = soundsettingsbase.h | ||
34 | UICIMPLS = soundsettingsbase.cpp | ||
35 | SRCMOC =moc_soundsettings.cpp \ | ||
36 | moc_soundsettingsbase.cpp | ||
37 | OBJMOC =moc_soundsettings.o \ | ||
38 | moc_soundsettingsbase.o | ||
39 | |||
40 | |||
41 | ####### Implicit rules | ||
42 | |||
43 | .SUFFIXES: .cpp .cxx .cc .C .c | ||
44 | |||
45 | .cpp.o: | ||
46 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
47 | |||
48 | .cxx.o: | ||
49 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
50 | |||
51 | .cc.o: | ||
52 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
53 | |||
54 | .C.o: | ||
55 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< | ||
56 | |||
57 | .c.o: | ||
58 | $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< | ||
59 | |||
60 | ####### Build rules | ||
61 | |||
62 | |||
63 | all: $(DESTDIR)$(TARGET) | ||
64 | |||
65 | $(DESTDIR)$(TARGET): $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS) | ||
66 | $(SYSCONF_LINK) $(LFLAGS) -o $(DESTDIR)$(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) | ||
67 | |||
68 | moc: $(SRCMOC) | ||
69 | |||
70 | tmake: | ||
71 | tmake sound.pro | ||
72 | |||
73 | clean: | ||
74 | -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS) | ||
75 | -rm -f *~ core | ||
76 | -rm -f allmoc.cpp | ||
77 | |||
78 | ####### Extension Modules | ||
79 | |||
80 | listpromodules: | ||
81 | @echo | ||
82 | |||
83 | listallmodules: | ||
84 | @echo | ||
85 | |||
86 | listaddonpromodules: | ||
87 | @echo | ||
88 | |||
89 | listaddonentmodules: | ||
90 | @echo | ||
91 | |||
92 | |||
93 | REQUIRES= | ||
94 | |||
95 | ####### Sub-libraries | ||
96 | |||
97 | |||
98 | ###### Combined headers | ||
99 | |||
100 | |||
101 | |||
102 | ####### Compile | ||
103 | |||
104 | soundsettings.o: soundsettings.cpp \ | ||
105 | soundsettings.h \ | ||
106 | soundsettingsbase.h | ||
107 | |||
108 | main.o: main.cpp \ | ||
109 | soundsettings.h \ | ||
110 | soundsettingsbase.h | ||
111 | |||
112 | soundsettingsbase.h: soundsettingsbase.ui | ||
113 | $(UIC) soundsettingsbase.ui -o $(INTERFACE_DECL_PATH)/soundsettingsbase.h | ||
114 | |||
115 | soundsettingsbase.cpp: soundsettingsbase.ui | ||
116 | $(UIC) soundsettingsbase.ui -i soundsettingsbase.h -o soundsettingsbase.cpp | ||
117 | |||
118 | soundsettingsbase.o: soundsettingsbase.cpp \ | ||
119 | soundsettingsbase.h \ | ||
120 | soundsettingsbase.ui | ||
121 | |||
122 | moc_soundsettings.o: moc_soundsettings.cpp \ | ||
123 | soundsettings.h \ | ||
124 | soundsettingsbase.h | ||
125 | |||
126 | moc_soundsettingsbase.o: moc_soundsettingsbase.cpp \ | ||
127 | soundsettingsbase.h | ||
128 | |||
129 | moc_soundsettings.cpp: soundsettings.h | ||
130 | $(MOC) soundsettings.h -o moc_soundsettings.cpp | ||
131 | |||
132 | moc_soundsettingsbase.cpp: soundsettingsbase.h | ||
133 | $(MOC) soundsettingsbase.h -o moc_soundsettingsbase.cpp | ||
134 | |||
135 | |||
diff --git a/noncore/settings/sound/main.cpp b/noncore/settings/sound/main.cpp new file mode 100644 index 0000000..5d28a8c --- a/dev/null +++ b/noncore/settings/sound/main.cpp | |||
@@ -0,0 +1,36 @@ | |||
1 | /********************************************************************** | ||
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | ||
3 | ** | ||
4 | ** This file is part of Qtopia Environment. | ||
5 | ** | ||
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 | ||
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
9 | ** packaging of this file. | ||
10 | ** | ||
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. | ||
13 | ** | ||
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | ||
15 | ** | ||
16 | ** Contact info@trolltech.com if any conditions of this licensing are | ||
17 | ** not clear to you. | ||
18 | ** | ||
19 | **********************************************************************/ | ||
20 | |||
21 | #include "soundsettings.h" | ||
22 | |||
23 | #include <qpe/qpeapplication.h> | ||
24 | |||
25 | |||
26 | int main(int argc, char** argv) | ||
27 | { | ||
28 | QPEApplication a(argc,argv); | ||
29 | |||
30 | SoundSettings dlg; | ||
31 | |||
32 | a.showMainWidget(&dlg); | ||
33 | |||
34 | return a.exec(); | ||
35 | } | ||
36 | |||
diff --git a/noncore/settings/sound/qpe-sound.control b/noncore/settings/sound/qpe-sound.control new file mode 100644 index 0000000..f7f1c4f --- a/dev/null +++ b/noncore/settings/sound/qpe-sound.control | |||
@@ -0,0 +1,10 @@ | |||
1 | Files: bin/sound apps/Settings/Sound.desktop | ||
2 | Priority: optional | ||
3 | Section: qpe/settings | ||
4 | Maintainer: Warwick Allison <warwick@trolltech.com> | ||
5 | Architecture: arm | ||
6 | Arch: iPAQ | ||
7 | Version: $QPE_VERSION-1 | ||
8 | Depends: qpe-base ($QPE_VERSION) | ||
9 | Description: Sound settings dialog | ||
10 | For the Qtopia environment. | ||
diff --git a/noncore/settings/sound/sound.pro b/noncore/settings/sound/sound.pro new file mode 100644 index 0000000..9028a44 --- a/dev/null +++ b/noncore/settings/sound/sound.pro | |||
@@ -0,0 +1,10 @@ | |||
1 | TEMPLATE= app | ||
2 | CONFIG += qt warn_on release | ||
3 | DESTDIR = ../../bin | ||
4 | HEADERS = soundsettings.h | ||
5 | SOURCES = soundsettings.cpp main.cpp | ||
6 | INTERFACES= soundsettingsbase.ui | ||
7 | INCLUDEPATH += $(QPEDIR)/include | ||
8 | DEPENDPATH+= ../$(QPEDIR)/include | ||
9 | LIBS += -lqpe | ||
10 | TARGET = sound | ||
diff --git a/noncore/settings/sound/soundsettings.cpp b/noncore/settings/sound/soundsettings.cpp new file mode 100644 index 0000000..92281f8 --- a/dev/null +++ b/noncore/settings/sound/soundsettings.cpp | |||
@@ -0,0 +1,64 @@ | |||
1 | /********************************************************************** | ||
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | ||
3 | ** | ||
4 | ** This file is part of Qtopia Environment. | ||
5 | ** | ||
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 | ||
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
9 | ** packaging of this file. | ||
10 | ** | ||
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. | ||
13 | ** | ||
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | ||
15 | ** | ||
16 | ** Contact info@trolltech.com if any conditions of this licensing are | ||
17 | ** not clear to you. | ||
18 | ** | ||
19 | **********************************************************************/ | ||
20 | #include "soundsettings.h" | ||
21 | |||
22 | #include <qpe/config.h> | ||
23 | #include <qpe/qcopenvelope_qws.h> | ||
24 | |||
25 | #include <qslider.h> | ||
26 | #include <qcheckbox.h> | ||
27 | |||
28 | SoundSettings::SoundSettings( QWidget* parent, const char* name, WFlags fl ) | ||
29 | : SoundSettingsBase( parent, name, TRUE, fl ) | ||
30 | { | ||
31 | Config config( "Sound" ); | ||
32 | |||
33 | config.setGroup( "System" ); | ||
34 | volume->setValue(100-config.readNumEntry("Volume")); | ||
35 | touchsound->setChecked(config.readBoolEntry("Touch")); | ||
36 | keysound->setChecked(config.readBoolEntry("Key")); | ||
37 | |||
38 | connect(volume, SIGNAL(valueChanged(int)), this, SLOT(setVolume(int))); | ||
39 | } | ||
40 | |||
41 | void SoundSettings::reject() | ||
42 | { | ||
43 | Config config( "Sound" ); | ||
44 | config.setGroup( "System" ); | ||
45 | setVolume(100-config.readNumEntry("Volume")); | ||
46 | |||
47 | QDialog::reject(); | ||
48 | } | ||
49 | |||
50 | void SoundSettings::accept() | ||
51 | { | ||
52 | Config config( "Sound" ); | ||
53 | config.setGroup( "System" ); | ||
54 | config.writeEntry("Volume",100-volume->value()); | ||
55 | config.writeEntry("Touch",touchsound->isChecked()); | ||
56 | config.writeEntry("Key",keysound->isChecked()); | ||
57 | setVolume(volume->value()); | ||
58 | QDialog::accept(); | ||
59 | } | ||
60 | |||
61 | void SoundSettings::setVolume(int v) | ||
62 | { | ||
63 | QCopEnvelope( "QPE/System", "setVolume(int,int)" ) << 0 << 100-v; | ||
64 | } | ||
diff --git a/noncore/settings/sound/soundsettings.h b/noncore/settings/sound/soundsettings.h new file mode 100644 index 0000000..b5c8cee --- a/dev/null +++ b/noncore/settings/sound/soundsettings.h | |||
@@ -0,0 +1,44 @@ | |||
1 | /********************************************************************** | ||
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | ||
3 | ** | ||
4 | ** This file is part of Qtopia Environment. | ||
5 | ** | ||
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 | ||
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
9 | ** packaging of this file. | ||
10 | ** | ||
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. | ||
13 | ** | ||
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | ||
15 | ** | ||
16 | ** Contact info@trolltech.com if any conditions of this licensing are | ||
17 | ** not clear to you. | ||
18 | ** | ||
19 | **********************************************************************/ | ||
20 | #ifndef SOUNDSETTINGS_H | ||
21 | #define SOUNDSETTINGS_H | ||
22 | |||
23 | |||
24 | #include "soundsettingsbase.h" | ||
25 | |||
26 | |||
27 | class SoundSettings : public SoundSettingsBase | ||
28 | { | ||
29 | Q_OBJECT | ||
30 | |||
31 | public: | ||
32 | SoundSettings( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | ||
33 | |||
34 | protected: | ||
35 | void accept(); | ||
36 | void reject(); | ||
37 | |||
38 | private slots: | ||
39 | void setVolume(int); | ||
40 | }; | ||
41 | |||
42 | |||
43 | #endif // SOUNDSETTINGS_H | ||
44 | |||
diff --git a/noncore/settings/sound/soundsettingsbase.ui b/noncore/settings/sound/soundsettingsbase.ui new file mode 100644 index 0000000..1aa4545 --- a/dev/null +++ b/noncore/settings/sound/soundsettingsbase.ui | |||
@@ -0,0 +1,281 @@ | |||
1 | <!DOCTYPE UI><UI> | ||
2 | <class>SoundSettingsBase</class> | ||
3 | <widget> | ||
4 | <class>QDialog</class> | ||
5 | <property stdset="1"> | ||
6 | <name>name</name> | ||
7 | <cstring>SoundSettingsBase</cstring> | ||
8 | </property> | ||
9 | <property stdset="1"> | ||
10 | <name>geometry</name> | ||
11 | <rect> | ||
12 | <x>0</x> | ||
13 | <y>0</y> | ||
14 | <width>246</width> | ||
15 | <height>299</height> | ||
16 | </rect> | ||
17 | </property> | ||
18 | <property stdset="1"> | ||
19 | <name>caption</name> | ||
20 | <string>Sound Settings</string> | ||
21 | </property> | ||
22 | <property> | ||
23 | <name>layoutMargin</name> | ||
24 | </property> | ||
25 | <property> | ||
26 | <name>layoutSpacing</name> | ||
27 | </property> | ||
28 | <vbox> | ||
29 | <property stdset="1"> | ||
30 | <name>margin</name> | ||
31 | <number>7</number> | ||
32 | </property> | ||
33 | <property stdset="1"> | ||
34 | <name>spacing</name> | ||
35 | <number>1</number> | ||
36 | </property> | ||
37 | <widget> | ||
38 | <class>QCheckBox</class> | ||
39 | <property stdset="1"> | ||
40 | <name>name</name> | ||
41 | <cstring>keysound</cstring> | ||
42 | </property> | ||
43 | <property stdset="1"> | ||
44 | <name>text</name> | ||
45 | <string>Keyboard sound</string> | ||
46 | </property> | ||
47 | </widget> | ||
48 | <widget> | ||
49 | <class>QCheckBox</class> | ||
50 | <property stdset="1"> | ||
51 | <name>name</name> | ||
52 | <cstring>touchsound</cstring> | ||
53 | </property> | ||
54 | <property stdset="1"> | ||
55 | <name>text</name> | ||
56 | <string>Screen sound</string> | ||
57 | </property> | ||
58 | </widget> | ||
59 | <widget> | ||
60 | <class>QLayoutWidget</class> | ||
61 | <property stdset="1"> | ||
62 | <name>name</name> | ||
63 | <cstring>Layout10</cstring> | ||
64 | </property> | ||
65 | <hbox> | ||
66 | <property stdset="1"> | ||
67 | <name>margin</name> | ||
68 | <number>0</number> | ||
69 | </property> | ||
70 | <property stdset="1"> | ||
71 | <name>spacing</name> | ||
72 | <number>6</number> | ||
73 | </property> | ||
74 | <widget> | ||
75 | <class>QSlider</class> | ||
76 | <property stdset="1"> | ||
77 | <name>name</name> | ||
78 | <cstring>volume</cstring> | ||
79 | </property> | ||
80 | <property stdset="1"> | ||
81 | <name>maxValue</name> | ||
82 | <number>100</number> | ||
83 | </property> | ||
84 | <property stdset="1"> | ||
85 | <name>value</name> | ||
86 | <number>50</number> | ||
87 | </property> | ||
88 | <property stdset="1"> | ||
89 | <name>orientation</name> | ||
90 | <enum>Vertical</enum> | ||
91 | </property> | ||
92 | <property stdset="1"> | ||
93 | <name>tickmarks</name> | ||
94 | <enum>Right</enum> | ||
95 | </property> | ||
96 | <property stdset="1"> | ||
97 | <name>tickInterval</name> | ||
98 | <number>5</number> | ||
99 | </property> | ||
100 | </widget> | ||
101 | <widget> | ||
102 | <class>QLayoutWidget</class> | ||
103 | <property stdset="1"> | ||
104 | <name>name</name> | ||
105 | <cstring>Layout9</cstring> | ||
106 | </property> | ||
107 | <vbox> | ||
108 | <property stdset="1"> | ||
109 | <name>margin</name> | ||
110 | <number>0</number> | ||
111 | </property> | ||
112 | <property stdset="1"> | ||
113 | <name>spacing</name> | ||
114 | <number>6</number> | ||
115 | </property> | ||
116 | <widget> | ||
117 | <class>QLayoutWidget</class> | ||
118 | <property stdset="1"> | ||
119 | <name>name</name> | ||
120 | <cstring>Layout10_2</cstring> | ||
121 | </property> | ||
122 | <hbox> | ||
123 | <property stdset="1"> | ||
124 | <name>margin</name> | ||
125 | <number>0</number> | ||
126 | </property> | ||
127 | <property stdset="1"> | ||
128 | <name>spacing</name> | ||
129 | <number>6</number> | ||
130 | </property> | ||
131 | <widget> | ||
132 | <class>QLabel</class> | ||
133 | <property stdset="1"> | ||
134 | <name>name</name> | ||
135 | <cstring>PixmapLabel1_2</cstring> | ||
136 | </property> | ||
137 | <property stdset="1"> | ||
138 | <name>pixmap</name> | ||
139 | <pixmap>image0</pixmap> | ||
140 | </property> | ||
141 | <property stdset="1"> | ||
142 | <name>scaledContents</name> | ||
143 | <bool>false</bool> | ||
144 | </property> | ||
145 | </widget> | ||
146 | <widget> | ||
147 | <class>QLabel</class> | ||
148 | <property stdset="1"> | ||
149 | <name>name</name> | ||
150 | <cstring>TextLabel1_2</cstring> | ||
151 | </property> | ||
152 | <property stdset="1"> | ||
153 | <name>text</name> | ||
154 | <string>Loud</string> | ||
155 | </property> | ||
156 | </widget> | ||
157 | <spacer> | ||
158 | <property> | ||
159 | <name>name</name> | ||
160 | <cstring>Spacer3_2</cstring> | ||
161 | </property> | ||
162 | <property stdset="1"> | ||
163 | <name>orientation</name> | ||
164 | <enum>Horizontal</enum> | ||
165 | </property> | ||
166 | <property stdset="1"> | ||
167 | <name>sizeType</name> | ||
168 | <enum>Expanding</enum> | ||
169 | </property> | ||
170 | <property> | ||
171 | <name>sizeHint</name> | ||
172 | <size> | ||
173 | <width>20</width> | ||
174 | <height>20</height> | ||
175 | </size> | ||
176 | </property> | ||
177 | </spacer> | ||
178 | </hbox> | ||
179 | </widget> | ||
180 | <spacer> | ||
181 | <property> | ||
182 | <name>name</name> | ||
183 | <cstring>Spacer5_2</cstring> | ||
184 | </property> | ||
185 | <property stdset="1"> | ||
186 | <name>orientation</name> | ||
187 | <enum>Vertical</enum> | ||
188 | </property> | ||
189 | <property stdset="1"> | ||
190 | <name>sizeType</name> | ||
191 | <enum>Expanding</enum> | ||
192 | </property> | ||
193 | <property> | ||
194 | <name>sizeHint</name> | ||
195 | <size> | ||
196 | <width>20</width> | ||
197 | <height>20</height> | ||
198 | </size> | ||
199 | </property> | ||
200 | </spacer> | ||
201 | <widget> | ||
202 | <class>QLayoutWidget</class> | ||
203 | <property stdset="1"> | ||
204 | <name>name</name> | ||
205 | <cstring>Layout9_2</cstring> | ||
206 | </property> | ||
207 | <hbox> | ||
208 | <property stdset="1"> | ||
209 | <name>margin</name> | ||
210 | <number>0</number> | ||
211 | </property> | ||
212 | <property stdset="1"> | ||
213 | <name>spacing</name> | ||
214 | <number>6</number> | ||
215 | </property> | ||
216 | <widget> | ||
217 | <class>QLabel</class> | ||
218 | <property stdset="1"> | ||
219 | <name>name</name> | ||
220 | <cstring>PixmapLabel2_2</cstring> | ||
221 | </property> | ||
222 | <property stdset="1"> | ||
223 | <name>pixmap</name> | ||
224 | <pixmap>image1</pixmap> | ||
225 | </property> | ||
226 | <property stdset="1"> | ||
227 | <name>scaledContents</name> | ||
228 | <bool>false</bool> | ||
229 | </property> | ||
230 | </widget> | ||
231 | <widget> | ||
232 | <class>QLabel</class> | ||
233 | <property stdset="1"> | ||
234 | <name>name</name> | ||
235 | <cstring>TextLabel2_2</cstring> | ||
236 | </property> | ||
237 | <property stdset="1"> | ||
238 | <name>text</name> | ||
239 | <string>Silent</string> | ||
240 | </property> | ||
241 | </widget> | ||
242 | <spacer> | ||
243 | <property> | ||
244 | <name>name</name> | ||
245 | <cstring>Spacer2_2</cstring> | ||
246 | </property> | ||
247 | <property stdset="1"> | ||
248 | <name>orientation</name> | ||
249 | <enum>Horizontal</enum> | ||
250 | </property> | ||
251 | <property stdset="1"> | ||
252 | <name>sizeType</name> | ||
253 | <enum>Expanding</enum> | ||
254 | </property> | ||
255 | <property> | ||
256 | <name>sizeHint</name> | ||
257 | <size> | ||
258 | <width>20</width> | ||
259 | <height>20</height> | ||
260 | </size> | ||
261 | </property> | ||
262 | </spacer> | ||
263 | </hbox> | ||
264 | </widget> | ||
265 | </vbox> | ||
266 | </widget> | ||
267 | </hbox> | ||
268 | </widget> | ||
269 | </vbox> | ||
270 | </widget> | ||
271 | <images> | ||
272 | <image> | ||
273 | <name>image0</name> | ||
274 | <data format="XPM.GZ" length="409">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523234530022630543251d2e253d856405bffcbc54103b11c856360003105719c44d4b8371f590803210638829a38b2983115c2c112a8224969808d60716868a2582c440aa94a1628960a00755a5ac8c2aa64c8118c23c6cf6c2dda787e23eb03f602af1fa17395c6aadb9008c9350cb</data> | ||
275 | </image> | ||
276 | <image> | ||
277 | <name>image1</name> | ||
278 | <data format="XPM.GZ" length="409">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523234530022630543251d2e253d856405bffcbc54105b19c856360003103711c44d4b8371f5d000c962ca9862ca9862ca60b1440806bb0a0c80dcc444304616030924a2a983a8d423a80ed93c6cf6e2701f567f100c835a6b2e0025ab4ee4</data> | ||
279 | </image> | ||
280 | </images> | ||
281 | </UI> | ||