]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/ui/open.ui
Qt: open BRD
[vlc] / modules / gui / qt4 / ui / open.ui
index 24cbe2603f750486231116af93da715ca5ef97c8..72993db32d48e49502a88c33b577c66306ec4f97 100644 (file)
-<ui version="4.0" >
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
  <author>Jean-Baptiste Kempf</author>
  <class>Open</class>
- <widget class="QWidget" name="Open" >
-  <property name="enabled" >
+ <widget class="QWidget" name="Open">
+  <property name="enabled">
    <bool>true</bool>
   </property>
-  <property name="geometry" >
+  <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>435</width>
-    <height>441</height>
+    <width>556</width>
+    <height>387</height>
    </rect>
   </property>
-  <property name="windowTitle" >
+  <property name="sizePolicy">
+   <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+    <horstretch>0</horstretch>
+    <verstretch>0</verstretch>
+   </sizepolicy>
+  </property>
+  <property name="minimumSize">
+   <size>
+    <width>400</width>
+    <height>0</height>
+   </size>
+  </property>
+  <property name="windowTitle">
    <string>Dialog</string>
   </property>
-  <layout class="QVBoxLayout" >
-   <property name="margin" >
-    <number>9</number>
-   </property>
-   <property name="spacing" >
-    <number>6</number>
-   </property>
-   <item>
-    <widget class="QTabWidget" name="Tab" >
-     <property name="sizePolicy" >
-      <sizepolicy>
-       <hsizetype>0</hsizetype>
-       <vsizetype>0</vsizetype>
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="minimumSize" >
-      <size>
-       <width>417</width>
-       <height>290</height>
-      </size>
-     </property>
-     <property name="currentIndex" >
-      <number>-1</number>
-     </property>
-    </widget>
+  <layout class="QGridLayout" name="gridLayout">
+   <item row="0" column="0" colspan="3">
+    <widget class="QTabWidget" name="Tab"/>
    </item>
-   <item>
-    <layout class="QHBoxLayout" >
-     <property name="margin" >
-      <number>0</number>
+   <item row="1" column="0" colspan="3">
+    <widget class="QCheckBox" name="advancedCheckBox">
+     <property name="toolTip">
+      <string>Show extended options</string>
      </property>
-     <property name="spacing" >
-      <number>6</number>
+     <property name="text">
+      <string>Show &amp;more options</string>
      </property>
-     <item>
-      <spacer>
-       <property name="orientation" >
-        <enum>Qt::Horizontal</enum>
-       </property>
-       <property name="sizeHint" >
-        <size>
-         <width>40</width>
-         <height>20</height>
-        </size>
-       </property>
-      </spacer>
-     </item>
-     <item>
-      <widget class="QPushButton" name="advancedButton" >
-       <property name="text" >
-        <string>More...</string>
-       </property>
-      </widget>
-     </item>
-    </layout>
+    </widget>
    </item>
-   <item>
-    <widget class="QFrame" name="advancedFrame" >
-     <property name="frameShape" >
-      <enum>QFrame::StyledPanel</enum>
-     </property>
-     <property name="frameShadow" >
-      <enum>QFrame::Raised</enum>
-     </property>
-     <layout class="QGridLayout" >
-      <property name="margin" >
-       <number>9</number>
-      </property>
-      <property name="spacing" >
-       <number>6</number>
-      </property>
-      <item row="1" column="0" >
-       <widget class="QLabel" name="advancedLabel" >
-        <property name="text" >
-         <string>Personalize:</string>
-        </property>
-        <property name="alignment" >
-         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+   <item row="2" column="0" colspan="3">
+    <widget class="QGroupBox" name="advancedFrame">
+     <layout class="QGridLayout" name="gridLayout_2">
+      <item row="0" column="0">
+       <widget class="QLabel" name="cacheLabel">
+        <property name="text">
+         <string>Caching</string>
+        </property>
+        <property name="buddy">
+         <cstring>cacheSpinBox</cstring>
         </property>
        </widget>
       </item>
-      <item row="1" column="1" >
-       <spacer>
-        <property name="orientation" >
-         <enum>Qt::Horizontal</enum>
+      <item row="0" column="2">
+       <widget class="QSpinBox" name="cacheSpinBox">
+        <property name="toolTip">
+         <string>Change the caching for the media</string>
         </property>
-        <property name="sizeType" >
-         <enum>QSizePolicy::Minimum</enum>
+        <property name="alignment">
+         <set>Qt::AlignRight</set>
         </property>
-        <property name="sizeHint" >
-         <size>
-          <width>10</width>
-          <height>20</height>
-         </size>
+        <property name="suffix">
+         <string> ms</string>
         </property>
-       </spacer>
-      </item>
-      <item row="0" column="2" >
-       <widget class="QSpinBox" name="cacheSpinBox" />
+        <property name="maximum">
+         <number>65535</number>
+        </property>
+        <property name="singleStep">
+         <number>100</number>
+        </property>
+       </widget>
       </item>
-      <item row="0" column="4" >
+      <item row="0" column="3">
        <spacer>
-        <property name="orientation" >
+        <property name="orientation">
          <enum>Qt::Horizontal</enum>
         </property>
-        <property name="sizeHint" >
+        <property name="sizeHint" stdset="0">
          <size>
-          <width>40</width>
-          <height>20</height>
+          <width>16</width>
+          <height>24</height>
          </size>
         </property>
        </spacer>
       </item>
