]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/ui/open.ui
Qt4 - Tabs Order. Nick Vercammen's patch on open_network.ui is included.
[vlc] / modules / gui / qt4 / ui / open.ui
index 39797b9bef5e38fbbc834f412b428c30c76142ba..21fc0e68840405a04bffb0c0cec0c7c968bf2a64 100644 (file)
 <ui version="4.0" >
  <author>Jean-Baptiste Kempf</author>
  <class>Open</class>
- <widget class="QWidget" name="FileOpen" >
+ <widget class="QWidget" name="Open" >
+  <property name="enabled" >
+   <bool>true</bool>
+  </property>
   <property name="geometry" >
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>624</width>
-    <height>579</height>
+    <width>448</width>
+    <height>300</height>
    </rect>
   </property>
   <property name="windowTitle" >
    <string>Dialog</string>
   </property>
-  <widget class="QPushButton" name="closeButton" >
-   <property name="geometry" >
-    <rect>
-     <x>520</x>
-     <y>540</y>
-     <width>91</width>
-     <height>29</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>Close</string>
-   </property>
-  </widget>
-  <widget class="QPushButton" name="cancelButton" >
-   <property name="geometry" >
-    <rect>
-     <x>400</x>
-     <y>540</y>
-     <width>101</width>
-     <height>29</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>Cancel</string>
+  <layout class="QVBoxLayout" >
+   <property name="margin" >
+    <number>9</number>
    </property>
-  </widget>
-  <widget class="QTabWidget" name="Tab" >
-   <property name="geometry" >
-    <rect>
-     <x>10</x>
-     <y>10</y>
-     <width>601</width>
-     <height>371</height>
-    </rect>
-   </property>
-   <property name="currentIndex" >
-    <number>-1</number>
-   </property>
-  </widget>
-  <widget class="QFrame" name="advancedFrame" >
-   <property name="geometry" >
-    <rect>
-     <x>10</x>
-     <y>410</y>
-     <width>601</width>
-     <height>121</height>
-    </rect>
+   <property name="spacing" >
+    <number>6</number>
    </property>
-   <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>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
-p, li { white-space: pre-wrap; }
-&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
-&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-style:italic;">_("Personnalize"):&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
-      </property>
-      <property name="alignment" >
-       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
-      </property>
-     </widget>
-    </item>
-    <item row="1" column="1" >
-     <spacer>
-      <property name="orientation" >
-       <enum>Qt::Horizontal</enum>
-      </property>
-      <property name="sizeType" >
-       <enum>QSizePolicy::Minimum</enum>
-      </property>
-      <property name="sizeHint" >
-       <size>
-        <width>10</width>
-        <height>20</height>
-       </size>
+   <item>
+    <widget class="QTabWidget" name="Tab" >
+     <property name="currentIndex" >
+      <number>-1</number>
+     </property>
+    </widget>
+   </item>
+   <item>
+    <widget class="QCheckBox" name="advancedCheckBox" >
+     <property name="toolTip" >
+      <string>Show extended options</string>
+     </property>
+     <property name="text" >
+      <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>
+     <layout class="QGridLayout" >
+      <property name="margin" >
+       <number>9</number>
       </property>
-     </spacer>
-    </item>
-    <item row="0" column="2" >
-     <widget class="QSpinBox" name="cacheSpinBox" />
-    </item>
-    <item row="0" column="4" >
-     <spacer>
-      <property name="orientation" >
-       <enum>Qt::Horizontal</enum>
+      <property name="spacing" >
+       <number>6</number>
       </property>
-      <property name="sizeHint" >
-       <size>
-        <width>40</width>
-        <height>20</height>
-       </size>
-      </property>
-     </spacer>
-    </item>
-    <item row="0" column="1" >
-     <spacer>
-      <property name="orientation" >
-       <enum>Qt::Horizontal</enum>
-      </property>
-      <property name="sizeType" >
-       <enum>QSizePolicy::Minimum</enum>
-      </property>
-      <property name="sizeHint" >
-       <size>
-        <width>10</width>
-        <height>20</height>
-       </size>
-      </property>
-     </spacer>
-    </item>
-    <item row="0" column="0" >
-     <widget class="QLabel" name="cacheLabel" >
-      <property name="text" >
-       <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
-p, li { white-space: pre-wrap; }
-&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
-&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-style:italic;">_("Caching"):&lt;/span>&lt;/p>&lt;/body>&lt;/html></string>
-      </property>
-      <property name="alignment" >
-       <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
-      </property>
-     </widget>
-    </item>
-    <item row="0" column="3" >
-     <widget class="QLabel" name="label" >
-      <property name="text" >
-       <string>ms</string>
-      </property>
-     </widget>
-    </item>
-    <item row="1" column="2" colspan="3" >
-     <widget class="QLineEdit" name="advancedLineInput" />
-    </item>
-   </layout>
-  </widget>
-  <widget class="QPushButton" name="advancedButton" >
-   <property name="geometry" >
-    <rect>
-     <x>510</x>
-     <y>390</y>
-     <width>83</width>
-     <height>27</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>More...</string>
-   </property>
-  </widget>
+      <item row="0" column="4" >
+       <widget class="QLabel" name="label_3" >
+        <property name="text" >
+         <string>Start Time</string>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="5" 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="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="7" >
+       <widget class="QLineEdit" name="advancedLineInput" />
+      </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="4" column="1" colspan="5" >
+       <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="label_2" >
+        <property name="enabled" >
+         <bool>false</bool>
+        </property>
+        <property name="text" >
+         <string>Extra media</string>
+        </property>
+       </widget>
+      </item>
+      <item row="3" column="1" colspan="5" >
+       <widget class="QLineEdit" name="slaveText" >
+        <property name="enabled" >
+         <bool>false</bool>
+        </property>
+       </widget>
+      </item>
+      <item row="3" column="6" colspan="2" >
+       <widget class="QToolButton" name="slaveBrowseButton" >
+        <property name="enabled" >
+         <bool>false</bool>
+        </property>
+        <property name="text" >
+         <string>Browse...</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="1" colspan="5" >
+       <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="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>
+    <layout class="QHBoxLayout" >
+     <property name="margin" >
+      <number>0</number>
+     </property>
+     <property name="spacing" >
+      <number>6</number>
+     </property>
+     <item>
+      <spacer>
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeType" >
+        <enum>QSizePolicy::Minimum</enum>
+       </property>
+       <property name="sizeHint" >
+        <size>
+         <width>240</width>
+         <height>20</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="QDialogButtonBox" name="buttonsBox" >
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="standardButtons" >
+        <set>QDialogButtonBox::NoButton</set>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+  </layout>
  </widget>
  <tabstops>
-  <tabstop>advancedButton</tabstop>
+  <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/>
+ <connections>
+  <connection>
+   <sender>slaveCheckbox</sender>
+   <signal>clicked(bool)</signal>
+   <receiver>label_2</receiver>
+   <slot>setEnabled(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>setEnabled(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>setEnabled(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>