]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/ui/sprefs_audio.ui
Revert "Try to not confuse between Dolby Surround (2.1) and Dolby Digital (5.1)"
[vlc] / modules / gui / qt4 / ui / sprefs_audio.ui
index d6284205710dec0982cc36866a23e6a965ad40ba..6d2a4c65b69522017799ac3fa9c1ee27ef9366ff 100644 (file)
@@ -6,24 +6,18 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>461</width>
-    <height>554</height>
+    <width>541</width>
+    <height>609</height>
    </rect>
   </property>
   <property name="windowTitle" >
    <string>Form</string>
   </property>
   <layout class="QVBoxLayout" >
-   <property name="margin" >
-    <number>9</number>
-   </property>
-   <property name="spacing" >
-    <number>10</number>
-   </property>
    <item>
     <widget class="QCheckBox" name="enableAudio" >
      <property name="text" >
-      <string>Enable audio</string>
+      <string>_("Enable audio")</string>
      </property>
      <property name="checked" >
       <bool>true</bool>
     </widget>
    </item>
    <item>
-    <widget class="QGroupBox" name="groupBox_3" >
+    <widget class="QGroupBox" name="audioBox" >
      <property name="title" >
-      <string>General Audio</string>
+      <string>_("General Audio")</string>
      </property>
      <layout class="QGridLayout" >
-      <property name="margin" >
-       <number>9</number>
-      </property>
-      <property name="spacing" >
-       <number>6</number>
-      </property>
-      <item row="2" column="0" >
-       <widget class="QLabel" name="label_8" >
+      <item row="0" column="0" colspan="2" >
+       <widget class="QLabel" name="label_2" >
         <property name="text" >
-         <string>Force detection of Dolby Surround</string>
+         <string>_("Default volume")</string>
         </property>
        </widget>
       </item>
-      <item row="2" column="1" >
-       <widget class="QComboBox" name="detectionDolby" >
+      <item row="0" column="2" colspan="2" >
+       <widget class="QSlider" name="defaultVolume" >
         <property name="sizePolicy" >
-         <sizepolicy>
-          <hsizetype>3</hsizetype>
-          <vsizetype>0</vsizetype>
+         <sizepolicy vsizetype="Minimum" hsizetype="Fixed" >
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
+        <property name="minimumSize" >
+         <size>
+          <width>140</width>
+          <height>0</height>
+         </size>
+        </property>
         <property name="maximumSize" >
          <size>
-          <width>300</width>
+          <width>200</width>
           <height>16777215</height>
          </size>
         </property>
-        <property name="currentIndex" >
-         <number>-1</number>
+        <property name="layoutDirection" >
+         <enum>Qt::LeftToRight</enum>
+        </property>
+        <property name="maximum" >
+         <number>400</number>
+        </property>
+        <property name="value" >
+         <number>100</number>
+        </property>
+        <property name="orientation" >
+         <enum>Qt::Horizontal</enum>
         </property>
        </widget>
       </item>
-      <item row="1" column="0" colspan="2" >
+      <item row="0" column="4" >
+       <widget class="QSpinBox" name="volumeValue" >
+        <property name="toolTip" >
+         <string>_("256 corresponds to 100%, 1024 to 400%")</string>
+        </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>
+        <property name="value" >
+         <number>100</number>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="0" >
        <widget class="QCheckBox" name="spdifBox" >
         <property name="text" >
-         <string>Use S/PDIF when available</string>
+         <string>_("Use S/PDIF when available")</string>
         </property>
        </widget>
       </item>
-      <item row="3" column="0" >
-       <widget class="QLabel" name="label" >
+      <item row="1" column="2" colspan="3" >
+       <widget class="QCheckBox" name="saveVolBox" >
         <property name="text" >
-         <string>Preferred audio language</string>
+         <string>_("Save volume on exit")</string>
         </property>
        </widget>
       </item>
-      <item row="0" column="1" >
-       <widget class="QSlider" name="defaultVolume" >
+      <item row="2" column="0" >
+       <widget class="QLabel" name="label_8" >
+        <property name="text" >
+         <string>_("Force detection of Dolby Surround")</string>
+        </property>
+        <property name="buddy" >
+         <cstring>detectionDolby</cstring>
+        </property>
+       </widget>
+      </item>
+      <item row="2" column="2" colspan="3" >
+       <widget class="QComboBox" name="detectionDolby" >
         <property name="sizePolicy" >
-         <sizepolicy>
-          <hsizetype>1</hsizetype>
-          <vsizetype>0</vsizetype>
+         <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="maximumSize" >
          <size>
-          <width>200</width>
+          <width>300</width>
           <height>16777215</height>
          </size>
         </property>
-        <property name="orientation" >
-         <enum>Qt::Horizontal</enum>
+        <property name="currentIndex" >
+         <number>-1</number>
         </property>
        </widget>
       </item>
-      <item row="0" column="0" >
-       <widget class="QLabel" name="label_2" >
+      <item row="3" column="0" >
+       <widget class="QLabel" name="label" >
         <property name="text" >
-         <string>Default volume</string>
+         <string>_("Preferred audio language")</string>
+        </property>
+        <property name="buddy" >
+         <cstring>preferredAudioLanguage</cstring>
         </property>
        </widget>
       </item>
-      <item row="3" column="1" >
+      <item row="3" column="2" colspan="3" >
        <widget class="QLineEdit" name="preferredAudioLanguage" />
       </item>
+      <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>
      </layout>
     </widget>
    </item>
    <item>
-    <widget class="QGroupBox" name="groupBox_2" >
+    <widget class="QGroupBox" name="outputAudioBox" >
      <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" >
+     <layout class="QGridLayout" name="outputAudioLayout" >
+      <item row="0" column="0" >
+       <widget class="QLabel" name="label_3" >
+        <property name="minimumSize" >
+         <size>
+          <width>100</width>
+          <height>0</height>
+         </size>
+        </property>
         <property name="text" >
-         <string>Browse...</string>
+         <string>_("Type")</string>
+        </property>
+        <property name="buddy" >
+         <cstring>outputModule</cstring>
         </property>
        </widget>
       </item>
-      <item row="4" column="0" >
-       <widget class="QLabel" name="label_7" >
-        <property name="text" >
-         <string>File</string>
+      <item row="0" column="1" >
+       <widget class="QComboBox" name="outputModule" >
+        <property name="enabled" >
+         <bool>true</bool>
+        </property>
+        <property name="sizePolicy" >
+         <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
         </property>
        </widget>
       </item>
-      <item row="3" column="2" >
-       <widget class="QPushButton" name="OSSBrowse" >
-        <property name="text" >
-         <string>Browse...</string>
-        </property>
+      <item row="1" column="0" colspan="2" >
+       <widget class="QWidget" native="1" name="fileControl" >
+        <layout class="QHBoxLayout" >
+         <property name="spacing" >
+          <number>0</number>
+         </property>
+         <property name="margin" >
+          <number>0</number>
+         </property>
+         <item>
+          <widget class="QLabel" name="fileLabel" >
+           <property name="minimumSize" >
+            <size>
+             <width>100</width>
+             <height>0</height>
+            </size>
+           </property>
+           <property name="text" >
+            <string>_("File")</string>
+           </property>
+           <property name="buddy" >
+            <cstring>fileName</cstring>
+           </property>
+          </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>
-      <item row="3" column="1" >
-       <widget class="QLineEdit" name="OSSDevice" />
+     </layout>
+    </widget>
+   </item>
+   <item>
+    <widget class="QGroupBox" name="groupBox" >
+     <property name="title" >
+      <string>_("Effects")</string>
+     </property>
+     <layout class="QGridLayout" >
+      <item row="2" column="1" >
+       <widget class="QComboBox" name="visualisation" />
       </item>
-      <item row="3" column="0" >
-       <widget class="QLabel" name="OSSLabel" >
+      <item row="0" column="0" >
+       <widget class="QCheckBox" name="headphoneEffect" >
         <property name="text" >
