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. Large Number of QMdiArea subwindows and widgets
Qt 6.11 is out! See what's new in the release blog

Large Number of QMdiArea subwindows and widgets

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 514 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.
  • T Offline
    T Offline
    tickranch
    wrote on last edited by
    #1

    Qt 4.8.7 / OSX Yosemite

    My application uses QMdiArea to manage visualization results from individual data analyses. Each analysis adds a subwindow. Each subwindow contains a large number of other widgets, including tabs, graphs, tables. and so on. I'm guessing that there may be 400 widgets contained in each one.

    I find that after adding about 80 of these subwindows, the interface response slows down significantly. Memory usage for the app by then has grown to about 1GB, but I don't see anything in the system vm stats that indicate it is a memory problem.

    Does anyone have guidance on when/whether the total number of widgets in an app will have an impact on the interface responsiveness? What has your experience been?

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

      Hi,

      It will partly depend on what your widgets are doing (e.g. processing data) but from your numbers we are talking about 32'000 widgets. That's quiet a lot.

      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
      0

      • Login

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