mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 05:12:40 +00:00
PrefShortcuts: fix a typo, add some more buttons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21036 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
cc91c7e6ee
commit
94776982b2
@ -1741,7 +1741,7 @@ void PrefShortcuts::update(LyXRC const & rc)
|
|||||||
QString const shortcut = toqstr(it->second.print(false));
|
QString const shortcut = toqstr(it->second.print(false));
|
||||||
|
|
||||||
QTreeWidgetItem * newItem = NULL;
|
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.
|
// child item to that item.
|
||||||
// WARNING: this can be slow.
|
// WARNING: this can be slow.
|
||||||
QList<QTreeWidgetItem*> items = shortcutsTW->findItems(lfun,
|
QList<QTreeWidgetItem*> items = shortcutsTW->findItems(lfun,
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>398</width>
|
<width>409</width>
|
||||||
<height>418</height>
|
<height>418</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@ -27,7 +27,13 @@
|
|||||||
<property name="spacing" >
|
<property name="spacing" >
|
||||||
<number>6</number>
|
<number>6</number>
|
||||||
</property>
|
</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>
|
<spacer>
|
||||||
<property name="orientation" >
|
<property name="orientation" >
|
||||||
<enum>Qt::Vertical</enum>
|
<enum>Qt::Vertical</enum>
|
||||||
@ -37,29 +43,75 @@
|
|||||||
</property>
|
</property>
|
||||||
<property name="sizeHint" >
|
<property name="sizeHint" >
|
||||||
<size>
|
<size>
|
||||||
<width>20</width>
|
<width>51</width>
|
||||||
<height>20</height>
|
<height>83</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
|
<item row="7" column="2" >
|
||||||
|
<widget class="QPushButton" name="modifyPB" >
|
||||||
|
<property name="text" >
|
||||||
|
<string>Modify</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="6" column="2" >
|
||||||
|
<widget class="QPushButton" name="removePB" >
|
||||||
|
<property name="text" >
|
||||||
|
<string>Remove</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<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" >
|
<item row="2" column="2" >
|
||||||
<widget class="QPushButton" name="editPB" >
|
<widget class="QLineEdit" name="lineEdit" >
|
||||||
<property name="text" >
|
<property name="sizePolicy" >
|
||||||
<string>Edit</string>
|
<sizepolicy>
|
||||||
|
<hsizetype>1</hsizetype>
|
||||||
|
<vsizetype>0</vsizetype>
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="0" colspan="2" >
|
<item row="0" column="2" >
|
||||||
<widget class="QLabel" name="shortcutsLBL" >
|
<widget class="QPushButton" name="bindFilePB" >
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string>Shortcuts:</string>
|
<string>B&rowse...</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="1" >
|
|
||||||
<widget class="QLineEdit" name="bindFileED" />
|
|
||||||
</item>
|
|
||||||
<item row="0" column="0" >
|
<item row="0" column="0" >
|
||||||
<widget class="QLabel" name="bindFileLA" >
|
<widget class="QLabel" name="bindFileLA" >
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
@ -70,16 +122,13 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="2" >
|
<item row="1" column="0" colspan="2" >
|
||||||
<widget class="QPushButton" name="bindFilePB" >
|
<widget class="QLabel" name="shortcutsLBL" >
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string>B&rowse...</string>
|
<string>Shortcuts:</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item rowspan="2" row="2" column="0" colspan="2" >
|
|
||||||
<widget class="QTreeWidget" name="shortcutsTW" />
|
|
||||||
</item>
|
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<tabstops>
|
<tabstops>
|
||||||
|
Loading…
Reference in New Issue
Block a user