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. Paged C++ Model concept for QML List
Forum Updated to NodeBB v4.3 + New Features

Paged C++ Model concept for QML List

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 309 Views
  • 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.
  • Arvindhan PonnusamyA Offline
    Arvindhan PonnusamyA Offline
    Arvindhan Ponnusamy
    wrote on last edited by
    #1

    I need a concept on populating phone contacts using a C++ model which can hold only 30 elements at a instance(Called Page). Required 3 pages at a time (Previous page,current page and next page) for easy scrolling and the page id are maintained in C++.
    The list also should have a provision to handle jump to option.
    Example : Currently displaying page 3 and need to jump to page 20 hence 19,20 and 21 shall be shown.
    How to request for next/previous page while scrolling down/Up? and How to jump to mentioned page?
    Qt has the provision to append later which will load the list dynamically but above use case is still confusing.
    Note: Total List Size and no of pages will be available during list creation itself.
    Any idea on how to handle the page concept in the list.

    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