]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/ui/HyperlinkUi.ui
On Mac, moving down a paragraph should place the cursor at the end of the current...
[lyx.git] / src / frontends / qt4 / ui / HyperlinkUi.ui
index c3bc58b95bb3cf748ee07682b683443f40e554e1..c423e162503fa6ebe761d70c9447f81c6df57acf 100644 (file)
-<ui version="4.0" >
+<ui version="4.0">
  <class>HyperlinkUi</class>
- <widget class="QDialog" name="HyperlinkUi" >
-  <property name="geometry" >
+ <widget class="QWidget" name="HyperlinkUi">
+  <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>336</width>
-    <height>155</height>
+    <width>343</width>
+    <height>130</height>
    </rect>
   </property>
-  <property name="windowTitle" >
+  <property name="windowTitle">
    <string/>
   </property>
-  <property name="sizeGripEnabled" >
-   <bool>true</bool>
-  </property>
-  <layout class="QGridLayout" >
-   <item row="0" column="0" >
-    <widget class="QLabel" name="urlLA" >
-     <property name="toolTip" >
+  <layout class="QGridLayout" name="gridLayout">
+   <item row="0" column="0">
+    <widget class="QLabel" name="targetLA">
+     <property name="toolTip">
       <string>URL</string>
      </property>
-     <property name="text" >
+     <property name="text">
       <string>&amp;Target:</string>
      </property>
-     <property name="buddy" >
-      <cstring>urlED</cstring>
+     <property name="buddy">
+      <cstring>targetED</cstring>
      </property>
     </widget>
    </item>
-   <item row="0" column="1" colspan="2" >
-    <widget class="QLineEdit" name="urlED" >
-     <property name="toolTip" >
+   <item row="0" column="1" colspan="2">
+    <widget class="QLineEdit" name="targetED">
+     <property name="toolTip">
       <string>URL</string>
      </property>
     </widget>
    </item>
-   <item row="1" column="0" >
-    <widget class="QLabel" name="nameLA" >
-     <property name="toolTip" >
+   <item row="1" column="0">
+    <widget class="QLabel" name="nameLA">
+     <property name="toolTip">
       <string>Name associated with the URL</string>
      </property>
-     <property name="text" >
+     <property name="text">
       <string>&amp;Name:</string>
      </property>
-     <property name="buddy" >
+     <property name="buddy">
       <cstring>nameED</cstring>
      </property>
     </widget>
    </item>
-   <item row="1" column="1" colspan="2" >
-    <widget class="QLineEdit" name="nameED" >
-     <property name="toolTip" >
+   <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>
-   <item row="2" column="1" >
-    <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>
+   <item row="2" column="1">
+    <widget class="QGroupBox" name="typeGB">
+     <property name="toolTip">
+      <string>Specify the link target</string>
      </property>
-     <property name="title" >
+     <property name="title">
       <string>Link type</string>
      </property>
-     <layout class="QGridLayout" >
-      <item row="0" column="0" >
-       <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>
+     <layout class="QHBoxLayout">
+      <property name="spacing">
+       <number>6</number>
+      </property>
+      <property name="margin">
+       <number>9</number>
+      </property>
+      <item>
+       <widget class="QRadioButton" name="webRB">
+        <property name="toolTip">
+         <string>Link to the web or to every other target</string>
         </property>
-        <property name="text" >
+        <property name="text">
          <string>&amp;Web</string>
         </property>
+        <property name="checked">
+         <bool>true</bool>
+        </property>
        </widget>
       </item>
-      <item row="0" column="1" >
-       <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>
+      <item>
+       <widget class="QRadioButton" name="emailRB">
+        <property name="toolTip">
+         <string>Link to an email address</string>
         </property>
-        <property name="text" >
+        <property name="text">
          <string>&amp;Email</string>
         </property>
        </widget>
       </item>
-      <item row="0" column="2" >
-       <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>
+      <item>
+       <widget class="QRadioButton" name="fileRB">
+        <property name="toolTip">
+         <string>Link to a file</string>
         </property>
-        <property name="text" >
+        <property name="text">
          <string>&amp;File</string>
         </property>
        </widget>
@@ -110,84 +104,30 @@ p, li { white-space: pre-wrap; }
      </layout>
     </widget>
    </item>
-   <item row="2" column="2" >
-    <spacer>
-     <property name="orientation" >
+   <item row="2" column="2">
+    <spacer name="horizontalSpacer">
+     <property name="orientation">
       <enum>Qt::Horizontal</enum>
      </property>
-     <property name="sizeHint" >
+     <property name="sizeHint" stdset="0">
       <size>
-       <width>40</width>
+       <width>112</width>
        <height>20</height>
       </size>
      </property>
     </spacer>
    </item>
-   <item row="3" column="0" colspan="3" >
-    <layout class="QHBoxLayout" >
-     <property name="spacing" >
-      <number>6</number>
-     </property>
-     <property name="leftMargin" >
-      <number>0</number>
-     </property>
-     <property name="topMargin" >
-      <number>0</number>
-     </property>
-     <property name="rightMargin" >
-      <number>0</number>
-     </property>
-     <property name="bottomMargin" >
-      <number>0</number>
-     </property>
-     <item>
-      <spacer>
-       <property name="orientation" >
-        <enum>Qt::Horizontal</enum>
-       </property>
-       <property name="sizeType" >
-        <enum>QSizePolicy::Expanding</enum>
-       </property>
-       <property name="sizeHint" >
-        <size>
-         <width>20</width>
-         <height>20</height>
-        </size>
-       </property>
-      </spacer>
-     </item>
-     <item>
-      <widget class="QPushButton" name="okPB" >
-       <property name="text" >
-        <string>&amp;OK</string>
-       </property>
-       <property name="default" >
-        <bool>true</bool>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QPushButton" name="closePB" >
-       <property name="text" >
-        <string>&amp;Close</string>
-       </property>
-      </widget>
-     </item>
-    </layout>
-   </item>
   </layout>
  </widget>
  <tabstops>
-  <tabstop>urlED</tabstop>
+  <tabstop>targetED</tabstop>
   <tabstop>nameED</tabstop>
-  <tabstop>WebRB</tabstop>
-  <tabstop>EmailRB</tabstop>
-  <tabstop>FileRB</tabstop>
-  <tabstop>okPB</tabstop>
-  <tabstop>closePB</tabstop>
+  <tabstop>webRB</tabstop>
+  <tabstop>emailRB</tabstop>
+  <tabstop>fileRB</tabstop>
  </tabstops>
  <includes>
-  <include location="local" >qt_helpers.h</include>
+  <include location="local">qt_i18n.h</include>
  </includes>
  <resources/>
  <connections/>