I posted this question in the QTForums.org, but no one seems to have a suggestion.

In QT 3.2, I wrote a simple client application to view, update and insert service tickets into a database. I wanted the data displayed in a form and not a table, so I used the QSqlForm class. There are several QSqlForm examples shown in QT3 books and the online doc. QT 4.1 no longer uses QSqlForm. While the class is still available, QT 4.1 uses the model view concept for displaying data. There are a few model/view convenience classes, but those are table and list views.

I've re-written the app I had written in 3.2 to work with QT4. Instead of using QSqlForm, I have a function that populates all the fields with the data from a query's current record. I use a similar function to insert and update data records. But, I'm not sure this is the best approach for writing a client application. How does one write a form style application in QT4 using the model view architecture? The model view design interests me, because it appears to allow one to easily write a 3-tier client/server application in QT. If my understanding of the model/view is incorrect, please let me know.

Thanks,
Glenn