]> git.lyx.org Git - features.git/commitdiff
PrefShortcuts: fix a typo, add some more buttons
authorBo Peng <bpeng@lyx.org>
Thu, 18 Oct 2007 16:09:01 +0000 (16:09 +0000)
committerBo Peng <bpeng@lyx.org>
Thu, 18 Oct 2007 16:09:01 +0000 (16:09 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21036 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiPrefs.cpp
src/frontends/qt4/ui/PrefShortcutsUi.ui

index dcf95962814c1116a3b30ec5f426b9ac253406a0..eeb370c6bfe1c04e306e8387a5b239b011bf3f12 100644 (file)
@@ -1741,7 +1741,7 @@ void PrefShortcuts::update(LyXRC const & rc)
                QString const shortcut = toqstr(it->second.print(false));
                
                QTreeWidgetItem * newItem = NULL;
-               // if a item with the same lfun already exists, insert as a
+               // if an item with the same lfun already exists, insert as a
                // child item to that item.
                // WARNING: this can be slow.
                QList<QTreeWidgetItem*> items = shortcutsTW->findItems(lfun, 
index d303c650de42ea8557ba9e633473d0ca05da435d..3e75055c308e44a04b877abe0293f8eace869ce9 100644 (file)
@@ -5,7 +5,7 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>398</width>
+    <width>409</width>
     <height>418</height>
    </rect>
   </property>
    <property name="spacing" >
     <number>6</number>
    </property>
-   <item row="3" column="2" >
+   <item row="0" column="1" >
+    <widget class="QLineEdit" name="bindFileED" />
+   </item>
+   <item rowspan="7" row="2" column="0" colspan="2" >
+    <widget class="QTreeWidget" name="shortcutsTW" />
+   </item>
+   <item row="8" column="2" >
     <spacer>
      <property name="orientation" >
       <enum>Qt::Vertical</enum>
      </property>
      <property name="sizeHint" >
       <size>
-       <width>20</width>
-       <height>20</height>
+       <width>51</width>
+       <height>83</height>
       </size>
      </property>
     </spacer>
    </item>
-   <item row="2" column="2" >
-    <widget class="QPushButton" name="editPB" >
+   <item row="7" column="2" >
+    <widget class="QPushButton" name="modifyPB" >
      <property name="text" >
-      <string>Edit</string>
+      <string>Modify</string>
      </property>
     </widget>
    </item>
-   <item row="1" column="0" colspan="2" >
-    <widget class="QLabel" name="shortcutsLBL" >
+   <item row="6" column="2" >
+    <widget class="QPushButton" name="removePB" >
      <property name="text" >
-      <string>Shortcuts:</string>
+      <string>Remove</string>
      </property>
     </widget>
    </item>
-   <item row="0" column="1" >
-    <widget class="QLineEdit" name="bindFileED" />
+   <item row="5" column="2" >
+    <widget class="QPushButton" name="editNew" >
+     <property name="text" >
+      <string>New</string>
+     </property>
+    </widget>
+   </item>
+   <item row="4" column="2" >
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeType" >
+      <enum>QSizePolicy::Expanding</enum>
+     </property>
+     <property name="sizeHint" >
+      <size>
+       <width>21</width>
+       <height>83</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+   <item row="3" column="2" >
+    <widget class="QPushButton" name="editSearch" >
+     <property name="text" >
+      <string>Search</string>
+     </property>
+    </widget>
+   </item>
+   <item row="2" column="2" >
+    <widget class="QLineEdit" name="lineEdit" >
+     <property name="sizePolicy" >
+      <sizepolicy>
+       <hsizetype>1</hsizetype>
+       <vsizetype>0</vsizetype>
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
+    </widget>
+   </item>
+   <item row="0" column="2" >
+    <widget class="QPushButton" name="bindFilePB" >
+     <property name="text" >
+      <string>B&amp;rowse...</string>
+     </property>
+    </widget>
    </item>
    <item row="0" column="0" >
     <widget class="QLabel" name="bindFileLA" >
      </property>
     </widget>
    </item>
-   <item row="0" column="2" >
-    <widget class="QPushButton" name="bindFilePB" >
+   <item row="1" column="0" colspan="2" >
+    <widget class="QLabel" name="shortcutsLBL" >
      <property name="text" >
-      <string>B&amp;rowse...</string>
+      <string>Shortcuts:</string>
      </property>
     </widget>
    </item>
-   <item rowspan="2" row="2" column="0" colspan="2" >
-    <widget class="QTreeWidget" name="shortcutsTW" />
-   </item>
   </layout>
  </widget>
  <tabstops>