[PyQt] Re: problem with connected scrollbars
uvemas at gmail.com
Thu Nov 13 11:21:00 GMT 2008
Thanks for your confirmation.
El Thursday 13 November 2008 Phil Thompson escribió:
> On Wed, 12 Nov 2008 14:54:55 +0100, Georg Altmann <george at george-net.de>
> > Vicent Mas schrieb:
> >> Hi,
> >> thanks for your answer. I've been working about the TypeError and I've
> >> found
> >> that the call
> >> my_scrollbar.triggerAction(QtGui.QAbstractSlider.SliderSingleStepAdd)
> >> works
> >> but the (apparently equivalent) call
> >> my_scrollbar.triggerAction(1)
> >> fails raising the TypeError. However QAbstractSlider.SliderSingleStepAdd
> >> is
> >> supposed to have an integer value of 1, isn't it? At least this is what
> >> understand when reading the Qt docs.
> > No, its an enum. It looks like int is not implicitly converted to the
> > required enum type. Interesting. Probably there is more info in the SIP
> > docs.
> This restriction has been relaxed in SIP v4.7.8, so passing an integer
> value should now work.
> PyQt mailing list PyQt at riverbankcomputing.com
Share what you know, learn what you don't
More information about the PyQt