<ui version="4.0" >
+ <author>Jean-Baptiste Kempf</author>
<class>SPrefsAudio</class>
<widget class="QWidget" name="SPrefsAudio" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
- <width>475</width>
- <height>597</height>
+ <width>541</width>
+ <height>607</height>
</rect>
</property>
<property name="windowTitle" >
<string>Form</string>
</property>
<layout class="QVBoxLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</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>
- </property>
- <widget class="QSlider" name="defaultVolume" >
- <property name="geometry" >
- <rect>
- <x>250</x>
- <y>60</y>
- <width>200</width>
- <height>16</height>
- </rect>
- </property>
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="maximumSize" >
- <size>
- <width>200</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- <widget class="QLabel" name="label_2" >
- <property name="geometry" >
- <rect>
- <x>10</x>
- <y>50</y>
- <width>249</width>
- <height>17</height>
- </rect>
- </property>
- <property name="text" >
- <string>Default volume</string>
- </property>
- </widget>
- <widget class="QCheckBox" name="checkBox" >
- <property name="geometry" >
- <rect>
- <x>10</x>
- <y>90</y>
- <width>231</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text" >
- <string>Use S/PDIF when available</string>
- </property>
- </widget>
- <widget class="QComboBox" name="preferredAudioLanguage" >
- <property name="geometry" >
- <rect>
- <x>250</x>
- <y>20</y>
- <width>200</width>
- <height>26</height>
- </rect>
- </property>
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="maximumSize" >
- <size>
- <width>300</width>
- <height>16777215</height>
- </size>
- </property>
- </widget>
- <widget class="QLabel" name="label_8" >
- <property name="geometry" >
- <rect>
- <x>10</x>
- <y>120</y>
- <width>249</width>
- <height>26</height>
- </rect>
- </property>
- <property name="text" >
- <string>Force detection of Dolby Surround</string>
- </property>
- </widget>
- <widget class="QComboBox" name="preferredAudioLanguage_2" >
- <property name="geometry" >
- <rect>
- <x>250</x>
- <y>120</y>
- <width>200</width>
- <height>26</height>
- </rect>
- </property>
- <property name="sizePolicy" >
- <sizepolicy>
- <hsizetype>1</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>
- <widget class="QLabel" name="label" >
- <property name="geometry" >
- <rect>
- <x>10</x>
- <y>20</y>
- <width>249</width>
- <height>26</height>
- </rect>
- </property>
- <property name="text" >
- <string>Preferred audio language</string>
- </property>
- </widget>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_2" >
- <property name="title" >
- <string>Output</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="3" column="2" >
- <widget class="QPushButton" name="fileBrowseButton" >
+ <item row="0" column="0" colspan="3" >
+ <widget class="QLabel" name="label_2" >
<property name="text" >
- <string>Browse</string>
+ <string>_("Default volume")</string>
</property>
</widget>
</item>
- <item row="4" column="2" >
- <widget class="QPushButton" name="fileBrowseButton_2" >
- <property name="text" >
- <string>Browse</string>
+ <item row="0" column="3" >
+ <widget class="QSlider" name="defaultVolume" >
+ <property name="sizePolicy" >
+ <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>200</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <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="4" column="1" >
- <widget class="QLineEdit" name="lineEdit" />
- </item>
- <item row="3" column="1" >
- <widget class="QLineEdit" name="lineEdit_2" />
- </item>
- <item row="2" column="1" colspan="2" >
- <widget class="QComboBox" name="alsaDevice_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="1" colspan="2" >
- <widget class="QComboBox" name="alsaDevice" />
+ <item row="1" column="0" >
+ <widget class="QCheckBox" name="spdifBox" >
+ <property name="text" >
+ <string>_("Use S/PDIF when available")</string>
+ </property>
+ </widget>
</item>
- <item row="0" column="1" colspan="2" >
- <widget class="QComboBox" name="outputModule" />
+ <item row="1" column="2" colspan="3" >
+ <widget class="QCheckBox" name="saveVolBox" >
+ <property name="text" >
+ <string>_("Save volume on exit")</string>
+ </property>
+ </widget>
</item>
<item row="2" column="0" >
- <widget class="QLabel" name="label_6" >
+ <widget class="QLabel" name="label_8" >
<property name="text" >
- <string>DirectX Device</string>
+ <string>_("Force detection of Dolby Surround")</string>
+ </property>
+ <property name="buddy" >
+ <cstring>detectionDolby</cstring>
</property>
</widget>
</item>
- <item row="1" column="0" >
- <widget class="QLabel" name="label_4" >
+ <item row="2" column="2" colspan="3" >
+ <widget class="QComboBox" name="detectionDolby" >
+ <property name="sizePolicy" >
+ <sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
+ <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="3" column="0" >
+ <widget class="QLabel" name="label" >
<property name="text" >
- <string>Alsa Device</string>
+ <string>_("Preferred audio language")</string>
+ </property>
+ <property name="buddy" >
+ <cstring>preferredAudioLanguage</cstring>
</property>
</widget>
</item>
+ <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="outputAudioBox" >
+ <property name="title" >
+ <string>Output</string>
+ </property>
+ <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>Type</string>
+ <string>_("Type")</string>
+ </property>
+ <property name="buddy" >
+ <cstring>outputModule</cstring>
</property>
</widget>
</item>
- <item row="3" column="0" >
- <widget class="QLabel" name="label_9" >
- <property name="text" >
- <string>OSS Device</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="4" column="0" >
- <widget class="QLabel" name="label_7" >
- <property name="text" >
- <string>File</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>
</layout>
<item>
<widget class="QGroupBox" name="groupBox" >
<property name="title" >
- <string>Effects</string>
+ <string>_("Effects")</string>
</property>
<layout class="QGridLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="1" column="1" >
- <widget class="QSlider" name="horizontalSlider" >
- <property name="toolTip" >
- <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
-p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Maximum volume when using the volume normalizer</p></body></html></string>
- </property>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
<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>
+ <string>_("Headphone surround effect")</string>
</property>
</widget>
</item>
<item row="1" column="0" >
- <widget class="QCheckBox" name="volumeNormalizer" >
+ <widget class="QCheckBox" name="volNormBox" >
<property name="text" >
- <string>Volume normalizer</string>
+ <string>_("Volume normalizer")</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_5" >
<property name="text" >
- <string>Visualisation</string>
+ <string>_("Visualization")</string>
+ </property>
+ <property name="buddy" >
+ <cstring>visualisation</cstring>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1" >
+ <widget class="QDoubleSpinBox" name="volNormSpin" >
+ <property name="alignment" >
+ <set>Qt::AlignRight</set>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="QGroupBox" name="lastFMBox" >
+ <property name="title" >
+ <string>_("last.fm")</string>
+ </property>
+ <layout class="QGridLayout" >
+ <item row="0" column="0" colspan="2" >
+ <widget class="QCheckBox" name="lastfm" >
+ <property name="text" >
+ <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="QLabel" name="lastfm_user_label" >
+ <property name="text" >
+ <string>_("Username")</string>
+ </property>
+ <property name="buddy" >
+ <cstring>lastfm_user_edit</cstring>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0" >
+ <widget class="QLabel" name="lastfm_pass_label" >
+ <property name="text" >
+ <string>_("Password")</string>
+ </property>
+ <property name="buddy" >
+ <cstring>lastfm_pass_edit</cstring>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1" colspan="2" >
+ <widget class="QLineEdit" name="lastfm_pass_edit" >
+ <property name="echoMode" >
+ <enum>QLineEdit::PasswordEchoOnEdit</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>