Results 1 to 1 of 1

Thread: QSqlTableModel OnFieldChange causes what signal to fire?

  1. #1
    Join Date
    Jan 2011
    Location
    Richmond, VA
    Posts
    94
    Thanks
    14
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: QSqlTableModel OnFieldChange causes what signal to fire?

    Afternoon all --

    I have a SqlTableModel with an edit strategy of OnFieldChange. Does anyone know if there's a signal I can capture that will allow me to reset my model/mapper indices following a field change? I'd like changes to be captured immediately (for several reasons not worth mentioning) but when changes are submitted the indices get hosed.

    Other ideas are welcomed!


    scott


    Added after 38 minutes:


    Problem solved - future user of the application wants a SAVE button but I could have used QlineEdit::textChanged...


    scott
    Last edited by scott_hollen; 27th September 2011 at 20:23.

Similar Threads

  1. Replies: 0
    Last Post: 7th June 2011, 16:21
  2. Replies: 8
    Last Post: 30th March 2011, 20:06
  3. fire and forget way for QProcess
    By qt_gotcha in forum Newbie
    Replies: 2
    Last Post: 17th August 2010, 19:42
  4. QObject::connect exception fire
    By names in forum Qt Programming
    Replies: 1
    Last Post: 18th April 2010, 07:59
  5. Allowing external events to fire during a tight loop
    By hardgeus in forum Qt Programming
    Replies: 6
    Last Post: 28th December 2006, 15:24

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.