PDA

View Full Version : qtablewidget and qtableview



dreamer
17th May 2008, 12:27
I'd like to insert a table(i will able to insert column and row throw contextmenu event) in my custom QGraphicsScene.
I will also use a QGraphicsProxyWidget(introduced since qt 4.4) to obtain my behaviour.

What's the difference beetween qtablewidget and qtableview?
Which of the two widgets i will use????

jpn
17th May 2008, 17:01
Did you read "Detailed Description" of both classes?



The QTableWidget class provides an item-based table view with a default model.
...
If you want a table that uses your own data model you should use QTableView rather than this class.
...