[Qt-interest] changing colors in spin box

André Somers andre at familiesomers.nl
Fri Aug 19 15:06:19 CEST 2011


Wrong guess. Of course it is possible. There can be a 1000 reasons nobody
replied (yet). One of those is that it is unlikely that you are using a
QAbstractSpinBox, though you might be subclassing one though. You might want
to reimplement stepBy and update the background color based on the value
that is set from there.

Andre

On Fri, Aug 19, 2011 at 2:44 PM, Doug Stewart <doug.dastew at gmail.com> wrote:

>
>
> On Wed, Aug 17, 2011 at 11:20 PM, Doug Stewart <doug.dastew at gmail.com>wrote:
>
>> I am using an qabstractspinbox, and I want to change the back ground color
>> when I spin to a different text.
>>
>> How can I do this?
>>
>> Doug
>>
>
> I got no answer so I guess its not possible.
> Doug
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110819/59aec389/attachment.html 


More information about the Qt-interest-old mailing list