sprefs_audio.ui 19.5 KB
Newer Older
1 2
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
3
 <author>Jean-Baptiste Kempf</author>
4
 <class>SPrefsAudio</class>
5 6
 <widget class="QWidget" name="SPrefsAudio">
  <property name="geometry">
7 8 9
   <rect>
    <x>0</x>
    <y>0</y>
10
    <width>707</width>
11
    <height>548</height>
12 13
   </rect>
  </property>
14 15 16 17 18 19
  <property name="sizePolicy">
   <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
    <horstretch>0</horstretch>
    <verstretch>0</verstretch>
   </sizepolicy>
  </property>
20
  <property name="windowTitle">
21 22
   <string>Form</string>
  </property>
23
  <layout class="QVBoxLayout" name="verticalLayout_2">
24
   <item>
25 26
    <widget class="QCheckBox" name="enableAudio">
     <property name="text">
27
      <string>Enable audio</string>
28
     </property>
29
     <property name="checked">
30
      <bool>true</bool>
31
     </property>
32 33 34
    </widget>
   </item>
   <item>
35 36
    <widget class="QWidget" name="audioZone" native="true">
     <layout class="QVBoxLayout" name="audioZoneLayout">
37 38 39 40 41 42 43 44 45 46
      <property name="leftMargin">
       <number>0</number>
      </property>
      <property name="topMargin">
       <number>0</number>
      </property>
      <property name="rightMargin">
       <number>0</number>
      </property>
      <property name="bottomMargin">
47 48
       <number>0</number>
      </property>
49 50 51 52 53 54 55 56 57
      <item>
       <widget class="QGroupBox" name="audioBox">
        <property name="title">
         <string>Volume</string>
        </property>
        <layout class="QGridLayout">
         <property name="bottomMargin">
          <number>0</number>
         </property>
58
         <item row="0" column="2">
59 60 61 62 63 64 65 66
          <widget class="QWidget" name="defaultVolume_zone" native="true">
           <layout class="QHBoxLayout" name="horizontalLayout">
            <property name="spacing">
             <number>0</number>
            </property>
            <property name="sizeConstraint">
             <enum>QLayout::SetDefaultConstraint</enum>
            </property>
67 68 69 70 71 72 73 74 75 76
            <property name="leftMargin">
             <number>0</number>
            </property>
            <property name="topMargin">
             <number>0</number>
            </property>
            <property name="rightMargin">
             <number>0</number>
            </property>
            <property name="bottomMargin">
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
             <number>0</number>
            </property>
            <item>
             <widget class="QSlider" name="defaultVolume">
              <property name="sizePolicy">
               <sizepolicy hsizetype="MinimumExpanding" vsizetype="Minimum">
                <horstretch>0</horstretch>
                <verstretch>0</verstretch>
               </sizepolicy>
              </property>
              <property name="minimumSize">
               <size>
                <width>140</width>
                <height>0</height>
               </size>
              </property>
              <property name="layoutDirection">
               <enum>Qt::LeftToRight</enum>
              </property>
              <property name="maximum">
               <number>200</number>
              </property>
              <property name="value">
               <number>100</number>
              </property>
              <property name="orientation">
               <enum>Qt::Horizontal</enum>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QSpinBox" name="volumeValue">
              <property name="sizePolicy">
               <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
                <horstretch>0</horstretch>
                <verstretch>0</verstretch>
               </sizepolicy>
              </property>
              <property name="wrapping">
               <bool>false</bool>
              </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>200</number>
              </property>
              <property name="value">
               <number>100</number>
              </property>
             </widget>
            </item>
           </layout>
          </widget>
         </item>
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
         <item row="0" column="0" colspan="2">
          <widget class="QCheckBox" name="resetVolumeCheckbox">
           <property name="minimumSize">
            <size>
             <width>250</width>
             <height>0</height>
            </size>
           </property>
           <property name="text">
            <string>Always reset audio start level to:</string>
           </property>
           <property name="checked">
            <bool>false</bool>
           </property>
          </widget>
         </item>
