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 to solve the Performance issue in QtreeWidget which has 10Million rows and have to insert Progress bar in a column in 10 Million rows

how to solve the Performance issue in QtreeWidget which has 10Million rows and have to insert Progress bar in a column in 10 Million rows

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

    Hi All
    I have QtreeWidget
    QTreeWidget * w = new QtreeWidget
    w->setColumnCount(2)
    QProgressBar*

    I have to insert progresee bar in 2nd column , and the rowCount is 10 Million

    it is leading to performance issue.

    Can some suggest a solution so that we can improve the performance

    aha_1980A 1 Reply Last reply
    0
    • Q Qt Enthusiast

      Hi All
      I have QtreeWidget
      QTreeWidget * w = new QtreeWidget
      w->setColumnCount(2)
      QProgressBar*

      I have to insert progresee bar in 2nd column , and the rowCount is 10 Million

      it is leading to performance issue.

      Can some suggest a solution so that we can improve the performance

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Qt-Enthusiast a tree with 10 million items is unuseable.

      Why do you have that much items in it?

      You should filter your data before inserting to the tree.

      Qt has to stay free or it will die.

      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