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. Show only currentView in a GridView
Forum Update on Monday, May 27th 2025

Show only currentView in a GridView

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
8 Posts 7 Posters 1.3k 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.
  • S Offline
    S Offline
    Shubham Gupta
    wrote on last edited by Shubham Gupta
    #1

    @dheerendra

    I have a GridView which contains 'n' no of items. Drag and Drop or some animations were used in it.

    So, I want to add the feature:

    When I press and hold an item and drag on the top of the view so current view should be shown.

    Note: In QT Doc below line is mentioned.
    http://doc.qt.io/qt-5/qml-qtquick-flickable.html#flicking-prop
    In some situations, it is also possible to drag the view directly by pressing and holding a mouse button while moving the cursor.

    I want to apply this feature in our GridView.

    Shubham Gupta

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      Confused with the question. Your view is already show or not shown ? When you drag is your view displayed ? Which feature you would like to apply.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      S 1 Reply Last reply
      0
      • dheerendraD dheerendra

        Confused with the question. Your view is already show or not shown ? When you drag is your view displayed ? Which feature you would like to apply.

        S Offline
        S Offline
        Shubham Gupta
        wrote on last edited by Shubham Gupta
        #3

        @dheerendra

        This feature i want to apply.
        http://doc.qt.io/qt-5/qml-qtquick-flickable.html#flicking-prop
        In some situations, it is also possible to drag the view directly by pressing and holding a mouse button while moving the cursor.

        I explain in deep.
        I have a GridView of 30 items.

        So i have 3 view each of 10 items.
        on screen only 10 items can be shows in one view.
        So when i drag the item of second view to the ist view,
        then ist view should be shown on current screen.

        Shubham Gupta

        1 Reply Last reply
        0
        • N Offline
          N Offline
          nateliv
          Banned
          wrote on last edited by nateliv
          #4
          This post is deleted!
          1 Reply Last reply
          -1
          • T Offline
            T Offline
            tunitech
            Banned
            wrote on last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0
            • C Offline
              C Offline
              chinachin
              wrote on last edited by
              #6

              Your question should be clearer

              word counter

              1 Reply Last reply
              0
              • H Offline
                H Offline
                Hannah Berry
                Banned
                wrote on last edited by
                #7
                This post is deleted!
                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  richcofferdam
                  wrote on last edited by
                  #8
                  This post is deleted!
                  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