154
        </layout>
155 156
       </widget>
      </item>
157 158 159 160
      <item>
       <widget class="QGroupBox" name="outputAudioBox">
        <property name="title">
         <string>Output</string>
161
        </property>
162 163
        <layout class="QGridLayout" name="outputAudioLayout">
         <property name="bottomMargin">
164
          <number>4</number>
165
         </property>
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
         <item row="0" column="0">
          <widget class="QLabel" name="outputLabel">
           <property name="minimumSize">
            <size>
             <width>250</width>
             <height>0</height>
            </size>
           </property>
           <property name="text">
            <string>Output module:</string>
           </property>
           <property name="buddy">
            <cstring>outputModule</cstring>
           </property>
          </widget>
         </item>
         <item row="0" column="1">
          <widget class="QComboBox" name="outputModule">
           <property name="enabled">
            <bool>true</bool>
           </property>
           <property name="sizePolicy">
            <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
          </widget>
         </item>
195 196 197 198 199 200
         <item row="1" column="0" colspan="2">
          <widget class="QWidget" name="fileControl" native="true">
           <layout class="QHBoxLayout">
            <property name="spacing">
             <number>0</number>
            </property>
201 202 203 204 205 206 207 208 209 210
            <property name="leftMargin">
             <number>0</number>
            </property>
            <property name="topMargin">
             <number>0</number>
            </property>
            <property name="rightMargin">
             <number>0</number>
            </property>
            <property name="bottomMargin">
211 212 213 214 215 216 217 218 219 220 221 222 223
             <number>0</number>
            </property>
            <item>
             <widget class="QLabel" name="fileLabel">
              <property name="minimumSize">
               <size>
                <width>256</width>
                <height>0</height>
               </size>
              </property>
              <property name="text">
               <string>Destination file:</string>
              </property>
224 225 226
              <property name="buddy">
               <cstring>fileName</cstring>
              </property>
227 228 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>
          </widget>
         </item>
242 243
         <item row="3" column="1">
          <widget class="QCheckBox" name="spdifBox">
244
           <property name="sizePolicy">
245
            <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
246 247 248 249
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
250 251 252
           <property name="text">
            <string>Use S/PDIF when available</string>
           </property>
253 254 255
          </widget>
         </item>
        </layout>
256 257
       </widget>
      </item>
258 259 260 261
      <item>
       <widget class="QGroupBox" name="groupBox_2">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
262 263 264 265
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
266
        <property name="title">
267
         <string>Effects</string>
268
        </property>
269 270
        <property name="checkable">
         <bool>false</bool>
271
        </property>
272
        <layout class="QGridLayout" name="gridLayout_2">
273
         <item row="8" column="0">
274
          <widget class="QLabel" name="visuLabel">
275 276 277 278 279 280 281
           <property name="minimumSize">
            <size>
             <width>250</width>
             <height>0</height>
            </size>
           </property>
           <property name="text">
282
            <string>Visualization:</string>
283
           </property>
284 285 286
           <property name="buddy">
            <cstring>visualisation</cstring>
           </property>
287
          </widget>
288
         </item>
289
         <item row="8" column="2" colspan="2">
290
          <widget class="QComboBox" name="visualisation">
291 292 293 294 295 296 297 298
           <property name="sizePolicy">
            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
          </widget>
         </item>
299 300 301 302 303 304 305
         <item row="0" column="0">
          <widget class="QCheckBox" name="autoscaleBox">
           <property name="text">
            <string>Enable Time-Stretching audio</string>
           </property>
          </widget>
         </item>
306
         <item row="6" column="0">
307 308 309 310 311 312 313
          <widget class="QLabel" name="dolbyLabel">
           <property name="sizePolicy">
            <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
314 315 316 317 318 319
           <property name="minimumSize">
            <size>
             <width>250</width>
             <height>0</height>
            </size>
           </property>