-      <item row="0" column="1" >
-       <spacer>
-        <property name="orientation" >
-         <enum>Qt::Horizontal</enum>
+      <item row="0" column="4">
+       <widget class="QLabel" name="label_3">
+        <property name="text">
+         <string>Start Time</string>
         </property>
-        <property name="sizeType" >
-         <enum>QSizePolicy::Minimum</enum>
+        <property name="buddy">
+         <cstring>startTimeTimeEdit</cstring>
         </property>
-        <property name="sizeHint" >
-         <size>
-          <width>10</width>
-          <height>20</height>
-         </size>
+       </widget>
+      </item>
+      <item row="1" column="2" colspan="6">
+       <widget class="Line" name="line"/>
+      </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>
-       </spacer>
+       </widget>
       </item>
-      <item row="0" column="0" >
-       <widget class="QLabel" name="cacheLabel" >
-        <property name="text" >
-         <string>Caching:</string>
+      <item row="3" column="0">
+       <widget class="QLabel" name="slaveLabel">
+        <property name="text">
+         <string>Extra media</string>
         </property>
-        <property name="alignment" >
-         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+        <property name="buddy">
+         <cstring>slaveText</cstring>
         </property>
        </widget>
       </item>
-      <item row="0" column="3" >
-       <widget class="QLabel" name="label" >
-        <property name="text" >
-         <string>ms</string>
+      <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>
        </widget>
       </item>
-      <item row="1" column="2" colspan="3" >
-       <widget class="QLineEdit" name="advancedLineInput" />
+      <item row="4" column="2" colspan="6">
+       <widget class="Line" name="line"/>
+      </item>
+      <item row="5" column="0">
+       <widget class="QLabel" name="advancedLabel">
+        <property name="text">
+         <string>MRL</string>
+        </property>
+        <property name="buddy">
+         <cstring>advancedLineInput</cstring>
+        </property>
+       </widget>
+      </item>
+      <item row="5" column="2" colspan="6">
+       <widget class="QLineEdit" name="mrlLine">
+        <property name="readOnly">
+         <bool>true</bool>
+        </property>
+       </widget>
+      </item>
+      <item row="6" column="2" colspan="6">
+       <widget class="QLineEdit" name="advancedLineInput">
+        <property name="toolTip">
+         <string>Complete MRL for VLC internal</string>
+        </property>
+       </widget>
+      </item>
+      <item row="6" column="0">
+       <widget class="QLabel" name="label">
+        <property name="text">
+         <string>Edit Options</string>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="5" colspan="3">
+       <widget class="QTimeEdit" name="startTimeTimeEdit">
+        <property name="toolTip">
+         <string>Change the start time for the media</string>
+        </property>
+        <property name="alignment">
+         <set>Qt::AlignRight</set>
+        </property>
+        <property name="currentSection">
+         <enum>QDateTimeEdit::SecondSection</enum>
+        </property>
+        <property name="displayFormat">
+         <string>HH'H':mm'm':ss's'.zzz</string>
+        </property>
+        <property name="timeSpec">
+         <enum>Qt::LocalTime</enum>
+        </property>
+       </widget>
       </item>
      </layout>
     </widget>
    </item>
-   <item>
-    <layout class="QHBoxLayout" >
-     <property name="margin" >
-      <number>0</number>
+   <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">
+    <widget class="QDialogButtonBox" name="buttonsBox">
+     <property name="sizePolicy">
+      <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
+     <property name="standardButtons">
+      <set>QDialogButtonBox::NoButton</set>
+     </property>
+    </widget>
+   </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="spacing" >
-      <number>6</number>
+     <property name="text">
+      <string>Play</string>
      </property>
-     <item>
-      <spacer>
-       <property name="orientation" >
-        <enum>Qt::Horizontal</enum>
-       </property>
-       <property name="sizeHint" >
-        <size>
-         <width>241</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="closeButton" >
-       <property name="text" >
-        <string>Open</string>
-       </property>
-      </widget>
-     </item>
-    </layout>
+     <property name="popupMode">
+      <enum>QToolButton::MenuButtonPopup</enum>
+     </property>
+    </widget>
    </item>
   </layout>
  </widget>
  <tabstops>
-  <tabstop>advancedButton</tabstop>
-  <tabstop>cacheSpinBox</tabstop>
-  <tabstop>advancedLineInput</tabstop>
   <tabstop>Tab</tabstop>
-  <tabstop>closeButton</tabstop>
-  <tabstop>cancelButton</tabstop>
+  <tabstop>advancedCheckBox</tabstop>
+  <tabstop>cacheSpinBox</tabstop>
+  <tabstop>startTimeTimeEdit</tabstop>
+  <tabstop>slaveCheckbox</tabstop>
+  <tabstop>slaveText</tabstop>
+  <tabstop>slaveBrowseButton</tabstop>
+  <tabstop>playButton</tabstop>
+  <tabstop>buttonsBox</tabstop>
  </tabstops>
  <resources/>
- <connections/>
+ <connections>
+  <connection>
+   <sender>slaveCheckbox</sender>
+   <signal>clicked(bool)</signal>
+   <receiver>slaveLabel</receiver>
+   <slot>setVisible(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>54</x>
+     <y>384</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>63</x>
+     <y>410</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>slaveCheckbox</sender>
+   <signal>clicked(bool)</signal>
+   <receiver>slaveText</receiver>
+   <slot>setVisible(bool)</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>127</x>
+     <y>387</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>136</x>
+     <y>406</y>
+    </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>