QML ListView scrolling and full screen
-
Hi all,
I am trying to create an iPad app with the following layout:
The main screen of the app will be a vertical listview containing many items e.g. 8,
but only 4 of them will be visible. The rest can be seen with scrolling the list.
Each listview item is created from a common qml file, containing images, shapes, etc.
When the user clicks inside the area of each item, the item must rotate and
cover the full screen, while the listview to become inactive at the same time.Any idea how to implement this? I am trying to do it with state changes but
I am confused...Any help?
!https://www.dropbox.com/s/xzngvagdhgen2tu/layout.jpg?dl=0()! -
May be you can try something with visibility flag. During the user clicks your change height/width one item and set visibility of ListView to false. State change may overkill for this requirement.
-
Thanks for your response.
However, if I hide the ListView, the maximized item is also hidden. Any idea?
-
May be you can show separate window itself or remove from ListView and show only the selected window.
-
do you know any link to any related tutorial/example?
-
My problem is that the content of each listview item is updated dynamically, so how am i going to show it in a different window?
-
I have not see any tutorial. I can prepare something and post the same for you.
-
I have found something that may help:
http://qt-project.org/doc/qt-4.8/declarative-modelviews-package.html
actually I must display the same list model in different views...
yes I would appreciate preparing something!
Thanks in advance!