]> 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 2bb31f89126c9692f71b07616aa0f543b707948f..85b7a91911fd6df69eafcecbc8e29c98792a2b40 100644 (file)
@@ -6,48 +6,45 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>420</width>
-    <height>195</height>
+    <width>431</width>
+    <height>233</height>
    </rect>
   </property>
   <property name="windowTitle" >
    <string>Form</string>
   </property>
   <layout class="QVBoxLayout" >
-   <property name="margin" >
-    <number>9</number>
-   </property>
-   <property name="spacing" >
-    <number>6</number>
-   </property>
    <item>
     <widget class="QGroupBox" name="groupBox" >
      <property name="title" >
-      <string>Network Protocol</string>
+      <string>_("Network Protocol")</string>
      </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="QComboBox" name="protocolCombo" >
         <property name="toolTip" >
-         <string>Set the protocol for the URL</string>
+         <string>_("Select 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>
+         <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>_("Select the port used")</string>
+        </property>
+        <property name="accelerated" >
+         <bool>true</bool>
+        </property>
         <property name="maximum" >
          <number>65535</number>
         </property>
       <item row="0" column="1" >
        <widget class="QLabel" name="label_2" >
         <property name="sizePolicy" >
-         <sizepolicy>
-          <hsizetype>5</hsizetype>
-          <vsizetype>0</vsizetype>
+         <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
         <property name="text" >
-         <string>Address</string>
+         <string>_("Address")</string>
+        </property>
+        <property name="buddy" >
+         <cstring>addressText</cstring>
         </property>
        </widget>
       </item>
       <item row="0" column="2" >
        <widget class="QLabel" name="label_4" >
         <property name="text" >
-         <string>Port</string>
+         <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>
+         <string>_("Enter the URL of the network stream here, with or without the protocol.")</string>
         </property>
        </widget>
       </item>
    <item>
     <widget class="QGroupBox" name="groupBox_3" >
      <property name="sizePolicy" >
-      <sizepolicy>
-       <hsizetype>5</hsizetype>
-       <vsizetype>0</vsizetype>
+      <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
      <property name="title" >
-      <string>Options</string>
+      <string>_("Options")</string>
      </property>
      <layout class="QHBoxLayout" >
-      <property name="margin" >
-       <number>9</number>
-      </property>
-      <property name="spacing" >
-       <number>6</number>
-      </property>
       <item>
        <widget class="QCheckBox" name="timeShift" >
+        <property name="toolTip" >
+         <string/>
+        </property>
         <property name="text" >
-         <string>Allow timeshifting</string>
+         <string>_("Allow timeshifting")</string>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QCheckBox" name="ipv6" >
         <property name="text" >
-         <string>Force IPv6</string>
+         <string>_("Force IPv6")</string>
         </property>
        </widget>
       </item>
      <property name="sizeType" >
       <enum>QSizePolicy::MinimumExpanding</enum>
      </property>
-     <property name="sizeHint" >
+     <property name="sizeHint" stdset="0" >
       <size>
        <width>20</width>
        <height>10</height>
    </item>
   </layout>
  </widget>
+ <tabstops>
+  <tabstop>protocolCombo</tabstop>
+  <tabstop>addressText</tabstop>
+  <tabstop>portSpin</tabstop>
+  <tabstop>timeShift</tabstop>
+  <tabstop>ipv6</tabstop>
+ </tabstops>
  <resources/>
  <connections/>
 </ui>