320 321 322 323 324 325
           <property name="maximumSize">
            <size>
             <width>250</width>
             <height>16777215</height>
            </size>
           </property>
326
           <property name="text">
327
            <string>Dolby Surround:</string>
328
           </property>
329 330 331
           <property name="buddy">
            <cstring>detectionDolby</cstring>
           </property>
332 333
          </widget>
         </item>
334
         <item row="5" column="0">
335 336 337 338 339 340 341 342 343 344 345 346 347
          <widget class="QLabel" name="replayLabel">
           <property name="minimumSize">
            <size>
             <width>250</width>
             <height>0</height>
            </size>
           </property>
           <property name="text">
            <string>Replay gain mode:</string>
           </property>
           <property name="alignment">
            <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
           </property>
348 349 350
           <property name="buddy">
            <cstring>replayCombo</cstring>
           </property>
351 352
          </widget>
         </item>
353
         <item row="5" column="2" colspan="2">
354
          <widget class="QComboBox" name="replayCombo">
355 356 357 358 359
           <property name="sizePolicy">
            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
360
           </property>
361 362
          </widget>
         </item>
363
         <item row="6" column="3">
364 365 366 367 368 369 370
          <widget class="QCheckBox" name="headphoneEffect">
           <property name="sizePolicy">
            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
371
           <property name="text">
372
            <string>Headphone surround effect</string>
373 374 375
           </property>
          </widget>
         </item>
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 437 438 439 440 441 442 443
         <item row="6" column="2">
          <widget class="QComboBox" name="detectionDolby">
           <property name="sizePolicy">
            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
           <property name="currentIndex">
            <number>-1</number>
           </property>
          </widget>
         </item>
         <item row="4" column="0">
          <widget class="QCheckBox" name="volNormBox">
           <property name="sizePolicy">
            <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
           <property name="minimumSize">
            <size>
             <width>250</width>
             <height>0</height>
            </size>
           </property>
           <property name="maximumSize">
            <size>
             <width>250</width>
             <height>16777215</height>
            </size>
           </property>
           <property name="text">
            <string>Normalize volume to:</string>
           </property>
          </widget>
         </item>
         <item row="4" column="2">
          <widget class="QDoubleSpinBox" name="volNormSpin">
           <property name="enabled">
            <bool>true</bool>
           </property>
           <property name="alignment">
            <set>Qt::AlignRight</set>
           </property>
          </widget>
         </item>
         <item row="4" column="3">
          <spacer name="horizontalSpacer">
           <property name="orientation">
            <enum>Qt::Horizontal</enum>
           </property>
           <property name="sizeHint" stdset="0">
            <size>
             <width>40</width>
             <height>20</height>
            </size>
           </property>
          </spacer>
         </item>
         <item row="7" column="2" colspan="2">
          <widget class="Line" name="line">
           <property name="orientation">
            <enum>Qt::Horizontal</enum>
           </property>
          </widget>
         </item>
444
        </layout>
445 446
       </widget>
      </item>
447 448 449 450
      <item>
       <widget class="QGroupBox" name="groupBox_3">
        <property name="title">
         <string>Tracks</string>
451
        </property>
452 453 454 455 456 457 458 459 460 461 462 463 464 465 466
        <layout class="QGridLayout" name="gridLayout_3">
         <property name="bottomMargin">
          <number>0</number>
         </property>
         <item row="0" column="0">
          <widget class="QLabel" name="langLabel">
           <property name="minimumSize">
            <size>
             <width>250</width>
             <height>0</height>
            </size>
           </property>
           <property name="text">
            <string>Preferred audio language:</string>
           </property>
467 468 469
           <property name="buddy">
            <cstring>preferredAudioLanguage</cstring>
           </property>
470 471 472 473 474 475 476 477 478 479
          </widget>
         </item>
         <item row="0" column="1">
          <widget class="QLineEdit" name="preferredAudioLanguage"/>
         </item>
         <item row="2" column="0" colspan="2">
          <widget class="QWidget" name="lastfm_zone" native="true">
           <property name="enabled">
            <bool>true</bool>
           </property>
