|
|
On 07.05.06 23:13:30, Yuriy Rusinov wrote:
> I have to develop editable table with some text within a cells of this table
> on QMainWindow with MVP technique. I saw two model classes
> QAbstractTableModel and QStandardItemModel. What are the differences between
> them ? What I have to do in order to make this table ?
Please read the chapter on model-view-programming in the qt4 docs. It
should explain everything you need.
Basically: Either QStandardItemModel or your own Model subclass (from
QAbstractItemModel) should be what you want. Using your own version
enables you to store the actual data in some arbitrary form.
Andreas
--
A tall, dark stranger will have more fun than you.
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
|
|