]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/ui/open.ui
Qt4 - Sprefs: cosmetic and string change.
[vlc] / modules / gui / qt4 / ui / open.ui
index b3c6775e05596705ac4313efb7d912d1d1b18fe1..fa24a0e390215847d646f5bda9216d0fe589e58a 100644 (file)
@@ -9,10 +9,18 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>440</width>
-    <height>231</height>
+    <width>450</width>
+    <height>296</height>
    </rect>
   </property>
+  <property name="sizePolicy" >
+   <sizepolicy>
+    <hsizetype>5</hsizetype>
+    <vsizetype>1</vsizetype>
+    <horstretch>0</horstretch>
+    <verstretch>0</verstretch>
+   </sizepolicy>
+  </property>
   <property name="windowTitle" >
    <string>Dialog</string>
   </property>
    </property>
    <item>
     <widget class="QTabWidget" name="Tab" >
+     <property name="sizePolicy" >
+      <sizepolicy>
+       <hsizetype>5</hsizetype>
+       <vsizetype>0</vsizetype>
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
      <property name="currentIndex" >
       <number>-1</number>
      </property>
    </item>
    <item>
     <widget class="QCheckBox" name="advancedCheckBox" >
+     <property name="toolTip" >
+      <string>_("Show extended options")</string>
+     </property>
      <property name="text" >
-      <string>Show more options</string>
+      <string>_("Show &amp;more options")</string>
      </property>
     </widget>
    </item>
    <item>
     <widget class="QFrame" name="advancedFrame" >
+     <property name="sizePolicy" >
+      <sizepolicy>
+       <hsizetype>1</hsizetype>
+       <vsizetype>5</vsizetype>
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
      <property name="frameShape" >
       <enum>QFrame::StyledPanel</enum>
      </property>
-     <property name="frameShadow" >
-      <enum>QFrame::Raised</enum>
-     </property>
-     <layout class="QHBoxLayout" >
+     <layout class="QGridLayout" >
       <property name="margin" >
        <number>9</number>
       </property>
       <property name="spacing" >
        <number>6</number>
       </property>
-      <item>
-       <layout class="QGridLayout" >
-        <property name="margin" >
-         <number>0</number>
-        </property>
-        <property name="spacing" >
-         <number>6</number>
-        </property>
-        <item row="0" column="2" >
-         <widget class="QLabel" name="label" >
-          <property name="text" >
-           <string>ms</string>
-          </property>
-         </widget>
-        </item>
-        <item row="2" column="0" >
-         <widget class="QLabel" name="label_2" >
-          <property name="enabled" >
-           <bool>false</bool>
-          </property>
-          <property name="text" >
-           <string>Extra media</string>
-          </property>
-         </widget>
-        </item>
-        <item row="0" column="0" >
-         <widget class="QLabel" name="cacheLabel" >
-          <property name="sizePolicy" >
-           <sizepolicy>
-            <hsizetype>0</hsizetype>
-            <vsizetype>5</vsizetype>
-            <horstretch>0</horstretch>
-            <verstretch>0</verstretch>
-           </sizepolicy>
-          </property>
-          <property name="text" >
-           <string>Caching</string>
-          </property>
-         </widget>
-        </item>
-        <item row="0" column="1" >
-         <widget class="QSpinBox" name="cacheSpinBox" >
-          <property name="sizePolicy" >
-           <sizepolicy>
-            <hsizetype>0</hsizetype>
-            <vsizetype>0</vsizetype>
-            <horstretch>0</horstretch>
-            <verstretch>0</verstretch>
-           </sizepolicy>
-          </property>
-          <property name="maximum" >
-           <number>999999</number>
-          </property>
-         </widget>
-        </item>
-        <item row="3" column="0" >
-         <widget class="QLabel" name="advancedLabel" >
-          <property name="text" >
-           <string>Customize</string>
-          </property>
-         </widget>
-        </item>
-        <item row="3" column="1" colspan="2" >
-         <widget class="QLineEdit" name="advancedLineInput" />
-        </item>
-        <item row="2" column="1" colspan="2" >
-         <widget class="QLineEdit" name="slaveText" >
-          <property name="enabled" >
-           <bool>false</bool>
-          </property>
-         </widget>
-        </item>
-        <item row="1" column="0" colspan="3" >
-         <widget class="QCheckBox" name="slaveCheckbox" >
-          <property name="text" >
-           <string>Play another media synchronously (extra audio file, ...)</string>
-          </property>
-         </widget>
-        </item>
-       </layout>
+      <item row="0" column="2" >
+       <widget class="QLabel" name="label_3" >
+        <property name="text" >
+         <string>_("Start Time")</string>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="3" colspan="2" >
+       <widget class="QSpinBox" name="startTimeSpinBox" >
+        <property name="sizePolicy" >
+         <sizepolicy>
+          <hsizetype>0</hsizetype>
+          <vsizetype>0</vsizetype>
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="toolTip" >
+         <string>_("Change the start time for the media")</string>
+        </property>
+        <property name="alignment" >
+         <set>Qt::AlignRight</set>
+        </property>
+        <property name="suffix" >
+         <string> s</string>
+        </property>
+        <property name="maximum" >
+         <number>999999</number>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="0" >
+       <widget class="QLabel" name="cacheLabel" >
+        <property name="sizePolicy" >
+         <sizepolicy>
+          <hsizetype>0</hsizetype>
+          <vsizetype>5</vsizetype>
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="text" >
+         <string>_("Caching")</string>
+        </property>
+       </widget>
+      </item>
+      <item row="5" column="1" colspan="4" >
+       <widget class="QLineEdit" name="advancedLineInput" >
+        <property name="toolTip" >
+         <string>_("Complete MRL for VLC internal")</string>
+        </property>
+       </widget>
+      </item>
+      <item row="2" column="0" colspan="5" >
+       <widget class="QCheckBox" name="slaveCheckbox" >
+        <property name="text" >
+         <string>_("Play another media synchronously (extra audio file, ...)")</string>
+        </property>
+       </widget>
+      </item>
+      <item row="4" column="1" colspan="4" >
+       <widget class="Line" name="line" >
+        <property name="orientation" >
+         <enum>Qt::Horizontal</enum>
+        </property>
+       </widget>
+      </item>
+      <item row="5" column="0" >
+       <widget class="QLabel" name="advancedLabel" >
+        <property name="text" >
+         <string>_("Customize")</string>
+        </property>
+       </widget>
+      </item>
+      <item row="3" column="0" >
+       <widget class="QLabel" name="slaveLabel" >
+        <property name="text" >
+         <string>_("Extra media")</string>
+        </property>
+       </widget>
+      </item>
+      <item row="3" column="1" colspan="3" >
+       <widget class="QLineEdit" name="slaveText" />
+      </item>
+      <item row="3" column="4" >
+       <widget class="QToolButton" name="slaveBrowseButton" >
+        <property name="toolTip" >
+         <string>_("Select the file")</string>
+        </property>
+        <property name="text" >
+         <string>_("Browse...")</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="1" colspan="4" >
+       <widget class="Line" name="line" >
+        <property name="orientation" >
+         <enum>Qt::Horizontal</enum>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="1" >
+       <widget class="QSpinBox" name="cacheSpinBox" >
+        <property name="sizePolicy" >
+         <sizepolicy>
+          <hsizetype>0</hsizetype>
+          <vsizetype>0</vsizetype>
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <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>999999</number>
+        </property>
+       </widget>
       </item>
      </layout>
     </widget>
    </item>
+   <item>
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeType" >
+      <enum>QSizePolicy::MinimumExpanding</enum>
+     </property>
+     <property name="sizeHint" >
+      <size>
+       <width>20</width>
+       <height>1</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
    <item>
     <layout class="QHBoxLayout" >
      <property name="margin" >
        <property name="orientation" >
         <enum>Qt::Horizontal</enum>
        </property>
+       <property name="sizeType" >
+        <enum>QSizePolicy::Minimum</enum>
+       </property>
        <property name="sizeHint" >
         <size>
-         <width>241</width>
+         <width>240</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item>
-      <widget class="QPushButton" name="cancelButton" >
-       <property name="text" >
-        <string>Cancel</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QPushButton" name="enqueueButton" >
-       <property name="text" >
-        <string>Enqueue</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QPushButton" name="closeButton" >
-       <property name="text" >
-        <string>Play</string>
+      <widget class="QDialogButtonBox" name="buttonsBox" >
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
        </property>
-       <property name="default" >
-        <bool>true</bool>
+       <property name="standardButtons" >
+        <set>QDialogButtonBox::NoButton</set>
        </property>
       </widget>
      </item>
   </layout>
  </widget>
  <tabstops>
+  <tabstop>Tab</tabstop>
+  <tabstop>advancedCheckBox</tabstop>
   <tabstop>cacheSpinBox</tabstop>
+  <tabstop>startTimeSpinBox</tabstop>
+  <tabstop>slaveCheckbox</tabstop>
   <tabstop>advancedLineInput</tabstop>
-  <tabstop>Tab</tabstop>
-  <tabstop>closeButton</tabstop>
-  <tabstop>cancelButton</tabstop>
+  <tabstop>slaveText</tabstop>
+  <tabstop>slaveBrowseButton</tabstop>
+  <tabstop>buttonsBox</tabstop>
  </tabstops>
  <resources/>
  <connections>
   <connection>
    <sender>slaveCheckbox</sender>
    <signal>clicked(bool)</signal>
-   <receiver>label_2</receiver>
-   <slot>setEnabled(bool)</slot>
+   <receiver>slaveLabel</receiver>
+   <slot>setVisible(bool)</slot>
    <hints>
     <hint type="sourcelabel" >
      <x>54</x>
    <sender>slaveCheckbox</sender>
    <signal>clicked(bool)</signal>
    <receiver>slaveText</receiver>
-   <slot>setEnabled(bool)</slot>
+   <slot>setVisible(bool)</slot>
    <hints>
     <hint type="sourcelabel" >
      <x>127</x>
     </hint>
    </hints>
   </connection>
+  <connection>
+   <sender>slaveCheckbox</sender>
+   <signal>clicked(bool)</signal>
+   <receiver>slaveBrowseButton</receiver>
+   <slot>setVisible(bool)</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>219</x>
+     <y>102</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>386</x>
+     <y>131</y>
+    </hint>
+   </hints>
+  </connection>
  </connections>
 </ui>