* some UI clarification on \enspace vs. \enskip

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24087 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-04-01 14:53:29 +00:00
parent 73ad1dd688
commit c2ebb0b952
3 changed files with 74 additions and 68 deletions

View File

@ -149,11 +149,11 @@ Menuset
Item "Interword Space|w" "next-inset-modify space \space{}" Item "Interword Space|w" "next-inset-modify space \space{}"
Item "Protected Space|o" "next-inset-modify space ~" Item "Protected Space|o" "next-inset-modify space ~"
Item "Thin Space|T" "next-inset-modify space \thinspace{}" Item "Thin Space|T" "next-inset-modify space \thinspace{}"
Item "Quad Space|Q" "next-inset-modify space \quad{}"
Item "QQuad Space|u" "next-inset-modify space \qquad{}"
Item "Enspace|E" "next-inset-modify space \enspace{}"
Item "Enskip|k" "next-inset-modify space \enskip{}"
Item "Negative Thin Space|N" "next-inset-modify space \negthinspace{}" Item "Negative Thin Space|N" "next-inset-modify space \negthinspace{}"
Item "Half Quad Space (Enskip)|k" "next-inset-modify space \enskip{}"
Item "Protected Half Quad Space (Enspace)|E" "next-inset-modify space \enspace{}"
Item "Quad Space|Q" "next-inset-modify space \quad{}"
Item "Double Quad Space|u" "next-inset-modify space \qquad{}"
Item "Horizontal Fill|F" "next-inset-modify space \hfill{}" Item "Horizontal Fill|F" "next-inset-modify space \hfill{}"
Item "Protected Horizontal Fill|i" "next-inset-modify space \hspace*{\fill}" Item "Protected Horizontal Fill|i" "next-inset-modify space \hspace*{\fill}"
Item "Horizontal Fill (Dots)|D" "next-inset-modify space \dotfill{}" Item "Horizontal Fill (Dots)|D" "next-inset-modify space \dotfill{}"

View File

@ -96,6 +96,12 @@ void GuiHSpace::enableWidgets(int selection)
selection == 0 || selection == 3 || selection == 0 || selection == 3 ||
(selection == 6 && pattern == 0) || selection == 7; (selection == 6 && pattern == 0) || selection == 7;
keepCB->setEnabled(enable_keep); keepCB->setEnabled(enable_keep);
if (selection == 3)
keepCB->setToolTip(qt_("Insert the spacing even after a line break.\n"
"Note that a protected Half Quad will be turned into\n"
"a vertical space if used at the beginning of a paragraph!"));
else
keepCB->setToolTip(qt_("Insert the spacing even after a line break"));
changed(); changed();
} }

View File

@ -76,7 +76,7 @@
</item> </item>
<item> <item>
<property name="text" > <property name="text" >
<string>Enspace (0.5 em)</string> <string>Half Quad (0.5 em)</string>
</property> </property>
</item> </item>
<item> <item>
@ -86,7 +86,7 @@
</item> </item>
<item> <item>
<property name="text" > <property name="text" >
<string>QQuad (2 em)</string> <string>Double Quad (2 em)</string>
</property> </property>
</item> </item>
<item> <item>