PDA

View Full Version : math symbols



genick bar-meir
16th August 2007, 15:32
Hi everyone,

A while ago I got help in inserting Greek symbols in to my application:
gas dynamics calculator (see www.potto.org). Since then many ask for
insert other math symbols into the program so instead of mDot
to put m with (.) on top of it or instead of Mx prime to have Mx'.
I am sure that there is simple way to do it. But I do not find it
on google or qt centre. I hope that someone can give me a
hint where to look.

thanks for any help

genick

genick bar-meir
16th August 2007, 15:38
sorry i post it to the wrong place

i will post it to the right place

genick:eek:

jacek
16th August 2007, 23:42
i will post it to the right place
Next time, please, wait for a moderator to move the thread instead.


Since then many ask for
insert other math symbols into the program so instead of mDot
to put m with (.) on top of it or instead of Mx prime to have Mx'.
You need a font (or fonts) with all of those symbols. Then you can look up the symbol in Unicode chart and use QChar() to add it to a QString. Other solution is to typeset them using LaTeX or some other application and add them to your application as images.

Uwe
17th August 2007, 07:29
If you have a commercial license you could use the MathML classes of the Qt solutions addons.

Uwe