Results 1 to 20 of 24

Thread: custom QAbstractTableModel class updating QTableView

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #21
    Join Date
    May 2016
    Posts
    13

    Default Re: custom QAbstractTableModel class updating QTableView

    Omg... I finally did it (with a lot of help)!
    Added a QFileSystemWatcher to my dialog and connected it to a slot which reloads the model.

    I'll give the QTableWidget a shot as well. Maybe that's even better. But I needed to figure this one out first because that bothered me for too long now.

    Thank you so much d_stranz and anda_skoa!!! Thumbs up for the both of you.

    The thread can be marked as solved!
    Cheers
    Last edited by MichaH; 5th August 2016 at 19:33.

Similar Threads

  1. QAbstractTableModel, QTableView and restoreState.
    By cydside in forum Qt Programming
    Replies: 0
    Last Post: 10th August 2014, 11:41
  2. Replies: 0
    Last Post: 5th April 2011, 16:51
  3. Custom role in custom QAbstractTableModel
    By hailflex in forum Newbie
    Replies: 3
    Last Post: 10th December 2009, 12:09
  4. Performance with QTableView and QAbstractTableModel
    By MBex in forum Qt Programming
    Replies: 3
    Last Post: 25th February 2009, 08:04
  5. Replies: 3
    Last Post: 29th January 2009, 08:38

Tags for this Thread

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.