sprefs_audio.ui
上传用户:kjfoods
上传日期:2020-07-06
资源大小:29949k
文件大小:12k
源码类别:

midi

开发平台:

Unix_Linux

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