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. Listview exapading and contracting

Listview exapading and contracting

Scheduled Pinned Locked Moved QML and Qt Quick
7 Posts 2 Posters 2.1k 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.
  • J Offline
    J Offline
    Julie1986
    wrote on last edited by
    #1

    I would like to know how to expand and contract a listview of an xml file. I have xml file with diff users say some 10 users and each user has diff parameters so i want to display only 10 users at first and then display their parameters when one clicks on them.

    Thanks in advance

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      You can change your Delegate's size and contents based on the selection or hover state.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Julie1986
        wrote on last edited by
        #3

        !!

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Julie1986
          wrote on last edited by
          #4

          @!!@

          1 Reply Last reply
          0
          • J Offline
            J Offline
            Julie1986
            wrote on last edited by
            #5

            @Andre: I didnt understand your suggestion. Could you cite an example. I have seen example with listview but with XML I really dont know how to do it.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              andre
              wrote on last edited by
              #6

              You are just dumping a large QML file that is just copy/pasted bits and pieces, without any effort in actually creating a real delegate. I am sorry, but I am not willing to just hand over more pieces to copy/paste for you.

              1 Reply Last reply
              0
              • J Offline
                J Offline
                Julie1986
                wrote on last edited by
                #7

                Ok. I will try it and ask youfor further queries

                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