PDA

View Full Version : Horizontal list as a delegate of vertical list



Qmyo
12th May 2016, 18:59
Hi, I am still quite new to qml/JavaScript/C++ and dealing with some problems. I am trying to make some sort of EPG schedule timeline --> something like this: http://i.stack.imgur.com/eliAh.jpg
I'll have backend part in C++ for data processing and qml part for displaying data. For now data is just a model in a qml file.

First vertical list is list of services and second vertical list contains events of each service --> here comes problems...

First list needs to scroll only vertical, but list with events needs to scroll vertical (among with the list of services) and horizontal --> all lists together.

I've achieved scrolling list vertical together with a function, but the problem is scrolling (when I navigate through list) all horizontal lists together.

If you know better solution to achieve what I need, please give me a hint.

Code is in an attachment.

I appreciate every comment, so feel free to suggest any other solution :)