mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Make space names more standard
Fix for bug #12547. - "Interword" becomes "Normal" - "Protected" becomes "Non-Breaking" Plus a minor fixes to the "Horizontal Space Settings" dialog: - Indicate that when "Non-Breaking" is disabled, the space will be non-breaking
This commit is contained in:
parent
ed225b8e04
commit
b2a7b715a2
@ -1,5 +1,5 @@
|
|||||||
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
||||||
\lyxformat 608
|
\lyxformat 609
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\save_transient_properties true
|
\save_transient_properties true
|
||||||
@ -129,6 +129,7 @@ shapepar
|
|||||||
\docbook_table_output 0
|
\docbook_table_output 0
|
||||||
\docbook_mathml_prefix 1
|
\docbook_mathml_prefix 1
|
||||||
\author -712698321 "Jürgen Spitzmüller"
|
\author -712698321 "Jürgen Spitzmüller"
|
||||||
|
\author 177693 "x"
|
||||||
\author 5863208 "ab"
|
\author 5863208 "ab"
|
||||||
\author 244031559 "Yuriy"
|
\author 244031559 "Yuriy"
|
||||||
\author 630872221 "Jean-Pierre Chrétien" jeanpierre.chretien@free.fr
|
\author 630872221 "Jean-Pierre Chrétien" jeanpierre.chretien@free.fr
|
||||||
@ -2214,11 +2215,23 @@ misuse
|
|||||||
status collapsed
|
status collapsed
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
\begin_layout Plain Layout
|
||||||
|
|
||||||
|
\change_deleted 177693 1654669036
|
||||||
Protected
|
Protected
|
||||||
|
\change_inserted 177693 1654669038
|
||||||
|
Non-Breaking
|
||||||
|
\change_unchanged
|
||||||
|
|
||||||
\begin_inset space ~
|
\begin_inset space ~
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
|
\change_deleted 177693 1654669040
|
||||||
Blanks
|
Blanks
|
||||||
|
\change_inserted 177693 1654669041
|
||||||
|
Spaces
|
||||||
|
\change_unchanged
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
||||||
\lyxformat 608
|
\lyxformat 609
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\save_transient_properties true
|
\save_transient_properties true
|
||||||
@ -141,6 +141,7 @@ logicalmkup
|
|||||||
\author -712698321 "Jürgen Spitzmüller"
|
\author -712698321 "Jürgen Spitzmüller"
|
||||||
\author -584632292 "Richard Kimberly Heck"
|
\author -584632292 "Richard Kimberly Heck"
|
||||||
\author -495245474 "Jean-Marc Lasgouttes"
|
\author -495245474 "Jean-Marc Lasgouttes"
|
||||||
|
\author 177693 "x"
|
||||||
\author 5863208 "ab"
|
\author 5863208 "ab"
|
||||||
\author 34634807 "Jean-Pierre"
|
\author 34634807 "Jean-Pierre"
|
||||||
\author 232239728 "Owner"
|
\author 232239728 "Owner"
|
||||||
@ -14597,7 +14598,19 @@ FreeSpacing
|
|||||||
Note that
|
Note that
|
||||||
\change_unchanged
|
\change_unchanged
|
||||||
\SpecialChar LyX
|
\SpecialChar LyX
|
||||||
will create protected blanks for the additional blanks when
|
will create
|
||||||
|
\change_deleted 177693 1654669077
|
||||||
|
protected
|
||||||
|
\change_inserted 177693 1654669079
|
||||||
|
non-breaking
|
||||||
|
\change_unchanged
|
||||||
|
|
||||||
|
\change_deleted 177693 1654669082
|
||||||
|
blanks
|
||||||
|
\change_inserted 177693 1654669082
|
||||||
|
spaces
|
||||||
|
\change_unchanged
|
||||||
|
for the additional blanks when
|
||||||
\change_deleted 34634807 1619626461
|
\change_deleted 34634807 1619626461
|
||||||
in
|
in
|
||||||
\change_unchanged
|
\change_unchanged
|
||||||
@ -15544,7 +15557,13 @@ Manual
|
|||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
means the label is the very first word (up to the first real blank).
|
means the label is the very first word (up to the first real blank).
|
||||||
Use protected spaces if you want more than one word as the label.
|
Use
|
||||||
|
\change_deleted 177693 1654669087
|
||||||
|
protected
|
||||||
|
\change_inserted 177693 1654669089
|
||||||
|
non-breaking
|
||||||
|
\change_unchanged
|
||||||
|
spaces if you want more than one word as the label.
|
||||||
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
|
@ -252,6 +252,7 @@ varwidth
|
|||||||
\docbook_mathml_prefix 1
|
\docbook_mathml_prefix 1
|
||||||
\author -1382599118 "Daniel"
|
\author -1382599118 "Daniel"
|
||||||
\author -712698321 "Jürgen Spitzmüller"
|
\author -712698321 "Jürgen Spitzmüller"
|
||||||
|
\author 177693 "x"
|
||||||
\author 630872221 "Jean-Pierre Chrétien" jeanpierre.chretien@free.fr
|
\author 630872221 "Jean-Pierre Chrétien" jeanpierre.chretien@free.fr
|
||||||
\end_header
|
\end_header
|
||||||
|
|
||||||
@ -26539,8 +26540,14 @@ arg "dialog-show-new-inset ref"
|
|||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
It is recommended that you use a protected space between the cross-reference
|
It is recommended that you use a
|
||||||
name and its number to avoid line breaks between them.
|
\change_deleted 177693 1654669168
|
||||||
|
protected
|
||||||
|
\change_inserted 177693 1654669170
|
||||||
|
non-breaking
|
||||||
|
\change_unchanged
|
||||||
|
space between the cross-reference name and its number to avoid line breaks
|
||||||
|
between them.
|
||||||
If a cross-reference refers to a non-existing label, you will see two question
|
If a cross-reference refers to a non-existing label, you will see two question
|
||||||
marks in the output instead of the reference.
|
marks in the output instead of the reference.
|
||||||
\end_layout
|
\end_layout
|
||||||
@ -29608,7 +29615,13 @@ thefigure
|
|||||||
\begin_inset Quotes erd
|
\begin_inset Quotes erd
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
creates a protected space.
|
creates a
|
||||||
|
\change_deleted 177693 1654669177
|
||||||
|
protected
|
||||||
|
\change_inserted 177693 1654669179
|
||||||
|
non-breaking
|
||||||
|
\change_unchanged
|
||||||
|
space.
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
||||||
\lyxformat 606
|
\lyxformat 609
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\save_transient_properties true
|
\save_transient_properties true
|
||||||
@ -232,7 +232,9 @@ subequations
|
|||||||
\html_css_as_file 0
|
\html_css_as_file 0
|
||||||
\html_be_strict false
|
\html_be_strict false
|
||||||
\docbook_table_output 0
|
\docbook_table_output 0
|
||||||
|
\docbook_mathml_prefix 1
|
||||||
\author -563046850 "Jean-Marc LASGOUTTES"
|
\author -563046850 "Jean-Marc LASGOUTTES"
|
||||||
|
\author 177693 "x"
|
||||||
\author 5863208 "ab"
|
\author 5863208 "ab"
|
||||||
\author 47243155 "Jean-Marc"
|
\author 47243155 "Jean-Marc"
|
||||||
\author 232239728 "Owner"
|
\author 232239728 "Owner"
|
||||||
@ -1028,11 +1030,23 @@ always
|
|||||||
be behind the command to end it.
|
be behind the command to end it.
|
||||||
This space doesn't appear in the output.
|
This space doesn't appear in the output.
|
||||||
When the space should appear in the output, the space must be followed
|
When the space should appear in the output, the space must be followed
|
||||||
by a protected space in normal text.
|
by a
|
||||||
|
\change_deleted 177693 1654668848
|
||||||
|
protected
|
||||||
|
\change_inserted 177693 1654668851
|
||||||
|
non-breaking
|
||||||
|
\change_unchanged
|
||||||
|
space in normal text.
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
A protected space is inserted with
|
A
|
||||||
|
\change_deleted 177693 1654668857
|
||||||
|
protected
|
||||||
|
\change_inserted 177693 1654668860
|
||||||
|
non-breaking
|
||||||
|
\change_unchanged
|
||||||
|
space is inserted with
|
||||||
\change_inserted 232239728 1610908934
|
\change_inserted 232239728 1610908934
|
||||||
|
|
||||||
\change_deleted 5863208 1612729787
|
\change_deleted 5863208 1612729787
|
||||||
@ -1060,7 +1074,13 @@ or with the menu selection
|
|||||||
\change_inserted 232239728 1610908897
|
\change_inserted 232239728 1610908897
|
||||||
Insert\SpecialChar menuseparator
|
Insert\SpecialChar menuseparator
|
||||||
Formatting\SpecialChar menuseparator
|
Formatting\SpecialChar menuseparator
|
||||||
Protected Space
|
|
||||||
|
\change_deleted 177693 1654668863
|
||||||
|
Protected
|
||||||
|
\change_inserted 177693 1654668975
|
||||||
|
Non-Breaking Normal
|
||||||
|
\change_inserted 232239728 1610908897
|
||||||
|
Space
|
||||||
\family default
|
\family default
|
||||||
or
|
or
|
||||||
\change_inserted 5863208 1612729638
|
\change_inserted 5863208 1612729638
|
||||||
@ -11215,7 +11235,13 @@ Space ! horizontal ! predefined
|
|||||||
|
|
||||||
\begin_layout Standard
|
\begin_layout Standard
|
||||||
Sometimes it is necessary to insert horizontal space into a formula.
|
Sometimes it is necessary to insert horizontal space into a formula.
|
||||||
This is done by inserting a protected space (shortcut
|
This is done by inserting a
|
||||||
|
\change_deleted 177693 1654668870
|
||||||
|
protected
|
||||||
|
\change_inserted 177693 1654668872
|
||||||
|
non-breaking
|
||||||
|
\change_unchanged
|
||||||
|
space (shortcut
|
||||||
\change_inserted 5863208 1612729962
|
\change_inserted 5863208 1612729962
|
||||||
|
|
||||||
\begin_inset Info
|
\begin_inset Info
|
||||||
@ -11812,7 +11838,13 @@ Number of
|
|||||||
\family sans
|
\family sans
|
||||||
Space
|
Space
|
||||||
\family default
|
\family default
|
||||||
keystrokes after inserting the protected space
|
keystrokes after inserting the
|
||||||
|
\change_deleted 177693 1654668881
|
||||||
|
protected
|
||||||
|
\change_inserted 177693 1654668883
|
||||||
|
non-breaking
|
||||||
|
\change_unchanged
|
||||||
|
space
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\end_inset
|
\end_inset
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
||||||
\lyxformat 600
|
\lyxformat 609
|
||||||
\begin_document
|
\begin_document
|
||||||
\begin_header
|
\begin_header
|
||||||
\save_transient_properties true
|
\save_transient_properties true
|
||||||
@ -21,9 +21,9 @@ logicalmkup
|
|||||||
\font_default_family default
|
\font_default_family default
|
||||||
\use_non_tex_fonts false
|
\use_non_tex_fonts false
|
||||||
\font_sc false
|
\font_sc false
|
||||||
|
\font_roman_osf false
|
||||||
\font_sans_osf false
|
\font_sans_osf false
|
||||||
\font_typewriter_osf false
|
\font_typewriter_osf false
|
||||||
\font_roman_osf false
|
|
||||||
\font_sf_scale 100 100
|
\font_sf_scale 100 100
|
||||||
\font_tt_scale 100 100
|
\font_tt_scale 100 100
|
||||||
\use_microtype false
|
\use_microtype false
|
||||||
@ -88,14 +88,19 @@ logicalmkup
|
|||||||
\papercolumns 1
|
\papercolumns 1
|
||||||
\papersides 2
|
\papersides 2
|
||||||
\paperpagestyle headings
|
\paperpagestyle headings
|
||||||
|
\tablestyle default
|
||||||
\tracking_changes true
|
\tracking_changes true
|
||||||
\postpone_fragile_content false
|
|
||||||
\output_changes false
|
\output_changes false
|
||||||
|
\change_bars false
|
||||||
|
\postpone_fragile_content false
|
||||||
\html_math_output 0
|
\html_math_output 0
|
||||||
\html_css_as_file 0
|
\html_css_as_file 0
|
||||||
\html_be_strict false
|
\html_be_strict false
|
||||||
|
\docbook_table_output 0
|
||||||
|
\docbook_mathml_prefix 1
|
||||||
\author -712698321 "Jürgen Spitzmüller"
|
\author -712698321 "Jürgen Spitzmüller"
|
||||||
\author -131811572 "Yuriy Skalko"
|
\author -131811572 "Yuriy Skalko"
|
||||||
|
\author 177693 "x"
|
||||||
\end_header
|
\end_header
|
||||||
|
|
||||||
\begin_body
|
\begin_body
|
||||||
@ -1630,11 +1635,25 @@ Return
|
|||||||
item
|
item
|
||||||
\emph default
|
\emph default
|
||||||
, one way is to use the
|
, one way is to use the
|
||||||
|
\change_deleted 177693 1654668928
|
||||||
|
|
||||||
\family sans
|
\family sans
|
||||||
Protected
|
Protected
|
||||||
|
\change_inserted 177693 1654668930
|
||||||
|
Non-Breaking
|
||||||
|
\change_deleted 177693 1654668945
|
||||||
|
|
||||||
\begin_inset space ~
|
\begin_inset space ~
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
|
\change_inserted 177693 1654668949
|
||||||
|
Normal
|
||||||
|
\begin_inset space ~
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
|
\change_unchanged
|
||||||
Break
|
Break
|
||||||
\family default
|
\family default
|
||||||
, which you get by typing
|
, which you get by typing
|
||||||
@ -1773,11 +1792,25 @@ List
|
|||||||
) from the rest of the paragraph.
|
) from the rest of the paragraph.
|
||||||
If you want to have more than one word in the definition, then separate
|
If you want to have more than one word in the definition, then separate
|
||||||
the words with
|
the words with
|
||||||
|
\change_deleted 177693 1654668936
|
||||||
|
|
||||||
\family sans
|
\family sans
|
||||||
Protected
|
Protected
|
||||||
|
\change_inserted 177693 1654668939
|
||||||
|
Non-Breaking
|
||||||
|
\change_unchanged
|
||||||
|
|
||||||
\begin_inset space ~
|
\begin_inset space ~
|
||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
|
\change_inserted 177693 1654668953
|
||||||
|
Normal
|
||||||
|
\begin_inset space ~
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
|
\change_unchanged
|
||||||
Space
|
Space
|
||||||
\family default
|
\family default
|
||||||
s.
|
s.
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -261,21 +261,21 @@ Menuset
|
|||||||
# InsetSpace context menu
|
# InsetSpace context menu
|
||||||
#
|
#
|
||||||
Menu "context-space"
|
Menu "context-space"
|
||||||
Item "Interword Space|w" "inset-modify space \space{}"
|
Item "Normal Space|w" "inset-modify space \space{}"
|
||||||
Item "Protected Space|o" "inset-modify space ~"
|
Item "Non-Breaking Normal Space|o" "inset-modify space ~"
|
||||||
Item "Visible Space|a" "inset-modify space \textvisiblespace{}"
|
Item "Visible Space|a" "inset-modify space \textvisiblespace{}"
|
||||||
Item "Thin Space|T" "inset-modify space \thinspace{}"
|
Item "Non-Breaking Thin Space (1/6 em)|T" "inset-modify space \thinspace{}"
|
||||||
Item "Medium Space|M" "inset-modify space \medspace{}"
|
Item "Non-Breaking Medium Space (3/9 em)|M" "inset-modify space \medspace{}"
|
||||||
Item "Thick Space|i" "inset-modify space \thickspace{}"
|
Item "Non-Breaking Thick Space (5/18 em Non-Breaking )|i" "inset-modify space \thickspace{}"
|
||||||
Item "Negative Thin Space|N" "inset-modify space \negthinspace{}"
|
Item "Non-Breaking Negative Thin Space (-1/6 em)|N" "inset-modify space \negthinspace{}"
|
||||||
Item "Negative Medium Space|v" "inset-modify space \negmedspace{}"
|
Item "Non-Breaking Negative Medium Space (-2/9 em)|v" "inset-modify space \negmedspace{}"
|
||||||
Item "Negative Thick Space|h" "inset-modify space \negthickspace{}"
|
Item "Non-Breaking Negative Thick Space (-5/18 em)|h" "inset-modify space \negthickspace{}"
|
||||||
Item "Half Quad Space (Enskip)|k" "inset-modify space \enskip{}"
|
Item "Half Quad Space (1/2 em)|k" "inset-modify space \enskip{}"
|
||||||
Item "Protected Half Quad Space (Enspace)|E" "inset-modify space \enspace{}"
|
Item "Non-Breaking Half Quad Space (1/2 em)|E" "inset-modify space \enspace{}"
|
||||||
Item "Quad Space|Q" "inset-modify space \quad{}"
|
Item "Quad Space (1 em)|Q" "inset-modify space \quad{}"
|
||||||
Item "Double Quad Space|u" "inset-modify space \qquad{}"
|
Item "Double Quad Space (2 em)|u" "inset-modify space \qquad{}"
|
||||||
Item "Horizontal Fill|F" "inset-modify space \hfill{}"
|
Item "Horizontal Fill|F" "inset-modify space \hfill{}"
|
||||||
Item "Protected Horizontal Fill|z" "inset-modify space \hspace*{\fill}"
|
Item "Non-Breaking Horizontal Fill|z" "inset-modify space \hspace*{\fill}"
|
||||||
Item "Horizontal Fill (Dots)|D" "inset-modify space \dotfill{}"
|
Item "Horizontal Fill (Dots)|D" "inset-modify space \dotfill{}"
|
||||||
Item "Horizontal Fill (Rule)|R" "inset-modify space \hrulefill{}"
|
Item "Horizontal Fill (Rule)|R" "inset-modify space \hrulefill{}"
|
||||||
Item "Horizontal Fill (Left Arrow)|L" "inset-modify space \leftarrowfill{}"
|
Item "Horizontal Fill (Left Arrow)|L" "inset-modify space \leftarrowfill{}"
|
||||||
|
@ -415,7 +415,7 @@ Menuset
|
|||||||
Item "End of Sentence|E" "specialchar-insert end-of-sentence"
|
Item "End of Sentence|E" "specialchar-insert end-of-sentence"
|
||||||
Item "Plain Quotation Mark|Q" "quote-insert outer auto plain"
|
Item "Plain Quotation Mark|Q" "quote-insert outer auto plain"
|
||||||
Item "Inner Quotation Mark|n" "quote-insert inner"
|
Item "Inner Quotation Mark|n" "quote-insert inner"
|
||||||
Item "Protected Hyphen|y" "specialchar-insert nobreakdash"
|
Item "Non-Breaking Hyphen|y" "specialchar-insert nobreakdash"
|
||||||
Item "Breakable Slash|a" "specialchar-insert slash"
|
Item "Breakable Slash|a" "specialchar-insert slash"
|
||||||
Item "Visible Space|V" "space-insert visible"
|
Item "Visible Space|V" "space-insert visible"
|
||||||
Item "Menu Separator|M" "specialchar-insert menu-separator"
|
Item "Menu Separator|M" "specialchar-insert menu-separator"
|
||||||
@ -451,9 +451,9 @@ Menuset
|
|||||||
Item "Superscript|S" "script-insert superscript"
|
Item "Superscript|S" "script-insert superscript"
|
||||||
Item "Subscript|u" "script-insert subscript"
|
Item "Subscript|u" "script-insert subscript"
|
||||||
Separator
|
Separator
|
||||||
Item "Protected Space|P" "space-insert protected"
|
Item "Normal Space|w" "space-insert normal"
|
||||||
Item "Interword Space|w" "space-insert normal"
|
Item "Non-breaking Normal Space|P" "space-insert protected"
|
||||||
Item "Thin Space|T" "space-insert thin"
|
Item "Non-breaking Thin Space|T" "space-insert thin"
|
||||||
Item "Horizontal Space...|o" "command-alternatives dialog-show-new-inset space;dialog-show-new-inset mathspace"
|
Item "Horizontal Space...|o" "command-alternatives dialog-show-new-inset space;dialog-show-new-inset mathspace"
|
||||||
Item "Horizontal Line...|L" "dialog-show-new-inset line"
|
Item "Horizontal Line...|L" "dialog-show-new-inset line"
|
||||||
Item "Vertical Space...|V" "dialog-show-new-inset vspace"
|
Item "Vertical Space...|V" "dialog-show-new-inset vspace"
|
||||||
|
@ -41,7 +41,7 @@ GuiHSpace::GuiHSpace(bool math_mode, QWidget * parent)
|
|||||||
setupUi(this);
|
setupUi(this);
|
||||||
|
|
||||||
spacingCO->clear();
|
spacingCO->clear();
|
||||||
spacingCO->addItem(qt_("Interword Space"), "normal");
|
spacingCO->addItem(qt_("Normal Space"), "normal");
|
||||||
spacingCO->addItem(qt_("Thin Space (1/6 em)"), "thinspace");
|
spacingCO->addItem(qt_("Thin Space (1/6 em)"), "thinspace");
|
||||||
spacingCO->addItem(qt_("Medium Space (2/9 em)"), "medspace");
|
spacingCO->addItem(qt_("Medium Space (2/9 em)"), "medspace");
|
||||||
spacingCO->addItem(qt_("Thick Space (5/18 em)"), "thickspace");
|
spacingCO->addItem(qt_("Thick Space (5/18 em)"), "thickspace");
|
||||||
@ -112,6 +112,10 @@ void GuiHSpace::enableWidgets() const
|
|||||||
|| (selection == "hfill" && no_pattern) || custom;
|
|| (selection == "hfill" && no_pattern) || custom;
|
||||||
keepCB->setEnabled(enable_keep);
|
keepCB->setEnabled(enable_keep);
|
||||||
keepL->setEnabled(enable_keep);
|
keepL->setEnabled(enable_keep);
|
||||||
|
// When Non-Breaking is disabled indicate that this is a non-breaking state
|
||||||
|
// by enabling the check-box
|
||||||
|
if (!enable_keep)
|
||||||
|
keepCB->setCheckState(Qt::Checked);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,138 +1,133 @@
|
|||||||
<ui version="4.0" >
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
<class>HSpaceUi</class>
|
<class>HSpaceUi</class>
|
||||||
<widget class="QWidget" name="HSpaceUi" >
|
<widget class="QWidget" name="HSpaceUi">
|
||||||
<property name="geometry" >
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>239</width>
|
<width>329</width>
|
||||||
<height>110</height>
|
<height>148</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle" >
|
<property name="windowTitle">
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizeGripEnabled" stdset="0" >
|
<property name="sizeGripEnabled" stdset="0">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" >
|
<layout class="QGridLayout">
|
||||||
<property name="margin" >
|
<item row="2" column="1">
|
||||||
<number>9</number>
|
<widget class="QComboBox" name="fillPatternCO">
|
||||||
</property>
|
<property name="toolTip">
|
||||||
<property name="spacing" >
|
|
||||||
<number>6</number>
|
|
||||||
</property>
|
|
||||||
<item row="2" column="1" >
|
|
||||||
<widget class="QComboBox" name="fillPatternCO" >
|
|
||||||
<property name="toolTip" >
|
|
||||||
<string>Select a fill pattern style for HFills</string>
|
<string>Select a fill pattern style for HFills</string>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<property name="text" >
|
<property name="text">
|
||||||
<string>None</string>
|
<string>None</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text" >
|
<property name="text">
|
||||||
<string>...............</string>
|
<string>...............</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text" >
|
<property name="text">
|
||||||
<string>________</string>
|
<string>________</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text" >
|
<property name="text">
|
||||||
<string><-----------</string>
|
<string><-----------</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text" >
|
<property name="text">
|
||||||
<string>-----------></string>
|
<string>-----------></string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text" >
|
<property name="text">
|
||||||
<string>\-----v-----/</string>
|
<string>\-----v-----/</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text" >
|
<property name="text">
|
||||||
<string>/-----^-----\</string>
|
<string>/-----^-----\</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="0" >
|
<item row="0" column="0">
|
||||||
<widget class="QLabel" name="spacingL" >
|
<widget class="QLabel" name="spacingL">
|
||||||
<property name="text" >
|
<property name="text">
|
||||||
<string>&Spacing:</string>
|
<string>&Spacing:</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="buddy" >
|
<property name="buddy">
|
||||||
<cstring>spacingCO</cstring>
|
<cstring>spacingCO</cstring>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="1" colspan="2" >
|
<item row="0" column="1" colspan="2">
|
||||||
<widget class="QComboBox" name="spacingCO" >
|
<widget class="QComboBox" name="spacingCO">
|
||||||
<property name="toolTip" >
|
<property name="toolTip">
|
||||||
<string>Supported spacing types</string>
|
<string>Supported spacing types</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="0" >
|
<item row="1" column="0">
|
||||||
<widget class="QLabel" name="valueL" >
|
<widget class="QLabel" name="valueL">
|
||||||
<property name="text" >
|
<property name="text">
|
||||||
<string>&Value:</string>
|
<string>&Value:</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="buddy" >
|
<property name="buddy">
|
||||||
<cstring>valueLE</cstring>
|
<cstring>valueLE</cstring>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="1" >
|
<item row="1" column="1">
|
||||||
<widget class="QLineEdit" name="valueLE" >
|
<widget class="QLineEdit" name="valueLE">
|
||||||
<property name="enabled" >
|
<property name="enabled">
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip" >
|
<property name="toolTip">
|
||||||
<string>Custom value. Needs spacing type "Custom".</string>
|
<string>Custom value. Needs spacing type "Custom".</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="2" >
|
<item row="1" column="2">
|
||||||
<widget class="lyx::frontend::LengthCombo" name="unitCO" />
|
<widget class="lyx::frontend::LengthCombo" name="unitCO"/>
|
||||||
</item>
|
</item>
|
||||||
<item row="2" column="0" >
|
<item row="2" column="0">
|
||||||
<widget class="QLabel" name="fillPatternL" >
|
<widget class="QLabel" name="fillPatternL">
|
||||||
<property name="text" >
|
<property name="text">
|
||||||
<string>&Fill Pattern:</string>
|
<string>&Fill Pattern:</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="buddy" >
|
<property name="buddy">
|
||||||
<cstring>fillPatternCO</cstring>
|
<cstring>fillPatternCO</cstring>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="0" >
|
<item row="3" column="0">
|
||||||
<widget class="QLabel" name="keepL" >
|
<widget class="QLabel" name="keepL">
|
||||||
<property name="toolTip" >
|
<property name="toolTip">
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
<property name="text" >
|
<property name="text">
|
||||||
<string>&Protect:</string>
|
<string>&Non-Breaking:</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="buddy" >
|
<property name="buddy">
|
||||||
<cstring>keepCB</cstring>
|
<cstring>keepCB</cstring>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="1" colspan="2" >
|
<item row="3" column="1" colspan="2">
|
||||||
<widget class="QCheckBox" name="keepCB" >
|
<widget class="QCheckBox" name="keepCB">
|
||||||
<property name="toolTip" >
|
<property name="toolTip">
|
||||||
<string>Insert the spacing even after a line break</string>
|
<string>Prevent automatic line break at the space</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text" >
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
@ -152,7 +147,7 @@
|
|||||||
<tabstop>keepCB</tabstop>
|
<tabstop>keepCB</tabstop>
|
||||||
</tabstops>
|
</tabstops>
|
||||||
<includes>
|
<includes>
|
||||||
<include location="local" >qt_i18n.h</include>
|
<include location="local">qt_i18n.h</include>
|
||||||
</includes>
|
</includes>
|
||||||
<resources/>
|
<resources/>
|
||||||
<connections/>
|
<connections/>
|
||||||
|
@ -65,67 +65,67 @@ docstring InsetSpace::toolTip(BufferView const &, int, int) const
|
|||||||
docstring message;
|
docstring message;
|
||||||
switch (params_.kind) {
|
switch (params_.kind) {
|
||||||
case InsetSpaceParams::NORMAL:
|
case InsetSpaceParams::NORMAL:
|
||||||
message = _("Interword Space");
|
message = _("Normal Space");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::PROTECTED:
|
case InsetSpaceParams::PROTECTED:
|
||||||
message = _("Protected Space");
|
message = _("Non-Breaking Normal Space");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::VISIBLE:
|
case InsetSpaceParams::VISIBLE:
|
||||||
message = _("Visible Space");
|
message = _("Non-Breaking Visible Normal Space");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::THIN:
|
case InsetSpaceParams::THIN:
|
||||||
message = _("Thin Space");
|
message = _("Non-Breaking Thin Space (1/6 em)");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::MEDIUM:
|
case InsetSpaceParams::MEDIUM:
|
||||||
message = _("Medium Space");
|
message = _("Non-Breaking Medium Space (2/9 em)");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::THICK:
|
case InsetSpaceParams::THICK:
|
||||||
message = _("Thick Space");
|
message = _("Non-Breaking Thick Space (5/18 em)");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::QUAD:
|
case InsetSpaceParams::QUAD:
|
||||||
message = _("Quad Space");
|
message = _("Quad Space (1 em)");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::QQUAD:
|
case InsetSpaceParams::QQUAD:
|
||||||
message = _("Double Quad Space");
|
message = _("Double Quad Space (2 em)");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::ENSPACE:
|
case InsetSpaceParams::ENSPACE:
|
||||||
message = _("Enspace");
|
message = _("Non-Breaking Half Quad Space (1/2 em)");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::ENSKIP:
|
case InsetSpaceParams::ENSKIP:
|
||||||
message = _("Enskip");
|
message = _("Half Quad Space (1/2 em)");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::NEGTHIN:
|
case InsetSpaceParams::NEGTHIN:
|
||||||
message = _("Negative Thin Space");
|
message = _("Non-Breaking Negative Thin Space (-1/6 em)");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::NEGMEDIUM:
|
case InsetSpaceParams::NEGMEDIUM:
|
||||||
message = _("Negative Medium Space");
|
message = _("Non-Breaking Negative Medium Space (-2/9 em)");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::NEGTHICK:
|
case InsetSpaceParams::NEGTHICK:
|
||||||
message = _("Negative Thick Space");
|
message = _("Non-Breaking Negative Thick Space (-5/18 em)");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::HFILL:
|
case InsetSpaceParams::HFILL:
|
||||||
message = _("Horizontal Fill");
|
message = _("Horizontal Fill");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::HFILL_PROTECTED:
|
case InsetSpaceParams::HFILL_PROTECTED:
|
||||||
message = _("Protected Horizontal Fill");
|
message = _("Non-Breaking Horizontal Fill");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::DOTFILL:
|
case InsetSpaceParams::DOTFILL:
|
||||||
message = _("Horizontal Fill (Dots)");
|
message = _("Non-Breaking Horizontal Fill (Dots)");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::HRULEFILL:
|
case InsetSpaceParams::HRULEFILL:
|
||||||
message = _("Horizontal Fill (Rule)");
|
message = _("Non-Breaking Horizontal Fill (Rule)");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::LEFTARROWFILL:
|
case InsetSpaceParams::LEFTARROWFILL:
|
||||||
message = _("Horizontal Fill (Left Arrow)");
|
message = _("Non-Breaking Horizontal Fill (Left Arrow)");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::RIGHTARROWFILL:
|
case InsetSpaceParams::RIGHTARROWFILL:
|
||||||
message = _("Horizontal Fill (Right Arrow)");
|
message = _("Non-Breaking Horizontal Fill (Right Arrow)");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::UPBRACEFILL:
|
case InsetSpaceParams::UPBRACEFILL:
|
||||||
message = _("Horizontal Fill (Up Brace)");
|
message = _("Non-Breaking Horizontal Fill (Up Brace)");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::DOWNBRACEFILL:
|
case InsetSpaceParams::DOWNBRACEFILL:
|
||||||
message = _("Horizontal Fill (Down Brace)");
|
message = _("Non-Breaking Horizontal Fill (Down Brace)");
|
||||||
break;
|
break;
|
||||||
case InsetSpaceParams::CUSTOM:
|
case InsetSpaceParams::CUSTOM:
|
||||||
// FIXME unicode
|
// FIXME unicode
|
||||||
@ -134,7 +134,7 @@ docstring InsetSpace::toolTip(BufferView const &, int, int) const
|
|||||||
break;
|
break;
|
||||||
case InsetSpaceParams::CUSTOM_PROTECTED:
|
case InsetSpaceParams::CUSTOM_PROTECTED:
|
||||||
// FIXME unicode
|
// FIXME unicode
|
||||||
message = support::bformat(_("Protected Horizontal Space (%1$s)"),
|
message = support::bformat(_("Non-Breaking Horizontal Space (%1$s)"),
|
||||||
from_ascii(params_.length.asString()));
|
from_ascii(params_.length.asString()));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user