[Qt-interest] How to add a superscript text for any QAction item in QMenu

Arnold Krille arnold at arnoldarts.de
Mon Apr 6 13:56:59 CEST 2009


On Monday 06 April 2009 12:26:09 Santhosh Y wrote:
> I would like to add superscript text to a QMenu action's text.

If hypertext is supported inside QAction/QMenu (check by trying) you can make 
your action-string "Action <sup>TM</sup>" or "<qt>Action <sup>TM</sup></qt>". 
Or you can even search for the html-entity for the raised TM...

Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090406/8abf85e0/attachment.bin 


More information about the Qt-interest-old mailing list