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. Path View Visible element Count

Path View Visible element Count

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 619 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.
  • DonCoderD Offline
    DonCoderD Offline
    DonCoder
    wrote on last edited by
    #1

    my path View is showing all elements in the Model. Is there a way that i can restrict the count of visible items irrespective of model count

    YashpalY DonCoderD 2 Replies Last reply
    0
    • DonCoderD DonCoder

      my path View is showing all elements in the Model. Is there a way that i can restrict the count of visible items irrespective of model count

      YashpalY Offline
      YashpalY Offline
      Yashpal
      wrote on last edited by
      #2

      @DonCoder Check out cacheItemCount and pathItemCount properties of PathView. Hope this helps you.

      1 Reply Last reply
      2
      • DonCoderD DonCoder

        my path View is showing all elements in the Model. Is there a way that i can restrict the count of visible items irrespective of model count

        DonCoderD Offline
        DonCoderD Offline
        DonCoder
        wrote on last edited by
        #3

        @DonCoder : Solution is pathItemCount

        This property holds the number of items visible on the path at any one time.

        Setting pathItemCount to undefined will show all items on the path.

        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