sprefs_audio.ui 12.3 KB
Newer Older
1
<ui version="4.0" >
2
 <author>Jean-Baptiste Kempf</author>
3 4
 <class>SPrefsAudio</class>
 <widget class="QWidget" name="SPrefsAudio" >
5 6 7 8
  <property name="geometry" >
   <rect>
    <x>0</x>
    <y>0</y>
9 10
    <width>643</width>
    <height>605</height>
11 12 13 14 15
   </rect>
  </property>
  <property name="windowTitle" >
   <string>Form</string>
  </property>
16
  <layout class="QVBoxLayout" name="verticalLayout" >
17
   <item>
18 19
    <widget class="QCheckBox" name="enableAudio" >
     <property name="text" >
20
      <string>_("Enable audio")</string>
21
     </property>
22 23
     <property name="checked" >
      <bool>true</bool>
24
     </property>
25 26 27
    </widget>
   </item>
   <item>
28
    <widget class="QGroupBox" name="audioBox" >
29
     <property name="title" >
30
      <string>_("General Audio")</string>
31
     </property>
32
     <layout class="QGridLayout" >
33
      <item row="0" column="0" colspan="2" >
34
       <widget class="QLabel" name="label_2" >
35
        <property name="text" >
36
         <string>_("Default volume")</string>
37 38 39
        </property>
       </widget>
      </item>
40
      <item row="0" column="2" colspan="2" >
41
       <widget class="QSlider" name="defaultVolume" >
42
        <property name="sizePolicy" >
43
         <sizepolicy vsizetype="Minimum" hsizetype="Fixed" >
44 45 46 47
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
48 49 50 51 52 53
        <property name="minimumSize" >
         <size>
          <width>140</width>
          <height>0</height>
         </size>
        </property>
54 55
        <property name="maximumSize" >
         <size>
56
          <width>200</width>
57 58 59
          <height>16777215</height>
         </size>
        </property>
60 61 62
        <property name="layoutDirection" >
         <enum>Qt::LeftToRight</enum>
        </property>
63 64 65
        <property name="maximum" >
         <number>400</number>
        </property>
66 67 68
        <property name="value" >
         <number>100</number>
        </property>
69 70
        <property name="orientation" >
         <enum>Qt::Horizontal</enum>
71 72 73
        </property>
       </widget>
      </item>
74
      <item row="0" column="4" >
75 76
       <widget class="QSpinBox" name="volumeValue" >
        <property name="toolTip" >
Christophe Mutricy's avatar
Christophe Mutricy committed
77
         <string>_("256 corresponds to 100%, 1024 to 400%")</string>
78 79 80 81 82 83 84 85 86 87 88 89 90
        </property>
        <property name="alignment" >
         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
        </property>
        <property name="readOnly" >
         <bool>true</bool>
        </property>
        <property name="suffix" >
         <string> %</string>
        </property>
        <property name="maximum" >
         <number>400</number>
        </property>
91 92 93
        <property name="value" >
         <number>100</number>
        </property>
94 95
       </widget>
      </item>
96
      <item row="1" column="0" >
97
       <widget class="QCheckBox" name="spdifBox" >
98
        <property name="text" >
99
         <string>_("Use S/PDIF when available")</string>
100 101 102
        </property>
       </widget>
      </item>
103
      <item row="1" column="2" colspan="3" >
104 105 106 107 108 109
       <widget class="QCheckBox" name="saveVolBox" >
        <property name="text" >
         <string>_("Save volume on exit")</string>
        </property>
       </widget>
      </item>
110
      <item row="2" column="0" >
111
       <widget class="QLabel" name="dolbyLabel" >
112
        <property name="text" >
113
         <string>_("Force detection of Dolby Surround")</string>
114
        </property>
115 116 117
        <property name="buddy" >
         <cstring>detectionDolby</cstring>
        </property>
118 119
       </widget>
      </item>
120
      <item row="2" column="2" colspan="3" >
121
       <widget class="QComboBox" name="detectionDolby" >
122
        <property name="sizePolicy" >
123
         <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
124 125 126 127 128 129
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="maximumSize" >
         <size>
130
          <width>300</width>
131 132 133
          <height>16777215</height>
         </size>
        </property>
134 135
        <property name="currentIndex" >
         <number>-1</number>
136 137 138
        </property>
       </widget>
      </item>
139
      <item row="3" column="0" >
140
       <widget class="QLabel" name="langLabel" >
141
        <property name="text" >
142
         <string>_("Preferred audio language")</string>
143
        </property>
144 145 146
        <property name="buddy" >
         <cstring>preferredAudioLanguage</cstring>
        </property>
147 148
       </widget>
      </item>
149
      <item row="3" column="2" colspan="3" >
150 151
       <widget class="QLineEdit" name="preferredAudioLanguage" />
      </item>
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
      <item row="2" column="1" >
       <spacer name="horizontalSpacer" >
        <property name="orientation" >
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType" >
         <enum>QSizePolicy::Fixed</enum>
        </property>
        <property name="sizeHint" stdset="0" >
         <size>
          <width>20</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
168
     </layout>
169 170 171
    </widget>
   </item>
   <item>
172
    <widget class="QGroupBox" name="outputAudioBox" >
173 174 175
     <property name="title" >
      <string>Output</string>
     </property>
176
     <layout class="QGridLayout" name="outputAudioLayout" >
177
      <item row="0" column="0" >
178
       <widget class="QLabel" name="outputLabel" >
179 180 181 182 183 184
        <property name="minimumSize" >
         <size>
          <width>100</width>
          <height>0</height>
         </size>
        </property>
185
        <property name="text" >
186
         <string>_("Type")</string>
187
        </property>
188 189 190
        <property name="buddy" >
         <cstring>outputModule</cstring>
        </property>
191 192
       </widget>
      </item>
193 194
      <item row="0" column="1" >
       <widget class="QComboBox" name="outputModule" >
195 196 197
        <property name="enabled" >
         <bool>true</bool>
        </property>
198 199 200 201 202
        <property name="sizePolicy" >
         <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
203 204
        </property>
       </widget>
205
      </item>
206 207 208
      <item row="1" column="0" colspan="2" >
       <widget class="QWidget" native="1" name="fileControl" >
        <layout class="QHBoxLayout" >
209
         <property name="spacing" >
210
          <number>0</number>
211 212
         </property>
         <property name="margin" >
213
          <number>0</number>
214
         </property>
215 216
         <item>
          <widget class="QLabel" name="fileLabel" >
217 218 219 220 221 222
           <property name="minimumSize" >
            <size>
             <width>100</width>
             <height>0</height>
            </size>
           </property>
223 224 225
           <property name="text" >
            <string>_("File")</string>
           </property>
226 227 228
           <property name="buddy" >
            <cstring>fileName</cstring>
           </property>
229 230 231 232 233 234 235 236 237 238 239 240 241
          </widget>
         </item>
         <item>
          <widget class="QLineEdit" name="fileName" />
         </item>
         <item>
          <widget class="QPushButton" name="fileBrowseButton" >
           <property name="text" >
            <string>_("Browse...")</string>
           </property>
          </widget>
         </item>
        </layout>
242 243 244 245 246 247 248 249
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="groupBox" >
     <property name="title" >
250
      <string>_("Effects")</string>
251 252
     </property>
     <layout class="QGridLayout" >
253
      <item row="2" column="1" colspan="2" >
254 255 256 257 258
       <widget class="QComboBox" name="visualisation" />
      </item>
      <item row="0" column="0" >
       <widget class="QCheckBox" name="headphoneEffect" >
        <property name="text" >
259
         <string>_("Headphone surround effect")</string>
260 261 262 263
        </property>
       </widget>
      </item>
      <item row="1" column="0" >
264
       <widget class="QCheckBox" name="volNormBox" >
265
        <property name="text" >
266
         <string>_("Volume normalizer")</string>
267 268 269 270
        </property>
       </widget>
      </item>
      <item row="2" column="0" >
271
       <widget class="QLabel" name="visuLabel" >
272
        <property name="text" >
273
         <string>_("Visualization")</string>
274
        </property>
275 276 277
        <property name="buddy" >
         <cstring>visualisation</cstring>
        </property>
278 279
       </widget>
      </item>
280 281 282 283 284 285 286 287 288 289 290 291 292 293
      <item row="0" column="1" >
       <widget class="QLabel" name="replayLabel" >
        <property name="text" >
         <string>_("Replay gain mode")</string>
        </property>
        <property name="alignment" >
         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
        </property>
       </widget>
      </item>
      <item row="0" column="2" >
       <widget class="QComboBox" name="replayCombo" />
      </item>
      <item row="1" column="2" >
294
       <widget class="QDoubleSpinBox" name="volNormSpin" >
