Results 1 to 9 of 9

Thread: Refresh TableModel

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Refresh TableModel

    Maybe you can show us code similar to your original one, but simpler and working on some other data?

  2. #2
    Join Date
    Jun 2007
    Posts
    52
    Thanks
    6

    Default Re: Refresh TableModel

    I don't think I have time to write one that will do this and not be the same thing, cause I am on such a deadline right now. I basically barely have time to finish this

  3. #3
    Join Date
    Jun 2007
    Posts
    52
    Thanks
    6

    Default Re: Refresh TableModel

    Hey, Thank you guys for trying to help. I did find out what was slowing my view down.
    my data in my model were pointers in a list that was a pointer. So...

    QList< item *> * itemlist;

    I changed it to

    QList<item> itemlist;

    and it works fast

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

    Default Re: Refresh TableModel

    Hmm... really? Did it matter that much? I admit I'm surprised...

Similar Threads

  1. Refresh the Mainwindow at run time
    By sabeesh in forum Qt Programming
    Replies: 3
    Last Post: 15th November 2007, 13:16
  2. QTableView refresh
    By eleanor in forum Qt Programming
    Replies: 9
    Last Post: 6th October 2007, 18:00
  3. refresh form after adding a widget
    By cyrille in forum Newbie
    Replies: 2
    Last Post: 2nd February 2007, 10:40
  4. QTableView refresh problem
    By tebessum in forum Qt Programming
    Replies: 3
    Last Post: 29th December 2006, 11:22
  5. Refresh QDataTable
    By shamik in forum Qt Programming
    Replies: 25
    Last Post: 1st December 2006, 05:04

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
  •  
Qt is a trademark of The Qt Company.