Hi Jason,

the docs I get when downloading the latest snapshot are correct :) I'm 
suspecting that the qml help you have is from an outdated version of creator / 
qt. This can happen because all help files from unreleased versions of Qt share 
the same 'namespace', and therefore QtCreator has a hard time to decide when it 
needs to update the help collection and when not ...

What you could try is explicitly re-registering the new one:

 * in QtCreator, go to Tools, Options ..., Help, Documentation
 * Remove 'com.trolltech.qml.460'
 * Add qml.qch from $CREATORDIR\share\doc\qtcreator

Hope this helps,

Kai

--
Kai Koehne
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
________________________________________
From: qt-qml-boun...@trolltech.com [qt-qml-boun...@trolltech.com] On Behalf Of 
ext Jason H [scorp...@yahoo.com]
Sent: Friday, July 09, 2010 8:14 AM
To: Brasser Michael (Nokia-MS-Qt/Brisbane)
Cc: qt-qml@trolltech.com
Subject: Re: [Qt-qml] QML Questions

Thanks, I got something better, but still does not work.
ListView{
        width: 1000
        height: 700
        anchors.fill: parent
        model: visualModel
        highlightFollowsCurrentItem: true
        spacing: 10
            NumberAnimation    on visibleArea.yPosition {
                from:0.0
                to: 1.0
                easing: Easing.Linear
                duration: 10000
            }
    }

The message I get is yPosition is readOnly. But it is not marked as such in the

docs, and I think it would be super cool to have it as read-write so you can
auto scroll this stuff.

Is there a way to make my original list (with your corrections) just scroll like
credits at the end of a movie?

Oh, and I just installed http://get.qt.nokia.com/qtcreator/snapshots/latest/
(July 9 Windows) and it still has the "wrap: bool" documentation.

Thanks again!



----- Original Message ----
From: "michael.bras...@nokia.com" <michael.bras...@nokia.com>
To: scorp...@yahoo.com
Cc: qt-qml@trolltech.com
Sent: Fri, July 9, 2010 12:17:00 AM
Subject: Re: [Qt-qml] QML Questions

Hi,

On 09/07/2010, at 1:50 PM, ext Jason H wrote:
> Awesome I got it working! It seems to work by magic that you can have it
> evaluate like that.
>
> The reason why I was trying "wrap: true" was because the docs told me to do
> it...

It sounds like you've got out-of-date docs. Are you building yourself, or using
the beta2 release? As far as I can tell the docs are correct at HEAD.

> Now, I've change the list view, and I think you can see what I am going for:
> ListView{
>        width: 1000
>        height: 700
>        anchors.fill: parent
>        model: visualModel
>        highlightFollowsCurrentItem: true
>        spacing: 10
>        SequentialAnimation {
>            NumberAnimation    {
>                properties: "visibleArea.yPosition"
>                from:0
>                to: 1
>            }
>        }
>    }
> }
> But it won't do what I think it should. What do I need to do?

You probably want to use the "on" syntax -- see
http://doc.qt.nokia.com/4.7-snapshot/qdeclarativeanimation.html#basic-property-animation.

If you truly do want a standalone animation object, you will need to also
specify a "target"
(http://doc.qt.nokia.com/4.7-snapshot/qml-propertyanimation.html#target-prop)

Regards,
Michael




_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml
_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to