Results 1 to 4 of 4

Thread: math symbols

  1. #1
    Join Date
    Jul 2007
    Posts
    7
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default math symbols and greek symbols

    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

  2. #2
    Join Date
    Jul 2007
    Posts
    7
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default sorry

    sorry i post it to the wrong place

    i will post it to the right place

    genick

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: sorry

    Quote Originally Posted by genick bar-meir View Post
    i will post it to the right place
    Next time, please, wait for a moderator to move the thread instead.

    Quote Originally Posted by genick bar-meir View Post
    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.

  4. #4
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,309
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: math symbols

    If you have a commercial license you could use the MathML classes of the Qt solutions addons.

    Uwe

Similar Threads

  1. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 10:49
  2. Display special symbols
    By ShaChris23 in forum Newbie
    Replies: 1
    Last Post: 1st May 2007, 00:51
  3. Linking problems with multiply defined symbols
    By JimBrown in forum Qt Programming
    Replies: 5
    Last Post: 2nd March 2007, 17:48
  4. Math help please.
    By munna in forum General Discussion
    Replies: 6
    Last Post: 8th October 2006, 11:00

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.