Commit 8b76aa13 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: tweak open dialog for translation

Close #6447
(cherry picked from commit 7641dadb21bf0e60ea99c092caa1dcf3fca257c6)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 223f96c7
...@@ -33,6 +33,41 @@ ...@@ -33,6 +33,41 @@
<item row="0" column="0" colspan="3"> <item row="0" column="0" colspan="3">
<widget class="QTabWidget" name="Tab"/> <widget class="QTabWidget" name="Tab"/>
</item> </item>
<item row="3" column="1">
<widget class="QToolButton" name="playButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>70</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Play</string>
</property>
<property name="popupMode">
<enum>QToolButton::MenuButtonPopup</enum>
</property>
</widget>
</item>
<item row="3" column="0">
<spacer>
<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="1" column="0" colspan="3"> <item row="1" column="0" colspan="3">
<widget class="QCheckBox" name="advancedCheckBox"> <widget class="QCheckBox" name="advancedCheckBox">
<property name="toolTip"> <property name="toolTip">
...@@ -46,135 +81,157 @@ ...@@ -46,135 +81,157 @@
<item row="2" column="0" colspan="3"> <item row="2" column="0" colspan="3">
<widget class="QGroupBox" name="advancedFrame"> <widget class="QGroupBox" name="advancedFrame">
<layout class="QGridLayout" name="gridLayout_2"> <layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0"> <item row="0" column="0" colspan="3">
<widget class="QLabel" name="cacheLabel"> <layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="cacheLabel">
<property name="text">
<string>Caching</string>
</property>
<property name="buddy">
<cstring>cacheSpinBox</cstring>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>30</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QSpinBox" name="cacheSpinBox">
<property name="toolTip">
<string>Change the caching for the media</string>
</property>
<property name="alignment">
<set>Qt::AlignRight</set>
</property>
<property name="suffix">
<string> ms</string>
</property>
<property name="maximum">
<number>65535</number>
</property>
<property name="singleStep">
<number>100</number>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="7" column="0">
<widget class="QLabel" name="advancedLabel">
<property name="text"> <property name="text">
<string>Caching</string> <string>MRL</string>
</property> </property>
<property name="buddy"> <property name="buddy">
<cstring>cacheSpinBox</cstring> <cstring>mrlLine</cstring>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QSpinBox" name="cacheSpinBox">
<property name="toolTip">
<string>Change the caching for the media</string>
</property>
<property name="alignment">
<set>Qt::AlignRight</set>
</property>
<property name="suffix">
<string> ms</string>
</property>
<property name="maximum">
<number>65535</number>
</property>
<property name="singleStep">
<number>100</number>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="3"> <item row="0" column="3">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>16</width>
<height>24</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="4">
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3">
<property name="text"> <property name="text">
<string>Start Time</string> <string>Start Time</string>
</property> </property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy"> <property name="buddy">
<cstring>startTimeTimeEdit</cstring> <cstring>startTimeTimeEdit</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="2" colspan="6"> <item row="8" column="0">
<widget class="Line" name="line"/> <widget class="QLabel" name="label">
</item>
<item row="2" column="0" colspan="8">
<widget class="QCheckBox" name="slaveCheckbox">
<property name="text">
<string>Play another media synchronously (extra audio file, ...)</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="slaveLabel">
<property name="text"> <property name="text">
<string>Extra media</string> <string>Edit Options</string>
</property> </property>
<property name="buddy"> <property name="buddy">
<cstring>slaveText</cstring> <cstring>advancedLineInput</cstring>
</property>
</widget>
</item>
<item row="3" column="2" colspan="4">
<widget class="QLineEdit" name="slaveText"/>
</item>
<item row="3" column="6" colspan="2">
<widget class="QPushButton" name="slaveBrowseButton">
<property name="toolTip">
<string>Select the file</string>
</property>
<property name="text">
<string>Browse...</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="2" colspan="6">
<widget class="Line" name="line"/>
</item>
<item row="5" column="0"> <item row="5" column="0">
<widget class="QLabel" name="advancedLabel"> <widget class="QLabel" name="slaveLabel">
<property name="text"> <property name="text">
<string>MRL</string> <string>Extra media</string>
</property> </property>
<property name="buddy"> <property name="buddy">
<cstring>advancedLineInput</cstring> <cstring>slaveText</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="5" column="2" colspan="6"> <item row="7" column="1" colspan="5">
<widget class="QLineEdit" name="mrlLine"> <widget class="QLineEdit" name="mrlLine">
<property name="readOnly"> <property name="readOnly">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item row="6" column="2" colspan="6"> <item row="8" column="1" colspan="5">
<widget class="QLineEdit" name="advancedLineInput"> <widget class="QLineEdit" name="advancedLineInput">
<property name="toolTip"> <property name="toolTip">
<string>Complete MRL for VLC internal</string> <string>Complete MRL for VLC internal</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="6" column="0"> <item row="5" column="1" colspan="4">
<widget class="QLabel" name="label"> <widget class="QLineEdit" name="slaveText"/>
</item>
<item row="5" column="5">
<widget class="QPushButton" name="slaveBrowseButton">
<property name="toolTip">
<string>Select the file</string>
</property>
<property name="text"> <property name="text">
<string>Edit Options</string> <string>Browse...</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="5" colspan="3"> <item row="6" column="1" colspan="5">
<widget class="Line" name="line"/>
</item>
<item row="3" column="1" colspan="5">
<widget class="Line" name="line"/>
</item>
<item row="0" column="4" colspan="2">
<widget class="QTimeEdit" name="startTimeTimeEdit"> <widget class="QTimeEdit" name="startTimeTimeEdit">
<property name="toolTip"> <property name="toolTip">
<string>Change the start time for the media</string> <string>Change the start time for the media</string>
</property> </property>
<property name="alignment"> <property name="alignment">
<set>Qt::AlignRight</set> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property> </property>
<property name="currentSection"> <property name="currentSection">
<enum>QDateTimeEdit::SecondSection</enum> <enum>QDateTimeEdit::HourSection</enum>
</property> </property>
<property name="displayFormat"> <property name="displayFormat">
<string>HH'H':mm'm':ss's'.zzz</string> <string>HH'H':mm'm':ss's'.zzz</string>
...@@ -184,22 +241,16 @@ ...@@ -184,22 +241,16 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="0" colspan="6">
<widget class="QCheckBox" name="slaveCheckbox">
<property name="text">
<string>Play another media synchronously (extra audio file, ...)</string>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="3" column="0">
<spacer>
<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="3" column="2"> <item row="3" column="2">
<widget class="QDialogButtonBox" name="buttonsBox"> <widget class="QDialogButtonBox" name="buttonsBox">
<property name="sizePolicy"> <property name="sizePolicy">
...@@ -213,28 +264,6 @@ ...@@ -213,28 +264,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="1">
<widget class="QToolButton" name="playButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>70</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Play</string>
</property>
<property name="popupMode">
<enum>QToolButton::MenuButtonPopup</enum>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
<tabstops> <tabstops>
...@@ -245,6 +274,8 @@ ...@@ -245,6 +274,8 @@
<tabstop>slaveCheckbox</tabstop> <tabstop>slaveCheckbox</tabstop>
<tabstop>slaveText</tabstop> <tabstop>slaveText</tabstop>
<tabstop>slaveBrowseButton</tabstop> <tabstop>slaveBrowseButton</tabstop>
<tabstop>mrlLine</tabstop>
<tabstop>advancedLineInput</tabstop>
<tabstop>playButton</tabstop> <tabstop>playButton</tabstop>
<tabstop>buttonsBox</tabstop> <tabstop>buttonsBox</tabstop>
</tabstops> </tabstops>
...@@ -257,12 +288,12 @@ ...@@ -257,12 +288,12 @@
<slot>setVisible(bool)</slot> <slot>setVisible(bool)</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>54</x> <x>74</x>
<y>384</y> <y>240</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>63</x> <x>83</x>
<y>410</y> <y>271</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
...@@ -273,12 +304,12 @@ ...@@ -273,12 +304,12 @@
<slot>setVisible(bool)</slot> <slot>setVisible(bool)</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>127</x> <x>147</x>
<y>387</y> <y>240</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>136</x> <x>243</x>
<y>406</y> <y>270</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
...@@ -289,12 +320,12 @@ ...@@ -289,12 +320,12 @@
<slot>setVisible(bool)</slot> <slot>setVisible(bool)</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>219</x> <x>239</x>
<y>102</y> <y>240</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>386</x> <x>535</x>
<y>131</y> <y>271</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment