[Qt-interest] How to add a superscript text for any QAction item in QMenu
Santhosh Y
santhosh at softjin.com
Tue Apr 7 11:48:31 CEST 2009
Girish Ramakrishnan wrote:
> Santhosh Y wrote:
>
>> Girish Ramakrishnan wrote:
>>
>>> This is just an encoding issue. Try it in a QMenu or display the
>>> string in a QLabel. It will work.
>>>
>>> Girish
>>>
>>>
>> Hi Girish
>>
>> I would like to write "PRO" in place of TM which stands for professional.
>>
>> Please help me in generating unicode for that string
>>
>
> I just googled for "trademark unicode". The first link is
> http://www.fileformat.info/info/unicode/char/2122/index.htm.
>
> As for PRO, you will have to search it and find out if a unicode
> character exists for that. If not, it is not possible to do this in a
> cross platform manner. On Windows & X11, you will have to paint the menu
> yourself. On the Mac, I have no idea. One possible solution might be to
> set an icon (setIcon) which has PRO in it.
>
> Also, please CC future responses to the mailing list/news group and
> don't reply directly. Others might benefit from this conversation :-)
>
> Girish
>
--
----------------------------------------------------
Y Santhosh Kumar
Senior Software Engineer
SoftJin Technologies Private Limited
Unit No. 102, Mobius Tower,
I Floor, SJR I - Park,
EPIP, White Field,
Bangalore - 560066, India
U : www.softjin.com
E : santhosh at softjin.com
T : +91-80-41779999
M : +91-9740535265
----------------------------------------------------
Business Disclaimer
____________________________________________________________
This e-mail message and any files transmitted with it are intended solely
for the use of the individual or entity to which they are addressed. It
may contain confidential, proprietary or legally privileged information.
If you are not the intended recipient please be advised that you have
received this message in error and any use is strictly prohibited. Please
immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender by return mail. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part of
this message if you are not the intended recipient.
___________________________________________________________
More information about the Qt-interest-old
mailing list