Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Show only currentView in a GridView

    QML and Qt Quick
    6
    7
    685
    Loading More Posts
    • 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
      Shubham Gupta last edited by Shubham Gupta

      @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 Reply Quote 0
      • dheerendra
        dheerendra Qt Champions 2022 last edited by

        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 Reply Quote 0
        • S
          Shubham Gupta @dheerendra last edited by Shubham Gupta

          @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 Reply Quote 0
          • N
            nateliv Banned last edited by nateliv

            This post is deleted!
            1 Reply Last reply Reply Quote -1
            • T
              tunitech Banned last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • C
                chinachin last edited by

                Your question should be clearer

                word counter

                1 Reply Last reply Reply Quote 0
                • H
                  Hannah Berry Banned last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post