On Tue, Dec 8, 2009 at 11:40 PM, Edwin Marshall <[email protected]> wrote:
> [...]
> However, this code produces the following errors:
>
> Traceback (most recent call last):
>  File "test.py", line 13, in <module>
>    animation.setStartValue("0, 0, 100, 30")
> Boost.Python.ArgumentError: Python argument types in
>    QVariantAnimation.setStartValue(QPropertyAnimation, str)
> did not match C++ signature:n Fr
>    setStartValue(QVariantAnimation {lvalue}, QVariant)
>
> While I vaguely understand what the error is saying, I haven't the slightest 
> clue how to fix it. Any hints are more than welcome.

Wild guess, try:

animation.setStartValue(QVariant("0, 0, 100, 30"))

Let us know if it works or not. Anyway, looks like a bug, can you file
a bug report on it?

Thanks,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to