[Qt-qml] Getting the id

2010-11-05 Thread ext-tuukka.m.lahtela
Hi! This is somewhat related to the Find by id thread. Is it somehow possible to get id of the of a qml element. It would be useful for our automated testing tool. Rectangle { id: myRect objectName: theRectangle } So basically I would need to get the id of the element in c++ code (for

Re: [Qt-qml] Getting the id

2010-11-05 Thread Alan Alpert
On Fri, 5 Nov 2010 16:59:00 Lahtela Tuukka.M (EXT-Tieto/Tampere) wrote: Hi! This is somewhat related to the “Find by id” thread. Is it somehow possible to get id of the of a qml element. It would be useful for our automated testing tool. Rectangle { id: myRect objectName:

Re: [Qt-qml] Getting the id

2010-11-05 Thread Pekka.E.Jokela
Can the QDeclarativeEngineDebug be used in test code and in the tools somehow for this? -P -Original Message- From: qt-qml-boun...@trolltech.com [mailto:qt-qml-boun...@trolltech.com] On Behalf Of Alpert Alan (Nokia-MS-Qt/Brisbane) Sent: 05.11.2010 09:18 To: qt-qml@trolltech.com

Re: [Qt-qml] Property Bindings *within* Javascript?

2010-11-05 Thread Kai Koehne
On 11/4/2010 6:16 PM, ext Charley Bay wrote: Sorry, this isn't the place, but I can't find an administrative contact for bugreports.qt.nokia.com http://bugreports.qt.nokia.com and I have problems with my account (e.g., can't log in and can't change password, but account exists).

Re: [Qt-qml] Editor example Source Code

2010-11-05 Thread J-P Nurmi
On Fri, Nov 5, 2010 at 12:09 PM, Michael Rychlik michael.rych...@gmail.comwrote: I have a qt/examples/tutorials directory containing only: addressbook addressbook-fr README tutorials.pro widgets http://qt.gitorious.org/qt/qt/trees/4.7/examples/tutorials/gettingStarted/gsQml

Re: [Qt-qml] Find by id.

2010-11-05 Thread René Hansen
On Thu, 2010-11-04 at 23:44 +0100, Brasser Michael (Nokia-MS-Qt/Brisbane) wrote: Hi, On 04/11/2010, at 10:26 PM, ext René Hansen wrote: I'd like to be able to find child objects in a QML structure and to do that, I've exposed a new QML Object with qmlRegisterType, which provides me

Re: [Qt-qml] HOWTO: use QStandardItemModel with QML

2010-11-05 Thread Ville M. Vainio
On Wed, Nov 3, 2010 at 7:38 AM, michael.bras...@nokia.com wrote: We should definitely look at how to make QStandardItemModel work better with QML -- do you mind adding a suggestion to bugreports.qt.nokia.com so this isn't forgotten? Done: http://bugreports.qt.nokia.com/browse/QTBUG-15067

Re: [Qt-qml] Property Bindings *within* Javascript?

2010-11-05 Thread Mikola Tapani (Nokia-MS/Tampere)
Check out an old thread in this mailing list for a possible workaround: http://www.mail-archive.com/qt-qml@trolltech.com/msg00738.html Summary: There is Binding -item in QML and there is also Qt.createQmlObject -method to dynamically create QML Items. So it is possible to create a Binding -item

[Qt-qml] Basic QML Webkit + Flickable not working

2010-11-05 Thread Tico Ballagas
I was trying to create a basic QML Webkit + Flickable proof of concept. import Qt 4.7 import QtWebKit 2.0 Flickable{ width: 640; height: 480 contentWidth: webView.width contentHeight: webView.height WebView { id: webView preferredWidth: parent.width url:

Re: [Qt-qml] Top-level Animation element, not pauseable/stoppable?

2010-11-05 Thread Charley Bay
Update, I've found a work-around, which is to explicitly set paused to each of the nested SequentialAnimation instances. However, since the docs explicitly say you shouldn't need to do this (setting paused/running property on the parent ParallelAnimation or SequentialAnimation should propagate to

Re: [Qt-qml] [MeeGo-community] Announcing Youttube-API project for Meego // Vote on googlecode project name

2010-11-05 Thread Niels Mayer
On Wed, Nov 3, 2010 at 4:28 PM, Jarek Wilkiewicz jar...@youtube.com wrote: Hi Niels, thank you for getting the discussion started! Couple of initial thoughts : 1. I think that ytd-meego uploader/client (2) could interface with the existing youtube-direct implementation. This will make it