diff --git a/docs/programmers-guide.md b/docs/programmers-guide.md --- a/docs/programmers-guide.md +++ b/docs/programmers-guide.md @@ -778,6 +778,9 @@ :intext5.0 Words and short phrases which are inserted into a larger piece of text. +:valuesuffix5.46 + Suffix appended to a value, including any spacing + (e.g. in a spinbox). \@info5.0 Any transient information for the user. :tooltip5.0 diff --git a/src/kuitmarkup.cpp b/src/kuitmarkup.cpp --- a/src/kuitmarkup.cpp +++ b/src/kuitmarkup.cpp @@ -148,7 +148,7 @@ WindowCue, MenuCue, TabCue, GroupCue, ColumnCue, RowCue, SliderCue, SpinboxCue, ListboxCue, TextboxCue, ChooserCue, CheckCue, RadioCue, - InlistboxCue, IntableCue, InrangeCue, IntextCue, + InlistboxCue, IntableCue, InrangeCue, IntextCue, ValuesuffixCue, TooltipCue, WhatsthisCue, StatusCue, ProgressCue, TipofthedayCue, CreditCue, ShellCue }; @@ -250,7 +250,7 @@ CheckCue << RadioCue); SET_ROLE(ItemRole, QStringLiteral("item"), InmenuCue << InlistboxCue << IntableCue << InrangeCue - << IntextCue); + << IntextCue << ValuesuffixCue); SET_ROLE(InfoRole, QStringLiteral("info"), TooltipCue << WhatsthisCue << StatusCue << ProgressCue << TipofthedayCue << CreditCue << ShellCue); @@ -280,6 +280,7 @@ SET_CUE(IntableCue, QStringLiteral("intable")); SET_CUE(InrangeCue, QStringLiteral("inrange")); SET_CUE(IntextCue, QStringLiteral("intext")); + SET_CUE(ValuesuffixCue, QStringLiteral("valuesuffix")); SET_CUE(TooltipCue, QStringLiteral("tooltip")); SET_CUE(WhatsthisCue, QStringLiteral("whatsthis")); SET_CUE(StatusCue, QStringLiteral("status"));