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. multi nested dictionary
Qt 6.11 is out! See what's new in the release blog

multi nested dictionary

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 738 Views 2 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.
  • C Offline
    C Offline
    chris.spangler84
    wrote on last edited by
    #1

    Does QT Py have a way to display a multi nested dictionary or would I have to convert it to some other structure? Thanks

    Pl45m4P 1 Reply Last reply
    0
    • C chris.spangler84

      Does QT Py have a way to display a multi nested dictionary or would I have to convert it to some other structure? Thanks

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by
      #2

      @chris-spangler84

      Display where?! Are you looking for a specific widget?


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      1
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Beside the good question of @Pl45m4, it seems you would need a model on top of your nested dictionary and a QTreeView.

        Depending on what you do with your dictionary, using a QTreeWidget that you populate with your dict content might also be an option.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1

        • Login

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