Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Two-dimensional page navigation
Forum Updated to NodeBB v4.3 + New Features

Two-dimensional page navigation

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 339 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Marc_Van_Daele
    wrote on last edited by
    #1

    I'm looking for some input on which QML View / model is most appropriate to implement the following

    • I have a large two-dimensional table and one cell (i,j) of it is displayed
    • cell (i,j) takes most of the screen but at the top/bottom/left/right, part of the surrounding cells are visible
    • by flicking left/right I can navigate to (i-1,j) and (i+1,j)
      by flicking up/down, I can navigate to cells (i,j+1), (i,j-1)

    I currently implement this with Horizontal ListViews inside a Vertical ListView and a big model underneath it.
    But I'm wondering whether it would be possible to implement this with a model having only 5 elements (cell (i,j) and the four surrounding cells)? Possibly using PathView and/or Flickable?
    After every flick, I could update the model

    I was triggered by this article, showing a one dimensional page navigation https://web.archive.org/web/20140323141507/http://developer.nokia.com/community/wiki/How_to_create_a_Page_Control_component_in_QML

    Input appreciated.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved