]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/ui/sprefs_audio.ui
Qt4 - Rename add() function to a more instructive name.
[vlc] / modules / gui / qt4 / ui / sprefs_audio.ui
index d4951db571f95cc56b71d4b17689e285f5e8a151..f77ec74b40cff6009cc3e37382c5430743728b5a 100644 (file)
@@ -1,31 +1,39 @@
 <ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
+ <author>Jean-Baptiste Kempf</author>
  <class>SPrefsAudio</class>
  <widget class="QWidget" name="SPrefsAudio" >
   <property name="geometry" >
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>400</width>
-    <height>408</height>
+    <width>461</width>
+    <height>554</height>
    </rect>
   </property>
   <property name="windowTitle" >
    <string>Form</string>
   </property>
-  <layout class="QGridLayout" >
+  <layout class="QVBoxLayout" >
    <property name="margin" >
     <number>9</number>
    </property>
    <property name="spacing" >
-    <number>6</number>
+    <number>10</number>
    </property>
-   <item row="9" column="0" colspan="2" >
-    <widget class="QGroupBox" name="groupBox" >
+   <item>
+    <widget class="QCheckBox" name="enableAudio" >
+     <property name="text" >
+      <string>_("Enable audio")</string>
+     </property>
+     <property name="checked" >
+      <bool>true</bool>
+     </property>
+    </widget>
+   </item>
+   <item>
+    <widget class="QGroupBox" name="groupBox_3" >
      <property name="title" >
-      <string>Filters</string>
+      <string>_("General Audio")</string>
      </property>
      <layout class="QGridLayout" >
       <property name="margin" >
       <property name="spacing" >
        <number>6</number>
       </property>
+      <item row="2" column="0" >
+       <widget class="QLabel" name="label_8" >
+        <property name="text" >
+         <string>_("Force detection of Dolby Surround")</string>
+        </property>
+       </widget>
+      </item>
+      <item row="2" column="1" >
+       <widget class="QComboBox" name="detectionDolby" >
+        <property name="sizePolicy" >
+         <sizepolicy>
+          <hsizetype>3</hsizetype>
+          <vsizetype>0</vsizetype>
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="maximumSize" >
+         <size>
+          <width>300</width>
+          <height>16777215</height>
+         </size>
+        </property>
+        <property name="currentIndex" >
+         <number>-1</number>
+        </property>
+       </widget>
+      </item>
       <item row="1" column="0" colspan="2" >
-       <widget class="QCheckBox" name="headphoneEffect" >
+       <widget class="QCheckBox" name="spdifBox" >
         <property name="text" >
-         <string>Headphone effect</string>
+         <string>_("Use S/PDIF when available")</string>
         </property>
        </widget>
       </item>
-      <item row="0" column="2" >
-       <widget class="QComboBox" name="equalizerPreset" />
+      <item row="3" column="0" >
+       <widget class="QLabel" name="label" >
+        <property name="text" >
+         <string>_("Preferred audio language")</string>
+        </property>
+       </widget>
       </item>
       <item row="0" column="1" >
-       <widget class="QLabel" name="label_6" >
-        <property name="layoutDirection" >
-         <enum>Qt::RightToLeft</enum>
+       <widget class="QSlider" name="defaultVolume" >
+        <property name="sizePolicy" >
+         <sizepolicy>
+          <hsizetype>1</hsizetype>
+          <vsizetype>0</vsizetype>
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
         </property>
-        <property name="text" >
-         <string>Preset</string>
+        <property name="maximumSize" >
+         <size>
+          <width>200</width>
+          <height>16777215</height>
+         </size>
+        </property>
+        <property name="orientation" >
+         <enum>Qt::Horizontal</enum>
         </property>
        </widget>
       </item>
       <item row="0" column="0" >
-       <widget class="QCheckBox" name="equalizer" >
+       <widget class="QLabel" name="label_2" >
         <property name="text" >
-         <string>Equalizer</string>
+         <string>_("Default volume")</string>
         </property>
        </widget>
       </item>
-      <item row="2" column="0" colspan="2" >
-       <widget class="QCheckBox" name="volumeNormalizer" >
+      <item row="3" column="1" >
+       <widget class="QLineEdit" name="preferredAudioLanguage" />
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item>
+    <widget class="QGroupBox" name="groupBox_2" >
+     <property name="title" >
+      <string>Output</string>
+     </property>
+     <layout class="QGridLayout" >
+      <property name="margin" >
+       <number>9</number>
+      </property>
+      <property name="spacing" >
+       <number>6</number>
+      </property>
+      <item row="4" column="1" >
+       <widget class="QLineEdit" name="FileName" />
+      </item>
+      <item row="4" column="2" >
+       <widget class="QPushButton" name="fileBrowseButton" >
+        <property name="text" >
+         <string>_("Browse...")</string>
+        </property>
+       </widget>
+      </item>
+      <item row="4" column="0" >
+       <widget class="QLabel" name="label_7" >
         <property name="text" >
-         <string>Volume normalizer</string>
+         <string>_("File")</string>
         </property>
        </widget>
       </item>
-      <item row="3" column="0" colspan="2" >
-       <widget class="QCheckBox" name="parametricEqualizer" >
+      <item row="3" column="2" >
+       <widget class="QPushButton" name="OSSBrowse" >
         <property name="text" >
