Re: [Qt-qml] Accessing elements created with js

2010-07-11 Thread michael.brasser
Hi Anton, On 09/07/2010, at 6:09 PM, ext Anton Alferov wrote: > Is there any way to access element by it's id if that element was created > using js? The set of ids in a component is effectively fixed at startup -- this allows us to do some important optimizations for binding resolution. > For

[Qt-qml] Announcing unofficial drag and drop support to QML

2010-07-11 Thread Gregory Schlomoff
Hello everyone, We are very pleased to announce that we quickly baked some drag and drop support to qml last week, and we are making the code available as open-source for everyone. The code quality isn't close to what the trolls do, documentation is still a stub, and there are some things missing

Re: [Qt-qml] "QML supports network transparency by using URLs"

2010-07-11 Thread michael.brasser
On 11/07/2010, at 2:55 PM, ext Jason H wrote: > When I tried to use a model, they were uniformly spaced, and that's not > acceptable. Can you explain further? What do you mean by uniformly spaced? From the ListView perspective, there shouldn't be any issues using variable-sized items. Regards,

Re: [Qt-qml] More QML Questions

2010-07-11 Thread michael.brasser
On 11/07/2010, at 11:05 AM, ext Jason H wrote: > I've been playing around with this, and I have several more questions: > > 1. Is there a Video element? Major bummer if there isn't Yes, qt-mobility includes SoundEffect, Audio, and Video elements. > 2. I've been trying to get a ListView to scrol

Re: [Qt-qml] "QML supports network transparency by using URLs"

2010-07-11 Thread Jason H
I spent this weekend "getting comfortable" with it (as if you couldn't tell by all my emails). I'm still iffy. Really, they need a "QML for Qt developers in 10 minutes" guide. I know there is something already titled that, but I had to hunt around, and eventually I found the documentation that

Re: [Qt-qml] QML Questions

2010-07-11 Thread bea.lam
> > >> Unable to assign [undefined] to double to // to: contentHeight >> > > Not sure about this error - I can't reproduce it myself. Could you file a bug > with a standalone example? Ah, it looks like the error shows up if the ListView is enclosed within a parent item. To avoid this erro

Re: [Qt-qml] "QML supports network transparency by using URLs"

2010-07-11 Thread Gregory Schlomoff
Hello everybody, Just a small comment: last week, we built our first QML component in C++, and it was way more easier than we would have thought. All of a sudden, we discovered that extending QML from C++ either by subclassing existing items or by creating new ones from scratch was *really* easy,

Re: [Qt-qml] QML Questions

2010-07-11 Thread bea.lam
On 10/07/2010, at 12:37 AM, ext Jason H wrote: > 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:

Re: [Qt-qml] "Screens"

2010-07-11 Thread Jason H
For the animation editor, even if it's not WSYIWYG, even a GUI of combo boxes that allow attachment to objects and properties. It would at least reduce errors, and I think, be faster than text coding. -J On Jul 9, 2010, at 3:43 AM, wrote: > Hi Jason, > > On 8. juli 2010, at 23.02, ext Jason