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

Thiago Macieira thiago.macieira at trolltech.com
Tue Apr 7 09:30:26 CEST 2009


Em Terça-feira 07 Abril 2009, às 07:58:06, Girish Ramakrishnan escreveu:
> action->setText(QString("Foo%1").arg(QChar(0x2122)));

Also:
	QString::fromUtf8("Foo\342\204\242");

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Software
     Sandakerveien 116, NO-0402 Oslo, Norway

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


More information about the Qt-interest-old mailing list