* resorted completion options. Now by text and math.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23314 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2008-02-28 12:42:34 +00:00
parent 399ef7f80c
commit 7271db36c5

View File

@ -5,8 +5,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>432</width> <width>480</width>
<height>567</height> <height>609</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle" >
@ -116,19 +116,19 @@
<item> <item>
<widget class="QGroupBox" name="groupBox_2" > <widget class="QGroupBox" name="groupBox_2" >
<property name="title" > <property name="title" >
<string>Popup</string> <string>In Text</string>
</property> </property>
<property name="flat" > <property name="flat" >
<bool>false</bool> <bool>false</bool>
</property> </property>
<layout class="QVBoxLayout" > <layout class="QVBoxLayout" >
<item> <item>
<widget class="QCheckBox" name="popupMathCB" > <widget class="QCheckBox" name="inlineTextCB" >
<property name="toolTip" > <property name="toolTip" >
<string>Show the popup in math mode after the delay.</string> <string>Show the grey inline completion behind the cursor in text mode after the delay.</string>
</property> </property>
<property name="text" > <property name="text" >
<string>Automatically show in math mode</string> <string>Automatic inline completion</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -138,71 +138,17 @@
<string>Show the popup after the set delay in text mode.</string> <string>Show the popup after the set delay in text mode.</string>
</property> </property>
<property name="text" > <property name="text" >
<string>Automatically show in text mode</string> <string>Automatic popup</string>
</property> </property>
</widget> </widget>
</item> </item>
<item>
<widget class="QCheckBox" name="popupAfterCompleteCB" >
<property name="toolTip" >
<string>When the TAB completion is not unique, there won't be a delay of the popup. It will be shown right away.</string>
</property>
<property name="text" >
<string>Show without delay for non-unique completions</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" >
<item>
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>Delay</string>
</property>
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="popupDelaySB" >
<property name="toolTip" >
<string>After the cursor has not moved for this time, the completion popup is shown if it is available.</string>
</property>
<property name="maximum" >
<double>10.000000000000000</double>
</property>
<property name="singleStep" >
<double>0.100000000000000</double>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label" >
<property name="text" >
<string>s</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QGroupBox" name="groupBox_3" > <widget class="QGroupBox" name="groupBox_3" >
<property name="title" > <property name="title" >
<string>Inline</string> <string>In Math</string>
</property> </property>
<property name="flat" > <property name="flat" >
<bool>false</bool> <bool>false</bool>
@ -214,39 +160,31 @@
<string>Show the grey inline completion behind the cursor in math mode after the delay.</string> <string>Show the grey inline completion behind the cursor in math mode after the delay.</string>
</property> </property>
<property name="text" > <property name="text" >
<string>Automatically show in math mode</string> <string>Automatic inline completion</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QCheckBox" name="inlineTextCB" > <widget class="QCheckBox" name="popupMathCB" >
<property name="toolTip" > <property name="toolTip" >
<string>Show the grey inline completion behind the cursor in text mode after the delay.</string> <string>Show the popup in math mode after the delay.</string>
</property> </property>
<property name="text" > <property name="text" >
<string>Automatically show in text mode</string> <string>Automatic popup</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="inlineDotsCB" >
<property name="toolTip" >
<string>Long completions are cut-off and shown with "...".</string>
</property>
<property name="text" >
<string>Use "..." to shorten long completions</string>
</property> </property>
</widget> </widget>
</item> </item>
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_4" >
<property name="title" >
<string>General</string>
</property>
<layout class="QVBoxLayout" >
<item> <item>
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<item>
<widget class="QLabel" name="label_4" >
<property name="text" >
<string>Delay</string>
</property>
</widget>
</item>
<item> <item>
<widget class="QDoubleSpinBox" name="inlineDelaySB" > <widget class="QDoubleSpinBox" name="inlineDelaySB" >
<property name="toolTip" > <property name="toolTip" >
@ -261,9 +199,9 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLabel" name="label_2" > <widget class="QLabel" name="label_4" >
<property name="text" > <property name="text" >
<string>s</string> <string>s inline completion delay</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -282,6 +220,63 @@
</item> </item>
</layout> </layout>
</item> </item>
<item>
<layout class="QHBoxLayout" >
<item>
<widget class="QDoubleSpinBox" name="popupDelaySB" >
<property name="toolTip" >
<string>After the cursor has not moved for this time, the completion popup is shown if it is available.</string>
</property>
<property name="maximum" >
<double>10.000000000000000</double>
</property>
<property name="singleStep" >
<double>0.100000000000000</double>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3" >
<property name="text" >
<string>s popup delay</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<widget class="QCheckBox" name="popupAfterCompleteCB" >
<property name="toolTip" >
<string>When the TAB completion is not unique, there won't be a delay of the popup. It will be shown right away.</string>
</property>
<property name="text" >
<string>Show popup without delay for non-unique completions</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="inlineDotsCB" >
<property name="toolTip" >
<string>Long completions are cut-off and shown with "...".</string>
</property>
<property name="text" >
<string>Use "..." to shorten long completions</string>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
@ -358,8 +353,8 @@
</property> </property>
<property name="sizeHint" > <property name="sizeHint" >
<size> <size>
<width>20</width> <width>408</width>
<height>51</height> <height>16</height>
</size> </size>
</property> </property>
</spacer> </spacer>