]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/ui/ShortcutUi.ui
Add layout intelligence to View Source pane (bug #8653).
[lyx.git] / src / frontends / qt4 / ui / ShortcutUi.ui
index f3571f5f6329290071ffc12243ceb6bc401062f8..bf191752d4033c8d30217ebdfff2502de1be6f9a 100644 (file)
@@ -5,18 +5,10 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>277</width>
-    <height>147</height>
+    <width>421</width>
+    <height>111</height>
    </rect>
   </property>
-  <property name="sizePolicy" >
-   <sizepolicy>
-    <hsizetype>1</hsizetype>
-    <vsizetype>1</vsizetype>
-    <horstretch>0</horstretch>
-    <verstretch>0</verstretch>
-   </sizepolicy>
-  </property>
   <property name="windowTitle" >
    <string>Edit shortcut</string>
   </property>
    <property name="spacing" >
     <number>6</number>
    </property>
-   <item row="0" column="1" colspan="2" >
-    <widget class="QLineEdit" name="lfunLE" >
-     <property name="sizePolicy" >
-      <sizepolicy>
-       <hsizetype>7</hsizetype>
-       <vsizetype>0</vsizetype>
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="toolTip" >
-      <string>Enter BibTeX database name</string>
-     </property>
-     <property name="text" >
-      <string/>
-     </property>
-    </widget>
-   </item>
-   <item row="1" column="2" >
-    <widget class="QPushButton" name="clearPB" >
-     <property name="text" >
-      <string>Clear</string>
-     </property>
-    </widget>
-   </item>
-   <item row="1" column="0" >
-    <widget class="QLabel" name="shortcutLBL" >
-     <property name="text" >
-      <string>Shortcut</string>
-     </property>
-    </widget>
-   </item>
-   <item row="0" column="0" >
-    <widget class="QLabel" name="lfunLBL" >
-     <property name="text" >
-      <string>Function:</string>
-     </property>
-    </widget>
-   </item>
-   <item row="2" column="0" colspan="3" >
+   <item row="2" column="0" colspan="4" >
     <layout class="QHBoxLayout" >
      <property name="margin" >
       <number>0</number>
      </item>
     </layout>
    </item>
+   <item row="0" column="1" colspan="3" >
+    <widget class="QLineEdit" name="lfunLE" >
+     <property name="toolTip" >
+      <string>Enter LyX function or command sequence</string>
+     </property>
+     <property name="text" >
+      <string/>
+     </property>
+    </widget>
+   </item>
+   <item row="1" column="2" >
+    <widget class="QPushButton" name="removePB" >
+     <property name="toolTip" >
+      <string>Remove last key from the shortcut sequence</string>
+     </property>
+     <property name="text" >
+      <string>&amp;Delete Key</string>
+     </property>
+    </widget>
+   </item>
+   <item row="1" column="3" >
+    <widget class="QPushButton" name="clearPB" >
+     <property name="toolTip" >
+      <string>Clear current shortcut</string>
+     </property>
+     <property name="text" >
+      <string>C&amp;lear</string>
+     </property>
+    </widget>
+   </item>
+   <item row="1" column="0" >
+    <widget class="QLabel" name="shortcutLBL" >
+     <property name="text" >
+      <string>&amp;Shortcut:</string>
+     </property>
+     <property name="buddy" >
+      <cstring>shortcutWG</cstring>
+     </property>
+    </widget>
+   </item>
+   <item row="0" column="0" >
+    <widget class="QLabel" name="lfunLBL" >
+     <property name="text" >
+      <string>&amp;Function:</string>
+     </property>
+     <property name="buddy" >
+      <cstring>lfunLE</cstring>
+     </property>
+    </widget>
+   </item>
    <item row="1" column="1" >
-    <widget class="ShortcutLineEdit" name="shortcutLE" >
+    <widget class="lyx::frontend::ShortcutWidget" name="shortcutWG" >
      <property name="enabled" >
       <bool>true</bool>
      </property>
-     <property name="sizePolicy" >
-      <sizepolicy>
-       <hsizetype>13</hsizetype>
-       <vsizetype>13</vsizetype>
-       <horstretch>0</horstretch>
-       <verstretch>0</verstretch>
-      </sizepolicy>
-     </property>
      <property name="toolTip" >
-      <string>Enter BibTeX database name</string>
+      <string>Type shortcut after clicking on this field. You can reset the content with the 'Clear' button</string>
      </property>
      <property name="text" >
       <string/>
  </widget>
  <customwidgets>
   <customwidget>
-   <class>ShortcutLineEdit</class>
+   <class>lyx::frontend::ShortcutWidget</class>
    <extends>QLineEdit</extends>
    <header>CustomizedWidgets.h</header>
   </customwidget>
   <tabstop>cancelPB</tabstop>
  </tabstops>
  <includes>
-  <include location="local" >qt_helpers.h</include>
+  <include location="local" >qt_i18n.h</include>
  </includes>
  <resources/>
  <connections/>