Greek chars on PyQt pushButton

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Graham Benney
    New Member
    • May 2010
    • 2

    Greek chars on PyQt pushButton

    Greetings
    How do I put a non ascii character on a PyQt pushButton? I have tried things like txt = u"\u03a0" (Should be a Greek sigma symbol) but all it shows is the literal string u\03a0.
    I am using png images at present. They are OK but I would rather use characters if at all possible.
    I am using python 2.6 on Linux Suse 11.2
    Thank you in advance
    Regards
    Graham Benney
  • Glenton
    Recognized Expert Contributor
    • Nov 2008
    • 391

    #2
    Googling "pyQt unicode" led me to an index page. Ctrl+f "unicode" led me to a link to here. Scanning down reveals example 8-9 and 8-10 which might help you. Let us know how it works out.

    Comment

    • Graham Benney
      New Member
      • May 2010
      • 2

      #3
      Hi Glenton
      Thank you for your reply to my problem.
      I have tried the examples without success. I think I may have found that web page in my investigations. I will continue to persevere.
      Again thank you
      Regards
      Graham

      Comment

      Working...