Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Help] QTable Widget - Accordion style
QtWS25 Last Chance

[Help] QTable Widget - Accordion style

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 959 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.
  • N Offline
    N Offline
    Neko
    wrote on last edited by Neko
    #1

    Hello guys,
    first, i hope that i'm in the correct forum.

    I'm currently creating a little Tool in C++ which contains a QTable Widget.
    Is it possible to have an Accordion effect for the current selected row ?
    Google wasn't really helpful so far.

    Kind regards

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      You mean something like QTreeView does?

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      1
      • N Offline
        N Offline
        Neko
        wrote on last edited by
        #3

        I didn't knew about this one. Thanks.
        But is it possible to do the QTreeView exactly the opposite ?

        Let me give u an example of what i need.

        0_1523951180740_Table.png

        I hope my not so good Paint skills still show what i need.

        1 Reply Last reply
        0
        • N Offline
          N Offline
          Neko
          wrote on last edited by
          #4

          Okay, successfully figured it out. Thanks again for your help.

          VRoninV 1 Reply Last reply
          0
          • N Neko

            Okay, successfully figured it out. Thanks again for your help.

            VRoninV Offline
            VRoninV Offline
            VRonin
            wrote on last edited by VRonin
            #5

            @Neko Could you share your solution? It's not something I'd think is easy to implement

            "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
            ~Napoleon Bonaparte

            On a crusade to banish setIndexWidget() from the holy land of Qt

            1 Reply Last reply
            3

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved