Results 1 to 4 of 4

Thread: QTable resize problem with large tables

  1. #1
    Join Date
    May 2006
    Posts
    2
    Qt products
    Qt3
    Platforms
    Windows

    Default QTable resize problem with large tables

    I have a problem with large tables. My table has about 120000 rows. If I want to resize the table, it freezes. Is this a bug?
    Has anybody else this problem?
    Here is the example code:

    Qt Code:
    1. table->setNumRows(120000); // still ok
    2. table->setNumRows(6000); // freeze
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Jan 2006
    Location
    Ukraine,Lviv
    Posts
    454
    Thanks
    9
    Thanked 27 Times in 27 Posts
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: QTable resize problem with large tables

    There is some warning for use big table . Read in doc for QTable section Large tables. Hope this help
    a life without programming is like an empty bottle

  3. #3
    Join Date
    May 2006
    Posts
    2
    Qt products
    Qt3
    Platforms
    Windows

    Default Re: QTable resize problem with large tables

    I have already read this section, but this is no help because my large tables are full of Data.
    I found out that this problem seems to be a debugger problem, because it doesn't freeze if you run the exe without debugger.
    But I have no idea why.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QTable resize problem with large tables

    Maybe it just runs faster when not processing all the debugging code.

Similar Threads

  1. Replies: 1
    Last Post: 10th August 2008, 19:55

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.