]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/ui/open_net.ui
Accelerate the network port SpinBox chooser.
[vlc] / modules / gui / qt4 / ui / open_net.ui
index 7801108fe1eaf2cbe2fbc73fa16fb67688387c52..85b7a91911fd6df69eafcecbc8e29c98792a2b40 100644 (file)
 <ui version="4.0" >
  <author>Jean-Baptiste Kempf</author>
- <class>OpenNet</class>
+ <class>OpenNetwork</class>
  <widget class="QWidget" name="OpenNetwork" >
   <property name="geometry" >
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>600</width>
-    <height>350</height>
+    <width>431</width>
+    <height>233</height>
    </rect>
   </property>
   <property name="windowTitle" >
    <string>Form</string>
   </property>
-  <widget class="QWidget" native="1" name="gridLayout_2" >
-   <property name="geometry" >
-    <rect>
-     <x>10</x>
-     <y>10</y>
-     <width>572</width>
-     <height>328</height>
-    </rect>
-   </property>
-   <layout class="QGridLayout" >
-    <property name="margin" >
-     <number>0</number>
-    </property>
-    <property name="spacing" >
-     <number>6</number>
-    </property>
-    <item row="0" column="0" >
-     <widget class="QRadioButton" name="radioButton" >
-      <property name="text" >
-       <string>UDP/RTP</string>
-      </property>
-     </widget>
-    </item>
-    <item row="5" column="2" >
-     <spacer>
-      <property name="orientation" >
-       <enum>Qt::Vertical</enum>
-      </property>
-      <property name="sizeType" >
-       <enum>QSizePolicy::Minimum</enum>
-      </property>
-      <property name="sizeHint" >
-       <size>
-        <width>20</width>
-        <height>10</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="4" column="0" >
-     <widget class="QRadioButton" name="radioButton_3" >
-      <property name="text" >
-       <string>HTTP/HTTPS/FTP/MMS</string>
-      </property>
-     </widget>
-    </item>
-    <item row="8" column="2" colspan="3" >
+  <layout class="QVBoxLayout" >
+   <item>
+    <widget class="QGroupBox" name="groupBox" >
+     <property name="title" >
+      <string>_("Network Protocol")</string>
+     </property>
      <layout class="QGridLayout" >
-      <property name="margin" >
-       <number>0</number>
-      </property>
-      <property name="spacing" >
-       <number>6</number>
-      </property>
-      <item row="0" column="0" >
-       <widget class="QLabel" name="label_4" >
-        <property name="text" >
-         <string>_("URL") :</string>
+      <item row="1" column="0" >
+       <widget class="QComboBox" name="protocolCombo" >
+        <property name="toolTip" >
+         <string>_("Select the protocol for the URL.")</string>
         </property>
        </widget>
       </item>
-      <item row="0" column="1" >
-       <widget class="QLineEdit" name="lineEdit_3" />
-      </item>
-      <item row="0" column="2" >
-       <spacer>
-        <property name="orientation" >
-         <enum>Qt::Horizontal</enum>
-        </property>
-        <property name="sizeType" >
-         <enum>QSizePolicy::Minimum</enum>
+      <item row="0" column="0" >
+       <widget class="QLabel" name="label" >
+        <property name="text" >
+         <string>_("Protocol")</string>
         </property>
-        <property name="sizeHint" >
-         <size>
-          <width>40</width>
-          <height>20</height>
-         </size>
+        <property name="buddy" >
+         <cstring>protocolCombo</cstring>
         </property>
-       </spacer>
+       </widget>
       </item>
-     </layout>
-    </item>
-    <item row="7" column="2" >
-     <spacer>
-      <property name="orientation" >
-       <enum>Qt::Vertical</enum>
-      </property>
-      <property name="sizeType" >
-       <enum>QSizePolicy::Minimum</enum>
-      </property>
-      <property name="sizeHint" >
-       <size>
-        <width>20</width>
-        <height>10</height>
-       </size>
-      </property>
-     </spacer>
-    </item>
-    <item row="6" column="1" colspan="4" >
-     <widget class="Line" name="line_3" >
-      <property name="orientation" >
-       <enum>Qt::Horizontal</enum>
-      </property>
-     </widget>
-    </item>
-    <item row="4" column="2" colspan="3" >
-     <layout class="QGridLayout" >
-      <property name="margin" >
-       <number>0</number>
-      </property>
-      <property name="spacing" >
-       <number>6</number>
-      </property>
-      <item row="0" column="2" >
-       <spacer>
-        <property name="orientation" >
-         <enum>Qt::Horizontal</enum>
+      <item row="1" column="2" >
+       <widget class="QSpinBox" name="portSpin" >
+        <property name="toolTip" >
+         <string>_("Select the port used")</string>
+        </property>
+        <property name="accelerated" >
+         <bool>true</bool>
         </property>
-        <property name="sizeType" >
-         <enum>QSizePolicy::Minimum</enum>
+        <property name="maximum" >
+         <number>65535</number>
         </property>
