[Qt-qml] Can run everything but WebView on N900 4.7

2010-07-09 Thread bruce.cichowlas
I'm new at running QML on the N900. I used "dpkg" on all the .deb files required for the QMLViewer. QMLViewer shows up among the applications and I am able to use it to run most of the demos and examples as well as some of my own code. However, whenever I am doing something that includes WebV

[Qt-qml] Working with [svg] Art

2010-07-09 Thread Jason H
Often I prefer to work in SVG. With me not being artistic, I can make ok looking things in InkScape. Most of the artists I know used Illustrator to make our UIs, which we could export to SVG. But since QML is supposed to meld Art and Programming leads me to ask: Is there any way to integrate

Re: [Qt-qml] QML Questions

2010-07-09 Thread Jason H
So I dug more into it and got this: ListView{ id: lv width: 1000 height: 700 anchors.fill: parent model: visualModel spacing: 10 NumberAnimationon contentY { from: 0 to: contentHeight duration: 1

Re: [Qt-qml] QML Questions

2010-07-09 Thread Jason H
Thanks, the animation suggestion worked. But how can I have it always scroll to the complete height? What is that expression that I need to use in the to:? I tried contentHeight. - Original Message From: "bea@nokia.com" To: scorp...@yahoo.com Cc: michael.bras...@nokia.com; qt-qml

[Qt-qml] Accessing elements created with js

2010-07-09 Thread Anton Alferov
Hi, Is there any way to access element by it's id if that element was created using js? For example, in the attached sample element rect1 created with js, and the rect2 one tries to use it by id but unsuccessfully - the rect1 treats as undefined object. Thanks in advance, Anton. sample.qml Desc

Re: [Qt-qml] "Screens"

2010-07-09 Thread henrik.hartz
Hi Jason, On 8. juli 2010, at 23.02, ext Jason H wrote: > I posted this to both interest and preview, since I didn't know about this > list > yet... > > First, I love the new designer tool for it... My only disappointment is I > can't > figure out how to do animation in anything other than

[Qt-qml] Changes to pixmap loading for image elements

2010-07-09 Thread bea.lam
Hi, The Image::pixmap property has been removed as it can cause memory issues, as noted in http://bugreports.qt.nokia.com/browse/QTBUG-11980. To improve support for pixmap loading (for both Image and BorderImage), we have extended QDeclarativeImageProvider to enable it to serve QPIxmaps as well

Re: [Qt-qml] QML Questions

2010-07-09 Thread bea.lam
Hi Jason, To scroll a flickable, change the contentY property. E.g. change >NumberAnimationon visibleArea.yPosition { >from:0.0 >to: 1.0 >easing: Easing.Linear >duration: 1 >} >} to something lik

Re: [Qt-qml] QML Questions

2010-07-09 Thread kai.koehne
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 har