[Qt-qml] QML models and components.

2010-07-16 Thread Lars Kinnunen
Hi, I am trying to understand how QML models and components work, while trying to understand demo code, I ran into this problem. I am wondering how it is supposed to work. console message is supposed to return 100, but it returns 0, where is the glitch? And as a bonus, how do I get First_Child

Re: [Qt-qml] Standards?

2010-07-16 Thread Jason H
I apologize for some of those unintelligible statements. I just got excited. "...and provide a 1st rate [replacement] on all platforms." "(Its [not] every day you get [a chance] to change the the web [and break it free from proprietary chains])" From: Jason H

Re: [Qt-qml] Standards?

2010-07-16 Thread Jason H
The problem with me and the "baton" is is that I am outside Nokia and that creates problems: 1) Qt plugins would need to have to be modified to prevent malicious hacking. Flash only allows persistent storage to registry objects. The HTML5 database stuff would/should be the only storage. Lical fi

Re: [Qt-qml] QML Slot

2010-07-16 Thread Ivan De Marino
Well, to put it simple, I was wrong and you were right :) I must have missed something in my C++ code. :) Thanks On 16 July 2010 13:21, wrote: > Hi, > > Perhaps there was a bug in earlier releases, but it seems to be working now > (see attached example). > > Cheers, > > Aaron > > > > On 16/07

Re: [Qt-qml] Working with larger projects.

2010-07-16 Thread Jason H
Thanks. I got the snapshot. Very helpful! - Original Message From: Alan Alpert To: qt-qml@trolltech.com Sent: Fri, July 16, 2010 10:11:46 AM Subject: Re: [Qt-qml] Working with larger projects. On Fri, 16 Jul 2010 23:32:13 ext Jason H wrote: > I'm going through the docs looking for the

Re: [Qt-qml] Working with larger projects.

2010-07-16 Thread Alan Alpert
On Fri, 16 Jul 2010 23:32:13 ext Jason H wrote: > I'm going through the docs looking for the guidelines for working with > larger projects made up of multiple QML files, but I am not finding much. > I start at http://doc.qt.nokia.com/4.7-snapshot/declarativeui.html > There isn't really any docume

Re: [Qt-qml] Working with larger projects.

2010-07-16 Thread Juha Turunen
On Fri, Jul 16, 2010 at 4:32 PM, Jason H wrote: > > My immediate task is: > I have 2 QML files and qmproject file. I added a 3rd "main.qml". I want to > have > the main load the two other QML files and switch between them. (Each file > defines a "page") However, I would actually like the main to

Re: [Qt-qml] Standards?

2010-07-16 Thread simon.turvey
Well, you could pick up the Qt on NaCl baton and help take that that forward. http://labs.trolltech.com/blogs/2010/06/25/qt-for-google-native-client-preview/ From: qt-qml-boun...@trolltech.com [mailto:qt-qml-boun...@trolltech.com] On Behalf Of ext Ivan De Marino Sent: 16 July 2010 12:31 To: Jaso

[Qt-qml] Working with larger projects.

2010-07-16 Thread Jason H
I'm going through the docs looking for the guidelines for working with larger projects made up of multiple QML files, but I am not finding much. I start at http://doc.qt.nokia.com/4.7-snapshot/declarativeui.html Is there any documentation on the .qmlproject file format? Also, it would be nice i

Re: [Qt-qml] QML Slot

2010-07-16 Thread aaron.kennedy
Hi, Perhaps there was a bug in earlier releases, but it seems to be working now (see attached example). Cheers, Aaron On 16/07/10 9:58 PM, "ext Ivan De Marino" wrote: I do use that. I'm talking about the scenario that Almo (was Almo?) described: u make ur object, u expose it as a property

Re: [Qt-qml] QML Slot

2010-07-16 Thread Ivan De Marino
I do use that. I'm talking about the scenario that Almo (was Almo?) described: u make ur object, u expose it as a property in the Context, try to connect to it's "onWhateverHappened" and you don't get the signal in QML. On 16 July 2010 12:55, wrote: > Hi, > > You've never used onClicked? > > Al

Re: [Qt-qml] QML Slot

2010-07-16 Thread aaron.kennedy
Hi, You've never used onClicked? All signals automatically become "on" where the first letter in the signal is uppercased. Likewise, all property change notifiers automatically become "onChanged" where the first letter in the property is uppercased. To avoid conflicts, properties and signals

Re: [Qt-qml] QML Slot

2010-07-16 Thread Ivan De Marino
(trying to bring back the main topic of this thread) I think you can't connect to signals like that if you DON'T use a Q_PROPERTY() macro. At least in my experience, I never managed to connect to a signal into QML, if not the ones that are related to Q_PROPERTY-ies. If anyone finds a solution to

Re: [Qt-qml] QML Slot

2010-07-16 Thread Ivan De Marino
Isn't this a massive OT that broke an interesting discussion about QML Signal/Slot handling? On 14 July 2010 16:29, Almo Nito wrote: > That Worked THX! > > > I was wondering if this was the right way to enable HW Acceleration for > QML: > > http://pastebin.com/DLA1GuF2 > > Thanks > > > -Orig

Re: [Qt-qml] Standards?

2010-07-16 Thread Ivan De Marino
If with "submit QML as web standard" you mean to "submit QML to W3C for standardization", I guess you should bear in mind that Flash ISN'T a standard. I just happened to become widely used because filled a gap that HTML (and relata) on it's own couldn't. I would love though to be able to develop s