-         <string>OSS Device</string>
+         <string>_("Headphone surround effect")</string>
         </property>
        </widget>
       </item>
-      <item row="2" column="0" >
-       <widget class="QLabel" name="DirectXLabel" >
+      <item row="1" column="0" >
+       <widget class="QCheckBox" name="volNormBox" >
         <property name="text" >
-         <string>DirectX Device</string>
+         <string>_("Volume normalizer")</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" >
+      <item row="2" column="0" >
+       <widget class="QLabel" name="label_5" >
         <property name="text" >
-         <string>Alsa Device</string>
+         <string>_("Visualization")</string>
+        </property>
+        <property name="buddy" >
+         <cstring>visualisation</cstring>
         </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>
+      <item row="1" column="1" >
+       <widget class="QDoubleSpinBox" name="volNormSpin" >
+        <property name="alignment" >
+         <set>Qt::AlignRight</set>
         </property>
        </widget>
       </item>
     </widget>
    </item>
    <item>
-    <widget class="QGroupBox" name="groupBox" >
+    <widget class="QGroupBox" name="lastFMBox" >
      <property name="title" >
-      <string>Effects</string>
+      <string>_("last.fm")</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" >
+      <item row="0" column="0" colspan="2" >
+       <widget class="QCheckBox" name="lastfm" >
         <property name="text" >
-         <string>Headphone surround effect</string>
+         <string>_("Enable last.fm submission")</string>
         </property>
        </widget>
       </item>
+      <item row="1" column="1" colspan="2" >
+       <widget class="QLineEdit" name="lastfm_user_edit" />
+      </item>
       <item row="1" column="0" >
-       <widget class="QCheckBox" name="volumeNormalizer" >
+       <widget class="QLabel" name="lastfm_user_label" >
         <property name="text" >
-         <string>Volume normalizer</string>
+         <string>_("Username")</string>
+        </property>
+        <property name="buddy" >
+         <cstring>lastfm_user_edit</cstring>
         </property>
        </widget>
       </item>
       <item row="2" column="0" >
-       <widget class="QLabel" name="label_5" >
+       <widget class="QLabel" name="lastfm_pass_label" >
         <property name="text" >
-         <string>Visualisation</string>
+         <string>_("Password")</string>
+        </property>
+        <property name="buddy" >
+         <cstring>lastfm_pass_edit</cstring>
         </property>
        </widget>
       </item>
-      <item row="1" column="1" >
-       <widget class="QDoubleSpinBox" name="volNormalizer" >
-        <property name="alignment" >
-         <set>Qt::AlignRight</set>
+      <item row="2" column="1" colspan="2" >
+       <widget class="QLineEdit" name="lastfm_pass_edit" >
+        <property name="echoMode" >
+         <enum>QLineEdit::Password</enum>
         </property>
        </widget>
       </item>
    </item>
   </layout>
  </widget>
+ <tabstops>
+  <tabstop>enableAudio</tabstop>
+  <tabstop>defaultVolume</tabstop>
+  <tabstop>volumeValue</tabstop>
+  <tabstop>spdifBox</tabstop>
+  <tabstop>saveVolBox</tabstop>
+  <tabstop>detectionDolby</tabstop>
+  <tabstop>preferredAudioLanguage</tabstop>
+  <tabstop>outputModule</tabstop>
+  <tabstop>fileName</tabstop>
+  <tabstop>fileBrowseButton</tabstop>
+  <tabstop>headphoneEffect</tabstop>
+  <tabstop>volNormBox</tabstop>
+  <tabstop>volNormSpin</tabstop>
+  <tabstop>visualisation</tabstop>
+  <tabstop>lastfm</tabstop>
+  <tabstop>lastfm_user_edit</tabstop>
+  <tabstop>lastfm_pass_edit</tabstop>
+ </tabstops>
  <resources/>
- <connections/>
+ <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>
 </ui>