[PyKDE] QTableView vs QTableWidget

Paulino paulino1 at sapo.pt
Thu Feb 1 01:20:40 GMT 2007


Hi,

I've been playing with QTableWidget and QTableView and haven't decide 
witch is best suited...

It's an invoicing app that I'm working on. The main dialog, will send 
data to several tables: invoices, invoices lines, products, customers.

What is the best approach:

The QSqlQueryModel with writing flags and QtableView or QtableWidget? 
What are the pro's and con's of each?
In the first one I don't see yet how I can handle the multiple inserts 
and updates.

QValidators don't seem to work with cells of both widgets, I have to 
implement the method by hand?


Thank you

Paulino




More information about the PyQt mailing list