[13:51] balloons, ping [13:52] ahayzen, pong [13:52] balloons, So I have a LocationPane {} QML object which is actually just a ListView, and I have an autopilot class LocationPane(UbuntuUIToolkitCustomProxyObjectBase) ... [13:52] ...but it doesn't appear to get any of the properties of the ListView? Any ideas what I've missed (something probably simple) [13:52] The getter for the AP object is self.wait_select_single(LocationPane, objectName="locationPane" + str(index)) [13:53] I can see in Vis that it has the type (in the tree) LocationPane .. and on the right it shows all the correct properties as well [13:55] balloons, i can provide code if it helps, its all just a bit strange really and i'm not sure what i've missed :-/ [13:57] ahayzen, at first glance that sounds all good [13:58] are you not getting the right object though? sometimes those types like listivews have parent and child objects that can confuse [13:58] hah i bet i'm not [13:58] the weather app is a sortof minefield of nested listviews and other things at this part [13:58] off the cuff, that's my guess. I seem to remember having similar issues at times [13:59] try adding objectnames to stuff and grok the qml / read vis. You might need to get a parent object in order to get the listview controls you want [13:59] yeah i think this might be the issue lol, i wonder what object i'm actually getting! lol [13:59] you can also check the uitk AP helpers for how they do it. They have demo qml and tests for helpers [14:00] oh no.. [14:00] that should help spell out how the listview works in qml so you can understand what to grab [14:00] so in the locationPane.qml it has objectName: "locationListView" ... but where it is created it has LocationPane {objectName: "locationPane" + index} [14:03] balloons, ok i appear to have fixed it :-) [14:03] balloons, thanks for the help [14:05] ahayzen, glad it's working [14:05] Sometimes I suppose it's helpful to have someone repeat things to you. Glad it was easy enough to fix [14:06] * ahayzen tries to work out if he can somehow get the QQuickFlickable so he can use swipe_to_top() [14:06] oO [14:06] http://people.canonical.com/~nskaggs/autopilot-sdk-helpers.html#ubuntuuitoolkit.QQuickFlickable.swipe_to_top [14:06] a ListView is a Flickable as well, so if i can somehow unconfuse AP :-) [14:07] well if you have to, clone the method and tweak it so it works. Then it's a simple matter of requesting the patch into the helpers [14:08] hah but i still think this is not picking up the fact its a listview/flickable [14:08] balloons, i inherit from UbuntuUIToolkitCustomProxyObjectBase right? or do i put the fact its a ListView there ? [14:10] balloons, ah i think i really wanted class LocationPane(QQuickListView): .. that seems to be acting better :-)