Results 1 to 3 of 3

Thread: how to display micro(mu) symbol in label

  1. #1
    Join Date
    Nov 2007
    Posts
    291
    Thanks
    85
    Thanked 1 Time in 1 Post

    Default how to display micro(mu) symbol in label

    hi
    i want to display micron(ie. mu symbol ) in label & combobox how to do it.

  2. #2
    Join Date
    Nov 2007
    Posts
    89
    Thanked 21 Times in 18 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to display micro(mu) symbol in label

    ALT+0181 = µ
    I'm not familiar with unicode, but I think you can't put it directly in code. You should use a translator.

  3. The following user says thank you to bender86 for this useful post:

    babu198649 (7th March 2008)

  4. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: how to display micro(mu) symbol in label

    Sure you can put it directly. Just make sure you use a proper encoding. QString::fromUtf8() will probably be needed.

  5. The following user says thank you to wysota for this useful post:

    babu198649 (7th March 2008)

Similar Threads

  1. Replies: 16
    Last Post: 23rd May 2008, 10:12
  2. Display a Label on top of a QGlWidget
    By Lele in forum Qt Programming
    Replies: 3
    Last Post: 4th February 2008, 16:11
  3. Link Errors
    By magikalpnoi in forum Qt Programming
    Replies: 5
    Last Post: 25th September 2006, 22:04

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.