Commit 7641dadb authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: tweak open dialog for translation

Close #6447
parent 97dca37b
...@@ -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,7 +81,9 @@ ...@@ -46,7 +81,9 @@
<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">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="cacheLabel"> <widget class="QLabel" name="cacheLabel">
<property name="text"> <property name="text">
<string>Caching</string> <string>Caching</string>
...@@ -56,7 +93,23 @@ ...@@ -56,7 +93,23 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="2"> <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"> <widget class="QSpinBox" name="cacheSpinBox">
<property name="toolTip"> <property name="toolTip">
<string>Change the caching for the media</string> <string>Change the caching for the media</string>
...@@ -75,106 +128,110 @@ ...@@ -75,106 +128,110 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="3"> <item>
<spacer> <spacer name="horizontalSpacer">
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>16</width> <width>40</width>
<height>24</height> <height>20</height>
</size> </size>
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="0" column="4"> </layout>
<widget class="QLabel" name="label_3"> </item>
<item row="7" column="0">
<widget class="QLabel" name="advancedLabel">
<property name="text"> <property name="text">
<string>Start Time</string> <string>MRL</string>
</property> </property>
<property name="buddy"> <property name="buddy">
<cstring>startTimeTimeEdit</cstring> <cstring>mrlLine</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="2" colspan="6"> <item row="0" column="3">
<widget class="Line" name="line"/> <widget class="QLabel" name="label_3">
</item>
<item row="2" column="0" colspan="8">
<widget class="QCheckBox" name="slaveCheckbox">
<property name="text"> <property name="text">
<string>Play another media synchronously (extra audio file, ...)</string> <string>Start Time</string>
</property> </property>
</widget> <property name="alignment">
</item> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<item row="3" column="0">
<widget class="QLabel" name="slaveLabel">
<property name="text">
<string>Extra media</string>
</property> </property>
<property name="buddy"> <property name="buddy">
<cstring>slaveText</cstring> <cstring>startTimeTimeEdit</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="3" column="2" colspan="4"> <item row="8" column="0">
<widget class="QLineEdit" name="slaveText"/> <widget class="QLabel" name="label">
</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"> <property name="text">
<string>Browse...</string> <string>Edit Options</string>
</property>
<property name="buddy">
<cstring>advancedLineInput</cstring>
</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,21 +241,15 @@ ...@@ -184,21 +241,15 @@
</property> </property>
</widget> </widget>
</item> </item>
</layout> <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> </widget>
</item> </item>
<item row="3" column="0"> </layout>
<spacer> </widget>
<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>
<item row="3" column="2"> <item row="3" column="2">
<widget class="QDialogButtonBox" name="buttonsBox"> <widget class="QDialogButtonBox" name="buttonsBox">
...@@ -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