469,926 Members | 1,824 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,926 developers. It's quick & easy.

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
May 15 '10 #1
2 2495
Glenton
391 Expert 256MB
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.
May 17 '10 #2
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
May 17 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Tom Van den Brandt | last post: by
35 posts views Thread by Vamsi Mudrageda | last post: by
8 posts views Thread by simo | last post: by
10 posts views Thread by svenn.are | last post: by
10 posts views Thread by Simon John | last post: by
9 posts views Thread by PAN | last post: by
1 post views Thread by interuser | last post: by
1 post views Thread by Jorge Cavalheiro | last post: by
10 posts views Thread by Volker Lenhardt | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.