[Kst] [Bug 121161] A help dialog with label syntax is needed
George Staikos
staikos at kde.org
Sun Jun 18 18:00:51 CEST 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=121161
staikos kde org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From staikos kde org 2006-06-18 18:00 -------
SVN commit 552632 by staikos:
Add whatsthis text to the label editor. It's a good first step, though the
syntax highlighter will probably be more useful in the long term.
FEATURE: 121161
M +3 -0 viewlabelwidget.ui.h
--- trunk/extragear/graphics/kst/src/libkstapp/viewlabelwidget.ui.h #552631:552632
@ -22,6 +22,7 @
_vertical->insertItem(i18n("Bottom"));
_vertical->insertItem(i18n("Center"));
+ QWhatsThis::add(_text, i18n("<qt>The syntax for labels is a derivative of a subset of LaTeX. Supported syntax is: <b>\\[greeklettername]</b> and <b>\\[Greeklettername]</b>, <b>\\approx</b>, <b>\\cdot</b>, <b>\\ge</b>, <b>\\geq</b>, <b>\\inf</b>, <b>\\int</b>, <b>\\le</b>, <b>\\leq</b>, <b>\\ne</b>, <b>\\n</b>, <b>\\partial</b>, <b>\\prod</b>, <b>\\pm</b>, <b>\\textcolor{color name}{colored text}</b>, <b>\\textbf{bold text}</b>, <b>\\textit{italicized text}</b>, <b>\\t</b>, <b>\\sum</b>, <b>\\sqrt</b>, <b>\\underline{underlined text}</b>, <b>x^y</b>, <b>x_y</b>. Data references and embedded expressions should be enclosed in square brackets. Example: <i>[=[MyScalar]/2]</i>"));
}
@ -29,3 +30,5 @
{
_text->insert("["+S+"]");
}
+
+// vim: ts=8 sw=4 noet
More information about the Kst
mailing list