[Qt-interest] QTableModel
J-P Nurmi
jpnurmi at gmail.com
Wed Nov 3 14:30:02 CET 2010
>
> *From:* Joshua Wambua [mailto:gmail at blueprint-group.co.ke]
> *Sent:* Wednesday, November 03, 2010 4:07 PM
> *To:* 'J-P Nurmi'
> *Subject:* RE: [Qt-interest] QTableModel
>
>
>
> Ok thanks
>
> But the problem is that if a column has autoincrement, it is not being
> reflected and this has some issues when updating the data.
>
>
>
Oh, QTableModel actually refers to QSqlTableModel? Then you don't have to
implement insertRows() but just call it. Have you read
QSqlTableModel::insertRows() docs? I'm not sure anymore what's the
problem...
--
J-P Nurmi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101103/fa18002b/attachment.html
More information about the Qt-interest-old
mailing list