-         <string>Parametric equalizer</string>
+         <string>_("Browse...")</string>
+        </property>
+       </widget>
+      </item>
+      <item row="3" column="1" >
+       <widget class="QLineEdit" name="OSSDevice" />
+      </item>
+      <item row="3" column="0" >
+       <widget class="QLabel" name="OSSLabel" >
+        <property name="text" >
+         <string>_("OSS Device")</string>
+        </property>
+       </widget>
+      </item>
+      <item row="2" column="0" >
+       <widget class="QLabel" name="DirectXLabel" >
+        <property name="text" >
+         <string>_("DirectX Device")</string>
+        </property>
+       </widget>
+      </item>
+      <item row="2" column="1" colspan="2" >
+       <widget class="QComboBox" name="DirectXDevice" />
+      </item>
+      <item row="1" column="0" >
+       <widget class="QLabel" name="alsaLabel" >
+        <property name="text" >
+         <string>_("Alsa Device")</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="1" colspan="2" >
+       <widget class="QComboBox" name="alsaDevice" />
+      </item>
+      <item row="0" column="1" colspan="2" >
+       <widget class="QComboBox" name="outputModule" />
+      </item>
+      <item row="0" column="0" >
+       <widget class="QLabel" name="label_3" >
+        <property name="text" >
+         <string>_("Type")</string>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
    </item>
-   <item row="0" column="0" >
-    <widget class="QCheckBox" name="enableAudio" >
-     <property name="text" >
-      <string>Enable audio</string>
-     </property>
-     <property name="checked" >
-      <bool>true</bool>
-     </property>
-    </widget>
-   </item>
-   <item row="1" column="0" colspan="2" >
-    <widget class="Line" name="line" >
-     <property name="orientation" >
-      <enum>Qt::Horizontal</enum>
-     </property>
-    </widget>
-   </item>
-   <item row="2" column="0" >
-    <widget class="QLabel" name="label" >
-     <property name="text" >
-      <string>Preferred audio language</string>
-     </property>
-    </widget>
-   </item>
-   <item row="2" column="1" >
-    <widget class="QComboBox" name="preferredAudioLanguage" />
-   </item>
-   <item row="3" column="0" >
-    <widget class="QLabel" name="label_2" >
-     <property name="text" >
-      <string>Default volume</string>
-     </property>
-    </widget>
-   </item>
-   <item row="3" column="1" >
-    <widget class="QSlider" name="defaultVolume" >
-     <property name="orientation" >
-      <enum>Qt::Horizontal</enum>
-     </property>
-    </widget>
-   </item>
-   <item row="5" column="0" >
-    <widget class="QLabel" name="label_3" >
-     <property name="text" >
-      <string>Output module</string>
-     </property>
-    </widget>
-   </item>
-   <item row="5" column="1" >
-    <widget class="QComboBox" name="outputModule" />
-   </item>
-   <item row="6" column="0" >
-    <widget class="QLabel" name="label_4" >
-     <property name="text" >
-      <string>Output device</string>
-     </property>
-    </widget>
-   </item>
-   <item row="6" column="1" >
-    <widget class="QComboBox" name="outputDevice" />
-   </item>
-   <item row="4" column="0" colspan="2" >
-    <widget class="Line" name="line_2" >
-     <property name="orientation" >
-      <enum>Qt::Horizontal</enum>
-     </property>
-    </widget>
-   </item>
-   <item row="7" column="0" colspan="2" >
-    <widget class="Line" name="line_3" >
-     <property name="orientation" >
-      <enum>Qt::Horizontal</enum>
-     </property>
-    </widget>
-   </item>
-   <item row="8" column="1" >
-    <widget class="QComboBox" name="visualisation" />
-   </item>
-   <item row="8" column="0" >
-    <widget class="QLabel" name="label_5" >
-     <property name="text" >
-      <string>Visualisation</string>
+   <item>
+    <widget class="QGroupBox" name="groupBox" >
+     <property name="title" >
+      <string>_("Effects")</string>
      </property>
+     <layout class="QGridLayout" >
+      <property name="margin" >
+       <number>9</number>
+      </property>
+      <property name="spacing" >
+       <number>6</number>
+      </property>
+      <item row="2" column="1" >
+       <widget class="QComboBox" name="visualisation" />
+      </item>
+      <item row="0" column="0" >
+       <widget class="QCheckBox" name="headphoneEffect" >
+        <property name="text" >
+         <string>_("Headphone surround effect")</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="0" >
+       <widget class="QCheckBox" name="volumeNormalizer" >
+        <property name="text" >
+         <string>_("Volume normalizer")</string>
+        </property>
+       </widget>
+      </item>
+      <item row="2" column="0" >
+       <widget class="QLabel" name="label_5" >
+        <property name="text" >
+         <string>_("Visualisation")</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="1" >
+       <widget class="QDoubleSpinBox" name="volNormalizer" >
+        <property name="alignment" >
+         <set>Qt::AlignRight</set>
+        </property>
+       </widget>
+      </item>
+     </layout>
     </widget>
    </item>
   </layout>
  </widget>
- <pixmapfunction></pixmapfunction>
+ <tabstops>
+  <tabstop>enableAudio</tabstop>
+  <tabstop>defaultVolume</tabstop>
+  <tabstop>spdifBox</tabstop>
+  <tabstop>detectionDolby</tabstop>
+  <tabstop>preferredAudioLanguage</tabstop>
+  <tabstop>outputModule</tabstop>
+  <tabstop>alsaDevice</tabstop>
+  <tabstop>DirectXDevice</tabstop>
+  <tabstop>OSSDevice</tabstop>
+  <tabstop>OSSBrowse</tabstop>
+  <tabstop>FileName</tabstop>
+  <tabstop>fileBrowseButton</tabstop>
+  <tabstop>headphoneEffect</tabstop>
+  <tabstop>volumeNormalizer</tabstop>
+  <tabstop>volNormalizer</tabstop>
+  <tabstop>visualisation</tabstop>
+ </tabstops>
  <resources/>
  <connections/>
 </ui>