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

Tim W timpie.w at gmail.com
Sat May 16 08:54:16 CEST 2009


Have you tried QDoubleSpinBox <goog_1242456051747>:: <goog_1242456051747>
setP <goog_1242456051747>refix<http://doc.trolltech.com/4.5/qdoublespinbox.html#prefix-prop>
 ?

Cheers,
Tim

--
An Apple a day keeps Windows away

ACCU - http://www.accu.org - Professionalism in Programming.


On Fri, May 15, 2009 at 11:29 PM, Arnold Krille <arnold at arnoldarts.de>wrote:

> 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
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090516/e7dcc134/attachment.html 


More information about the Qt-interest-old mailing list