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:'Sans Serif'; 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-size:12pt; font-weight:600;">Warning:</span><span style=" 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-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_4">
91 <spacer name="horizontalSpacer">
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 <widget class="QPushButton" name="OKButton">
112 <property name="text">
113 <string>Done</string>
118 <spacer name="horizontalSpacer_2">
119 <property name="orientation">
120 <enum>Qt::Horizontal</enum>
122 <property name="sizeHint" stdset="0">
133 <layout class="QHBoxLayout" name="horizontalLayout_3"/>
141 <sender>CustomSoundRadioButton</sender>
142 <signal>toggled(bool)</signal>
143 <receiver>browseButton</receiver>
144 <slot>setEnabled(bool)</slot>
146 <hint type="sourcelabel">
150 <hint type="destinationlabel">
157 <sender>CustomSoundRadioButton</sender>
158 <signal>toggled(bool)</signal>
159 <receiver>lineEdit</receiver>
160 <slot>setEnabled(bool)</slot>
162 <hint type="sourcelabel">
166 <hint type="destinationlabel">
173 <sender>OKButton</sender>
174 <signal>clicked()</signal>
175 <receiver>SelectSoundDialog</receiver>
176 <slot>accept()</slot>
178 <hint type="sourcelabel">
182 <hint type="destinationlabel">