]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/ui/HyperlinkUi.ui
* fix spelling in comments to please John.
[lyx.git] / src / frontends / qt4 / ui / HyperlinkUi.ui
index c3bc58b95bb3cf748ee07682b683443f40e554e1..f5f19ac87b86c86b4bf06a3873fa10c649c1adea 100644 (file)
@@ -5,8 +5,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>336</width>
-    <height>155</height>
+    <width>426</width>
+    <height>177</height>
    </rect>
   </property>
   <property name="windowTitle" >
    <bool>true</bool>
   </property>
   <layout class="QGridLayout" >
-   <item row="0" column="0" >
-    <widget class="QLabel" name="urlLA" >
-     <property name="toolTip" >
-      <string>URL</string>
-     </property>
-     <property name="text" >
-      <string>&amp;Target:</string>
-     </property>
-     <property name="buddy" >
-      <cstring>urlED</cstring>
-     </property>
-    </widget>
-   </item>
-   <item row="0" column="1" colspan="2" >
-    <widget class="QLineEdit" name="urlED" >
-     <property name="toolTip" >
-      <string>URL</string>
-     </property>
-    </widget>
-   </item>
-   <item row="1" column="0" >
-    <widget class="QLabel" name="nameLA" >
-     <property name="toolTip" >
-      <string>Name associated with the URL</string>
-     </property>
-     <property name="text" >
-      <string>&amp;Name:</string>
-     </property>
-     <property name="buddy" >
-      <cstring>nameED</cstring>
-     </property>
-    </widget>
-   </item>
-   <item row="1" column="1" colspan="2" >
-    <widget class="QLineEdit" name="nameED" >
-     <property name="toolTip" >
-      <string>Name associated with the URL</string>
-     </property>
-    </widget>
-   </item>
+   <property name="margin" >
+    <number>9</number>
+   </property>
+   <property name="spacing" >
+    <number>6</number>
+   </property>
    <item row="2" column="1" >
-    <widget class="QGroupBox" name="TypeGB" >
+    <widget class="QGroupBox" name="typeGB" >
      <property name="toolTip" >
-      <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:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
-&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">specify the link target&lt;/p>&lt;/body>&lt;/html></string>
+      <string>Specify the link target</string>
      </property>
      <property name="title" >
       <string>Link type</string>
      </property>
-     <layout class="QGridLayout" >
-      <item row="0" column="0" >
-       <widget class="QRadioButton" name="WebRB" >
+     <layout class="QHBoxLayout" >
+      <property name="margin" >
+       <number>9</number>
+      </property>
+      <property name="spacing" >
+       <number>6</number>
+      </property>
+      <item>
+       <widget class="QRadioButton" name="webRB" >
         <property name="toolTip" >
-         <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:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
-&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;">Link to the web or to every other target&lt;/p>&lt;/body>&lt;/html></string>
+         <string>Link to the web or to every other target</string>
         </property>
         <property name="text" >
          <string>&amp;Web</string>
         </property>
        </widget>
       </item>
-      <item row="0" column="1" >
-       <widget class="QRadioButton" name="EmailRB" >
+      <item>
+       <widget class="QRadioButton" name="emailRB" >
         <property name="toolTip" >
-         <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:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
-&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;">Link to an email address&lt;/p>&lt;/body>&lt;/html></string>
+         <string>Link to an email address</string>
         </property>
         <property name="text" >
          <string>&amp;Email</string>
         </property>
        </widget>
       </item>
-      <item row="0" column="2" >
-       <widget class="QRadioButton" name="FileRB" >
+      <item>
+       <widget class="QRadioButton" name="fileRB" >
         <property name="toolTip" >
-         <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:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
-&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Link to a file&lt;/p>&lt;/body>&lt;/html></string>
+         <string>Link to a file</string>
         </property>
         <property name="text" >
          <string>&amp;File</string>
@@ -110,35 +70,53 @@ p, li { white-space: pre-wrap; }
      </layout>
     </widget>
    </item>
-   <item row="2" column="2" >
-    <spacer>
-     <property name="orientation" >
-      <enum>Qt::Horizontal</enum>
+   <item row="0" column="1" >
+    <widget class="QLineEdit" name="targetED" >
+     <property name="toolTip" >
+      <string>URL</string>
+     </property>
+    </widget>
+   </item>
+   <item row="1" column="1" >
+    <widget class="QLineEdit" name="nameED" >
+     <property name="toolTip" >
+      <string>Name associated with the URL</string>
      </property>
-     <property name="sizeHint" >
-      <size>
-       <width>40</width>
-       <height>20</height>
-      </size>
+    </widget>
+   </item>
+   <item row="0" column="0" >
+    <widget class="QLabel" name="targetLA" >
+     <property name="toolTip" >
+      <string>URL</string>
      </property>
-    </spacer>
+     <property name="text" >
+      <string>&amp;Target:</string>
+     </property>
+     <property name="buddy" >
+      <cstring>targetED</cstring>
+     </property>
+    </widget>
    </item>
-   <item row="3" column="0" colspan="3" >
-    <layout class="QHBoxLayout" >
-     <property name="spacing" >
-      <number>6</number>
+   <item row="1" column="0" >
+    <widget class="QLabel" name="nameLA" >
+     <property name="toolTip" >
+      <string>Name associated with the URL</string>
      </property>
-     <property name="leftMargin" >
-      <number>0</number>
+     <property name="text" >
+      <string>&amp;Name:</string>
      </property>
-     <property name="topMargin" >
-      <number>0</number>
+     <property name="buddy" >
+      <cstring>nameED</cstring>
      </property>
-     <property name="rightMargin" >
+    </widget>
+   </item>
+   <item row="3" column="0" colspan="2" >
+    <layout class="QHBoxLayout" >
+     <property name="margin" >
       <number>0</number>
      </property>
-     <property name="bottomMargin" >
-      <number>0</number>
+     <property name="spacing" >
+      <number>6</number>
      </property>
      <item>
       <spacer>
@@ -161,6 +139,9 @@ p, li { white-space: pre-wrap; }
        <property name="text" >
         <string>&amp;OK</string>
        </property>
+       <property name="autoDefault" >
+        <bool>true</bool>
+       </property>
        <property name="default" >
         <bool>true</bool>
        </property>
@@ -171,6 +152,9 @@ p, li { white-space: pre-wrap; }
        <property name="text" >
         <string>&amp;Close</string>
        </property>
+       <property name="autoDefault" >
+        <bool>false</bool>
+       </property>
       </widget>
      </item>
     </layout>
@@ -178,16 +162,16 @@ p, li { white-space: pre-wrap; }
   </layout>
  </widget>
  <tabstops>
-  <tabstop>urlED</tabstop>
+  <tabstop>targetED</tabstop>
   <tabstop>nameED</tabstop>
-  <tabstop>WebRB</tabstop>
-  <tabstop>EmailRB</tabstop>
-  <tabstop>FileRB</tabstop>
+  <tabstop>webRB</tabstop>
+  <tabstop>emailRB</tabstop>
+  <tabstop>fileRB</tabstop>
   <tabstop>okPB</tabstop>
   <tabstop>closePB</tabstop>
  </tabstops>
  <includes>
-  <include location="local" >qt_helpers.h</include>
+  <include location="local" >qt_i18n.h</include>
  </includes>
  <resources/>
  <connections/>