295 296 297 298 299
        <property name="alignment" >
         <set>Qt::AlignRight</set>
        </property>
       </widget>
      </item>
300 301
     </layout>
    </widget>
302
   </item>
303
   <item>
304
    <widget class="QGroupBox" name="lastFMBox" >
305
     <property name="title" >
Jean-Baptiste Kempf's avatar
Jean-Baptiste Kempf committed
306
      <string>_("last.fm")</string>
307
     </property>
308
     <layout class="QGridLayout" name="gridLayout" >
309 310 311
      <item row="0" column="0" colspan="2" >
       <widget class="QCheckBox" name="lastfm" >
        <property name="text" >
312
         <string>_("Enable last.fm submission")</string>
313 314 315 316 317 318 319 320
        </property>
       </widget>
      </item>
      <item row="1" column="0" >
       <widget class="QLabel" name="lastfm_user_label" >
        <property name="text" >
         <string>_("Username")</string>
        </property>
321 322 323
        <property name="buddy" >
         <cstring>lastfm_user_edit</cstring>
        </property>
324 325
       </widget>
      </item>
326 327 328
      <item row="1" column="1" >
       <widget class="QLineEdit" name="lastfm_user_edit" />
      </item>
329 330 331 332 333
      <item row="2" column="0" >
       <widget class="QLabel" name="lastfm_pass_label" >
        <property name="text" >
         <string>_("Password")</string>
        </property>
334 335 336
        <property name="buddy" >
         <cstring>lastfm_pass_edit</cstring>
        </property>
337 338
       </widget>
      </item>
339
      <item row="2" column="1" >
340 341
       <widget class="QLineEdit" name="lastfm_pass_edit" >
        <property name="echoMode" >
342
         <enum>QLineEdit::Password</enum>
343 344 345 346 347 348
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
349 350
  </layout>
 </widget>
351 352 353
 <tabstops>
  <tabstop>enableAudio</tabstop>
  <tabstop>defaultVolume</tabstop>
354
  <tabstop>volumeValue</tabstop>
355
  <tabstop>spdifBox</tabstop>
356
  <tabstop>saveVolBox</tabstop>
357 358 359
  <tabstop>detectionDolby</tabstop>
  <tabstop>preferredAudioLanguage</tabstop>
  <tabstop>outputModule</tabstop>
360
  <tabstop>fileName</tabstop>
361 362
  <tabstop>fileBrowseButton</tabstop>
  <tabstop>headphoneEffect</tabstop>
363 364
  <tabstop>volNormBox</tabstop>
  <tabstop>volNormSpin</tabstop>
365
  <tabstop>visualisation</tabstop>
366 367 368
  <tabstop>lastfm</tabstop>
  <tabstop>lastfm_user_edit</tabstop>
  <tabstop>lastfm_pass_edit</tabstop>
369
 </tabstops>
370
 <resources/>
371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436
 <connections>
  <connection>
   <sender>lastfm</sender>
   <signal>toggled(bool)</signal>
   <receiver>lastfm_pass_edit</receiver>
   <slot>setVisible(bool)</slot>
   <hints>
    <hint type="sourcelabel" >
     <x>188</x>
     <y>619</y>
    </hint>
    <hint type="destinationlabel" >
     <x>360</x>
     <y>689</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>lastfm</sender>
   <signal>toggled(bool)</signal>
   <receiver>lastfm_pass_label</receiver>
   <slot>setVisible(bool)</slot>
   <hints>
    <hint type="sourcelabel" >
     <x>188</x>
     <y>619</y>
    </hint>
    <hint type="destinationlabel" >
     <x>102</x>
     <y>689</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>lastfm</sender>
   <signal>toggled(bool)</signal>
   <receiver>lastfm_user_edit</receiver>
   <slot>setVisible(bool)</slot>
   <hints>
    <hint type="sourcelabel" >
     <x>188</x>
     <y>619</y>
    </hint>
    <hint type="destinationlabel" >
     <x>360</x>
     <y>653</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>lastfm</sender>
   <signal>toggled(bool)</signal>
   <receiver>lastfm_user_label</receiver>
   <slot>setVisible(bool)</slot>
   <hints>
    <hint type="sourcelabel" >
     <x>188</x>
     <y>619</y>
    </hint>
    <hint type="destinationlabel" >
     <x>102</x>
     <y>653</y>
    </hint>
   </hints>
  </connection>
 </connections>
437
</ui>