1 <?xml version="1.0" encoding="UTF-8"?>
3 <class>SelectSoundDialog</class>
4 <widget class="QDialog" name="SelectSoundDialog">
5 <property name="geometry">
13 <property name="windowTitle">
14 <string>Select the alarm sound for KitchenAlert</string>
16 <widget class="QWidget" name="verticalLayoutWidget">
17 <property name="geometry">
25 <layout class="QVBoxLayout" name="verticalLayout">
27 <layout class="QHBoxLayout" name="horizontalLayout_2">
29 <widget class="QRadioButton" name="DefaultSoundRadioButton">
30 <property name="text">
31 <string>Use the default sound</string>
36 <widget class="QRadioButton" name="CustomSoundRadioButton">
37 <property name="text">
38 <string>Use a custom sound</string>
45 <widget class="QTextBrowser" name="textBrowser">
46 <property name="minimumSize">
52 <property name="font">
54 <pointsize>16</pointsize>
57 <property name="html">
58 <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
59 <html><head><meta name="qrichtext" content="1" /><style type="text/css">
60 p, li { white-space: pre-wrap; }
61 </style></head><body style=" font-family:'Ubuntu'; font-size:16pt; font-weight:400; font-style:normal;">
62 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif'; font-size:12pt; font-weight:600;">Warning:</span><span style=" font-family:'Sans Serif'; font-size:12pt;"> choosing a sound file inside the &quot;N900&quot; folder will prevent mounting it outside the device when KitchenAlert is running and the sound from playing if the folder has been mounted out before starting KitchenAlert.</span></p>
63 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:12pt;"></p></body></html></string>
68 <layout class="QHBoxLayout" name="horizontalLayout">
70 <widget class="QLabel" name="label">
71 <property name="text">
72 <string>Select a sound file:</string>
77 <widget class="QLineEdit" name="lineEdit"/>
80 <widget class="QPushButton" name="browseButton">
81 <property name="text">
82 <string>Browse</string>
89 <layout class="QHBoxLayout" name="horizontalLayout_5">
91 <spacer name="horizontalSpacer_4">
92 <property name="orientation">
93 <enum>Qt::Horizontal</enum>
95 <property name="sizeHint" stdset="0">
104 <widget class="QPushButton" name="TestButton">
105 <property name="text">
106 <string>Test sound</string>
111 <spacer name="horizontalSpacer_3">
112 <property name="orientation">
113 <enum>Qt::Horizontal</enum>
115 <property name="sizeHint" stdset="0">
126 <layout class="QHBoxLayout" name="horizontalLayout_4">
128 <spacer name="horizontalSpacer">
129 <property name="orientation">
130 <enum>Qt::Horizontal</enum>
132 <property name="sizeHint" stdset="0">
141 <widget class="QPushButton" name="OKButton">
142 <property name="text">
143 <string>Done</string>
148 <spacer name="horizontalSpacer_2">
149 <property name="orientation">
150 <enum>Qt::Horizontal</enum>
152 <property name="sizeHint" stdset="0">
163 <layout class="QHBoxLayout" name="horizontalLayout_3"/>
171 <sender>CustomSoundRadioButton</sender>
172 <signal>toggled(bool)</signal>
173 <receiver>browseButton</receiver>
174 <slot>setEnabled(bool)</slot>
176 <hint type="sourcelabel">
180 <hint type="destinationlabel">
187 <sender>CustomSoundRadioButton</sender>
188 <signal>toggled(bool)</signal>
189 <receiver>lineEdit</receiver>
190 <slot>setEnabled(bool)</slot>
192 <hint type="sourcelabel">
196 <hint type="destinationlabel">
203 <sender>OKButton</sender>
204 <signal>clicked()</signal>
205 <receiver>SelectSoundDialog</receiver>
206 <slot>accept()</slot>
208 <hint type="sourcelabel">
212 <hint type="destinationlabel">