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. How do manage a large data structure manipulated by tonnes of widgets, with logic applied throughout
Forum Updated to NodeBB v4.3 + New Features

How do manage a large data structure manipulated by tonnes of widgets, with logic applied throughout

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 155 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.
  • D Offline
    D Offline
    Deckhead
    wrote on last edited by
    #1
    This post is deleted!
    Pl45m4P 1 Reply Last reply
    0
    • D Deckhead

      This post is deleted!

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

      @Deckhead said in How do manage a large data structure manipulated by tonnes of widgets, with logic applied throughout:

      I looked at Model/View, but I can't see that this is what I want. Or if it is I don't see how it would work

      Not sure if I understood everything above but this sounds like a case for a proper data model.
      One model to hold all the information and then you have multiple widget across your app to modify bits of it...
      And to update you just have to make sure the model/view/editor is consistent. No need to manually tell 100 widgets that option X has changed if they all refer to the same data


      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
      2
      • Pl45m4P Pl45m4 referenced this topic on

      • Login

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