PrefCompletionUi.ui: change label and add tooltip for word length settings

as discussed on the list with Richard
This commit is contained in:
Uwe Stöhr 2014-03-23 02:59:06 +01:00 committed by Richard Heck
parent 1c63718111
commit 3f1c6eb7d5

View File

@ -1,7 +1,8 @@
<ui version="4.0" >
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PrefCompletionUi</class>
<widget class="QWidget" name="PrefCompletionUi" >
<property name="geometry" >
<widget class="QWidget" name="PrefCompletionUi">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
@ -9,54 +10,54 @@
<height>404</height>
</rect>
</property>
<property name="windowTitle" >
<property name="windowTitle">
<string/>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<layout class="QGridLayout">
<property name="margin">
<number>9</number>
</property>
<property name="spacing" >
<property name="spacing">
<number>6</number>
</property>
<item row="1" column="0" >
<widget class="QGroupBox" name="groupBox_3" >
<property name="title" >
<item row="1" column="0">
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>In Math</string>
</property>
<property name="flat" >
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<layout class="QVBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>9</number>
</property>
<item>
<widget class="QCheckBox" name="inlineMathCB" >
<property name="toolTip" >
<widget class="QCheckBox" name="inlineMathCB">
<property name="toolTip">
<string>Show the grey inline completion behind the cursor in math mode after the delay.</string>
</property>
<property name="text" >
<property name="text">
<string>Automatic in&amp;line completion</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="popupMathCB" >
<property name="toolTip" >
<widget class="QCheckBox" name="popupMathCB">
<property name="toolTip">
<string>Show the popup in math mode after the delay.</string>
</property>
<property name="text" >
<property name="text">
<string>Automatic p&amp;opup</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="autocorrectionCB" >
<property name="text" >
<widget class="QCheckBox" name="autocorrectionCB">
<property name="text">
<string>Autoco&amp;rrection</string>
</property>
</widget>
@ -64,47 +65,47 @@
</layout>
</widget>
</item>
<item row="0" column="0" >
<widget class="QGroupBox" name="groupBox_2" >
<property name="title" >
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>In Text</string>
</property>
<property name="flat" >
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<layout class="QVBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>9</number>
</property>
<item>
<widget class="QCheckBox" name="inlineTextCB" >
<property name="toolTip" >
<widget class="QCheckBox" name="inlineTextCB">
<property name="toolTip">
<string>Show the grey inline completion behind the cursor in text mode after the delay.</string>
</property>
<property name="text" >
<property name="text">
<string>Automatic &amp;inline completion</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="popupTextCB" >
<property name="toolTip" >
<widget class="QCheckBox" name="popupTextCB">
<property name="toolTip">
<string>Show the popup after the set delay in text mode.</string>
</property>
<property name="text" >
<property name="text">
<string>Automatic &amp;popup</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="cursorTextCB" >
<property name="toolTip" >
<widget class="QCheckBox" name="cursorTextCB">
<property name="toolTip">
<string>Show a small triangle on the cursor if a completion is available in text mode.</string>
</property>
<property name="text" >
<property name="text">
<string>Cursor i&amp;ndicator</string>
</property>
</widget>
@ -112,58 +113,58 @@
</layout>
</widget>
</item>
<item row="2" column="0" >
<widget class="QGroupBox" name="groupBox_4" >
<property name="title" >
<item row="2" column="0">
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>General</string>
</property>
<property name="flat" >
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<layout class="QVBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>9</number>
</property>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<layout class="QHBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QDoubleSpinBox" name="inlineDelaySB" >
<property name="toolTip" >
<widget class="QDoubleSpinBox" name="inlineDelaySB">
<property name="toolTip">
<string>After the cursor has not moved for this time, the inline completion is shown if it is available.</string>
</property>
<property name="maximum" >
<property name="maximum">
<double>10.000000000000000</double>
</property>
<property name="singleStep" >
<property name="singleStep">
<double>0.100000000000000</double>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_4" >
<property name="text" >
<widget class="QLabel" name="label_4">
<property name="text">
<string>s inline completion dela&amp;y</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>inlineDelaySB</cstring>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
@ -174,42 +175,42 @@
</layout>
</item>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<layout class="QHBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QDoubleSpinBox" name="popupDelaySB" >
<property name="toolTip" >
<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" >
<property name="maximum">
<double>10.000000000000000</double>
</property>
<property name="singleStep" >
<property name="singleStep">
<double>0.100000000000000</double>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3" >
<property name="text" >
<widget class="QLabel" name="label_3">
<property name="text">
<string>s popup d&amp;elay</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>popupDelaySB</cstring>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
@ -220,17 +221,17 @@
</layout>
</item>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<layout class="QHBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QSpinBox" name="minlengthSB" >
<property name="toolTip" >
<string>.</string>
<widget class="QSpinBox" name="minlengthSB">
<property name="toolTip">
<string>Words with less than the specified number of characters will not be completed.</string>
</property>
<property name="minimum">
<number>5</number>
@ -244,21 +245,21 @@
</widget>
</item>
<item>
<widget class="QLabel" name="label_5" >
<property name="text" >
<string>Minimum word length for completion</string>
<widget class="QLabel" name="label_5">
<property name="text">
<string>Minimum characters for words that should be completed</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>minlengthSB</cstring>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
@ -269,37 +270,37 @@
</layout>
</item>
<item>
<widget class="QCheckBox" name="popupAfterCompleteCB" >
<property name="toolTip" >
<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" >
<property name="text">
<string>Sho&amp;w 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>
<widget class="QCheckBox" name="inlineDotsCB">
<property name="toolTip">
<string>Long completions are cut-off and shown with &quot;...&quot;.</string>
</property>
<property name="text" >
<string>&amp;Use "..." to shorten long completions</string>
<property name="text">
<string>&amp;Use &quot;...&quot; to shorten long completions</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="3" column="0" >
<item row="3" column="0">
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>0</width>
<height>16</height>
@ -318,7 +319,7 @@
<tabstop>autocorrectionCB</tabstop>
</tabstops>
<includes>
<include location="local" >qt_i18n.h</include>
<include location="local">qt_i18n.h</include>
</includes>
<resources/>
<connections/>