[Qt-interest] Possible to use html code in QDoubleSpinBox suffix?

Arnold Krille arnold at arnoldarts.de
Fri May 15 23:29:47 CEST 2009


On Friday 15 May 2009 22:53:16 Matthias Pospiech wrote:
> I would like to write a unit to a QDoubleSpinBox, such as square
> millimeter. In a label I can do
> "mm<sup>2</sup>", but the same does not work as a suffix in a spinbox.
> Is there any possible workaround to get such output?

Sadly there aren't many widgets that accept richtext. QLabel is one of the 
few...

Have a nice weekend,

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/20090515/f410c231/attachment.bin 


More information about the Qt-interest-old mailing list