480
           <layout class="QGridLayout" name="gridLayout_1">
481 482 483 484 485 486 487 488 489 490
            <property name="leftMargin">
             <number>0</number>
            </property>
            <property name="topMargin">
             <number>0</number>
            </property>
            <property name="rightMargin">
             <number>0</number>
            </property>
            <property name="bottomMargin">
491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529
             <number>0</number>
            </property>
            <item row="0" column="1">
             <widget class="QLineEdit" name="lastfm_user_edit">
              <property name="sizePolicy">
               <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
                <horstretch>0</horstretch>
                <verstretch>0</verstretch>
               </sizepolicy>
              </property>
             </widget>
            </item>
            <item row="1" column="1">
             <widget class="QLineEdit" name="lastfm_pass_edit">
              <property name="sizePolicy">
               <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
                <horstretch>0</horstretch>
                <verstretch>0</verstretch>
               </sizepolicy>
              </property>
              <property name="echoMode">
               <enum>QLineEdit::Password</enum>
              </property>
             </widget>
            </item>
            <item row="1" column="0">
             <widget class="QLabel" name="lastfm_pass_label">
              <property name="maximumSize">
               <size>
                <width>250</width>
                <height>16777215</height>
               </size>
              </property>
              <property name="text">
               <string>Password:</string>
              </property>
              <property name="alignment">
               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
              </property>
530 531 532
              <property name="buddy">
               <cstring>lastfm_pass_edit</cstring>
              </property>
533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548
             </widget>
            </item>
            <item row="0" column="0">
             <widget class="QLabel" name="lastfm_user_label">
              <property name="maximumSize">
               <size>
                <width>250</width>
                <height>16777215</height>
               </size>
              </property>
              <property name="text">
               <string>Username:</string>
              </property>
              <property name="alignment">
               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
              </property>
549 550 551
              <property name="buddy">
               <cstring>lastfm_user_edit</cstring>
              </property>
552 553 554 555 556 557 558 559 560 561 562 563 564
             </widget>
            </item>
           </layout>
          </widget>
         </item>
         <item row="1" column="0" colspan="2">
          <widget class="QCheckBox" name="lastfm">
           <property name="text">
            <string>Submit played tracks stats to Last.fm</string>
           </property>
          </widget>
         </item>
        </layout>
565 566 567 568 569
       </widget>
      </item>
     </layout>
    </widget>
   </item>
570 571 572 573 574 575 576 577 578 579 580 581 582
   <item>
    <spacer name="verticalSpacer">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>20</width>
       <height>40</height>
      </size>
     </property>
    </spacer>
   </item>
583 584
  </layout>
 </widget>
585 586
 <tabstops>
  <tabstop>enableAudio</tabstop>
587
  <tabstop>resetVolumeCheckbox</tabstop>
588 589
  <tabstop>defaultVolume</tabstop>
  <tabstop>volumeValue</tabstop>
590
  <tabstop>outputModule</tabstop>
591
  <tabstop>fileName</tabstop>
592
  <tabstop>fileBrowseButton</tabstop>
593
  <tabstop>spdifBox</tabstop>
594 595 596 597 598 599 600 601 602 603 604
  <tabstop>autoscaleBox</tabstop>
  <tabstop>volNormBox</tabstop>
  <tabstop>volNormSpin</tabstop>
  <tabstop>replayCombo</tabstop>
  <tabstop>detectionDolby</tabstop>
  <tabstop>headphoneEffect</tabstop>
  <tabstop>visualisation</tabstop>
  <tabstop>preferredAudioLanguage</tabstop>
  <tabstop>lastfm</tabstop>
  <tabstop>lastfm_user_edit</tabstop>
  <tabstop>lastfm_pass_edit</tabstop>
605
 </tabstops>
606
 <resources/>
607
 <connections/>
608
</ui>