]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/ui/open_net.ui
Qt: network open, fix caching and add more examples
[vlc] / modules / gui / qt4 / ui / open_net.ui
index 0b290bfdd8638f05625d17263c0954cfb1c2ba42..cabba5eed05663ed5a56422d0fbd261b8df43268 100644 (file)
-<ui version="4.0" >
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
  <author>Jean-Baptiste Kempf</author>
  <class>OpenNetwork</class>
- <widget class="QWidget" name="OpenNetwork" >
-  <property name="geometry" >
+ <widget class="QWidget" name="OpenNetwork">
+  <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>431</width>
-    <height>233</height>
+    <width>487</width>
+    <height>273</height>
    </rect>
   </property>
-  <property name="windowTitle" >
+  <property name="windowTitle">
    <string>Form</string>
   </property>
-  <layout class="QVBoxLayout" >
+  <layout class="QVBoxLayout">
    <item>
-    <widget class="QGroupBox" name="groupBox" >
-     <property name="title" >
-      <string>_("Network Protocol")</string>
+    <widget class="QGroupBox" name="groupBox">
+     <property name="title">
+      <string>Network Protocol</string>
      </property>
-     <layout class="QGridLayout" >
-      <item row="1" column="0" >
-       <widget class="QComboBox" name="protocolCombo" >
-        <property name="toolTip" >
-         <string>_("Set the protocol for the URL")</string>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="0" >
-       <widget class="QLabel" name="label" >
-        <property name="text" >
-         <string>_("Protocol")</string>
-        </property>
-        <property name="buddy" >
-         <cstring>protocolCombo</cstring>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="2" >
-       <widget class="QSpinBox" name="portSpin" >
-        <property name="toolTip" >
-         <string>_("Set the port used")</string>
-        </property>
-        <property name="maximum" >
-         <number>65535</number>
-        </property>
-        <property name="value" >
-         <number>1234</number>
-        </property>
-       </widget>
-      </item>
-      <item row="0" column="1" >
-       <widget class="QLabel" name="label_2" >
-        <property name="sizePolicy" >
-         <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
+     <layout class="QGridLayout">
+      <item row="0" column="0">
+       <widget class="QLabel" name="label_1">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
-        <property name="text" >
-         <string>_("Address")</string>
+        <property name="text">
+         <string>Please enter a network URL:</string>
         </property>
-        <property name="buddy" >
-         <cstring>addressText</cstring>
+        <property name="buddy">
+         <cstring>urlText</cstring>
         </property>
        </widget>
       </item>
-      <item row="0" column="2" >
-       <widget class="QLabel" name="label_4" >
-        <property name="text" >
-         <string>_("Port")</string>
-        </property>
-        <property name="buddy" >
-         <cstring>portSpin</cstring>
-        </property>
-       </widget>
-      </item>
-      <item row="1" column="1" >
-       <widget class="QLineEdit" name="addressText" >
-        <property name="toolTip" >
-         <string>_("Enter the URL of the network stream here,\nwith or without the protocol.")</string>
+      <item row="1" column="0">
+       <widget class="QLineEdit" name="urlText">
+        <property name="toolTip">
+         <string>Enter the URL of the network stream here.</string>
         </property>
        </widget>
       </item>
-     </layout>
-    </widget>
-   </item>
-   <item>
-    <widget class="QGroupBox" name="groupBox_3" >
-     <property name="sizePolicy" >
-      <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="title" >
-      <string>_("Options")</string>
-     </property>
-     <layout class="QHBoxLayout" >
-      <item>
-       <widget class="QCheckBox" name="timeShift" >
-        <property name="toolTip" >
-         <string/>
+      <item row="2" column="0">
+       <widget class="QLabel" name="label">
+        <property name="text">
+         <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; color:#838383;&quot;&gt;http://www.example.com/stream.avi&lt;/span&gt;&lt;/p&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; color:#838383;&quot;&gt;rtp://@1234&lt;/span&gt;&lt;/p&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; color:#838383;&quot;&gt;mms://mms.examples.com/stream.asx&lt;/span&gt;&lt;/p&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; color:#838383;&quot;&gt;rtsp://server.example.org:8080/test.sdp&lt;/span&gt;&lt;/p&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; color:#838383;&quot;&gt;http://www.yourtube.com/watch?v=gg64x&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
         </property>
-        <property name="text" >
-         <string>_("Allow timeshifting")</string>
+        <property name="margin">
+         <number>5</number>
         </property>
-       </widget>
-      </item>
-      <item>
-       <widget class="QCheckBox" name="ipv6" >
-        <property name="text" >
-         <string>_("Force IPv6")</string>
+        <property name="indent">
+         <number>10</number>
         </property>
        </widget>
       </item>
    </item>
    <item>
     <spacer>
-     <property name="orientation" >
+     <property name="orientation">
       <enum>Qt::Vertical</enum>
      </property>
-     <property name="sizeType" >
+     <property name="sizeType">
       <enum>QSizePolicy::MinimumExpanding</enum>
      </property>
-     <property name="sizeHint" stdset="0" >
+     <property name="sizeHint" stdset="0">
       <size>
        <width>20</width>
        <height>10</height>
   </layout>
  </widget>
  <tabstops>
-  <tabstop>protocolCombo</tabstop>
-  <tabstop>addressText</tabstop>
-  <tabstop>portSpin</tabstop>
-  <tabstop>timeShift</tabstop>
-  <tabstop>ipv6</tabstop>
+  <tabstop>urlText</tabstop>
  </tabstops>
  <resources/>
  <connections/>