Re: [Qt-qml] Getting the id

2010-11-07 Thread bea.lam
On 05/11/2010, at 5:34 PM, ext pekka.e.jok...@nokia.com wrote: > Can the QDeclarativeEngineDebug be used in test code and in the tools somehow > for this? > > -P These classes are private so we wouldn't recommend that you use them. Currently the declarative auto tests use objectName to locat

Re: [Qt-qml] Getting the id

2010-11-05 Thread Pekka.E.Jokela
l@trolltech.com >Subject: Re: [Qt-qml] Getting the id > >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

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

[Qt-qml] Getting the id

2010-11-04 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 (