-        <property name="sizeHint" >
-         <size>
-          <width>40</width>
-          <height>20</height>
-         </size>
+        <property name="value" >
+         <number>1234</number>
         </property>
-       </spacer>
+       </widget>
       </item>
       <item row="0" column="1" >
-       <widget class="QLineEdit" name="lineEdit_2" />
-      </item>
-      <item row="0" column="0" >
        <widget class="QLabel" name="label_2" >
+        <property name="sizePolicy" >
+         <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
         <property name="text" >
-         <string>_("URL") :</string>
+         <string>_("Address")</string>
+        </property>
+        <property name="buddy" >
+         <cstring>addressText</cstring>
         </property>
        </widget>
       </item>
-     </layout>
-    </item>
-    <item row="2" column="1" colspan="4" >
-     <widget class="Line" name="line_2" >
-      <property name="orientation" >
-       <enum>Qt::Horizontal</enum>
-      </property>
-     </widget>
-    </item>
-    <item row="0" column="2" colspan="3" >
-     <layout class="QGridLayout" >
-      <property name="margin" >
-       <number>0</number>
-      </property>
-      <property name="spacing" >
-       <number>6</number>
-      </property>
       <item row="0" column="2" >
-       <widget class="QCheckBox" name="checkBox_2" >
+       <widget class="QLabel" name="label_4" >
         <property name="text" >
-         <string>localhost</string>
+         <string>_("Port")</string>
         </property>
-       </widget>
-      </item>
-      <item row="1" column="0" >
-       <widget class="QLabel" name="label_3" >
-        <property name="text" >
-         <string>_("Port") :</string>
+        <property name="buddy" >
+         <cstring>portSpin</cstring>
         </property>
        </widget>
       </item>
       <item row="1" column="1" >
-       <widget class="QSpinBox" name="spinBox" />
-      </item>
-      <item row="0" column="1" >
-       <widget class="QLineEdit" name="lineEdit" />
+       <widget class="QLineEdit" name="addressText" >
+        <property name="toolTip" >
+         <string>_("Enter the URL of the network stream here, with or without the protocol.")</string>
+        </property>
+       </widget>
       </item>
-      <item row="0" column="3" >
-       <widget class="QCheckBox" name="checkBox_3" >
+     </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/>
+        </property>
         <property name="text" >
-         <string>force IPv6</string>
+         <string>_("Allow timeshifting")</string>
         </property>
        </widget>
       </item>
-      <item row="0" column="0" >
-       <widget class="QLabel" name="label" >
+      <item>
+       <widget class="QCheckBox" name="ipv6" >
         <property name="text" >
-         <string>_("Address") :</string>
+         <string>_("Force IPv6")</string>
         </property>
        </widget>
       </item>
      </layout>
-    </item>
-    <item row="3" column="2" >
-     <spacer>
-      <property name="orientation" >
-       <enum>Qt::Vertical</enum>
-      </property>
-      <property name="sizeType" >
-       <enum>QSizePolicy::Minimum</enum>
-      </property>
-      <property name="sizeHint" >
-       <size>
-        <width>20</width>
-        <height>10</height>
-       </size>
-      </property>
-     </spacer>
-    </item>
-    <item row="1" column="2" >
-     <spacer>
-      <property name="orientation" >
-       <enum>Qt::Vertical</enum>
-      </property>
-      <property name="sizeType" >
-       <enum>QSizePolicy::Minimum</enum>
-      </property>
-      <property name="sizeHint" >
-       <size>
-        <width>20</width>
-        <height>10</height>
-       </size>
-      </property>
-     </spacer>
-    </item>
-    <item row="8" column="0" colspan="2" >
-     <widget class="QRadioButton" name="radioButton_4" >
-      <property name="text" >
-       <string>RTP</string>
-      </property>
-     </widget>
-    </item>
-    <item row="9" column="2" >
-     <spacer>
-      <property name="orientation" >
-       <enum>Qt::Vertical</enum>
-      </property>
-      <property name="sizeType" >
-       <enum>QSizePolicy::Minimum</enum>
-      </property>
-      <property name="sizeHint" >
-       <size>
-        <width>20</width>
-        <height>10</height>
-       </size>
-      </property>
-     </spacer>
-    </item>
-   </layout>
-  </widget>
+    </widget>
+   </item>
+   <item>
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeType" >
+      <enum>QSizePolicy::MinimumExpanding</enum>
+     </property>
+     <property name="sizeHint" stdset="0" >
+      <size>
+       <width>20</width>
+       <height>10</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+  </layout>
  </widget>
- <includes/>
+ <tabstops>
+  <tabstop>protocolCombo</tabstop>
+  <tabstop>addressText</tabstop>
+  <tabstop>portSpin</tabstop>
+  <tabstop>timeShift</tabstop>
+  <tabstop>ipv6</tabstop>
+ </tabstops>
  <resources/>
  <connections/>
 </ui>