[Qt-interest] changing colors in spin box
Doug Stewart
doug.dastew at gmail.com
Fri Aug 19 19:24:55 CEST 2011
On Fri, Aug 19, 2011 at 9:06 AM, André Somers <andre at familiesomers.nl>wrote:
> 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
>>
>> _
>
>
Thanks for your hint. I will look at it soon.
Doug
Yes I did a sublass of it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110819/11f3eae6/attachment.html
More information about the Qt-interest-old
mailing list