I have to use this example http://www.developer.nokia.com/Commu..._Sliding_Pages but each page contain text, image then text.
is it doable, thanks in advance.
its completely possible, you need to design your delegate plus model in that way thats all.
could you please send sample of code for this issue?, as this is a first App. in QML.
I don't have a sample code for that but, what you can try is making a delegate with a text and image in it. Just change the opacity of them based on alternative index property of listview.
thanks gaba88 for your reply,
I'm already finished the delegate and model, the cpp file send the data Model List to delegate(QML file), my question is: is there any way to send data or user action from delegate to cpp file?.
I know the signal/slot connect but my question using the model.
and how to seek to specific index in the delegate.
Last edited by a.dev; 2012-05-09 at 19:53.
if you use just index , than you will get the index of listview , now whenever user clicks an item, you can call a method in c++ which has the parameters you require.
Let me know if you need help to know how to invoke a method from QML to c++??
thanks for your raply,
I have to know how to tell the delegate to open the listview on specific index, for example: if I have 5 items, the list view open by default index 0 but i want the listview open the index 2 or 3 and how to send the required index to delegate.