[Qt-interest] Need some practical advice here... model/view framework
Sean Harmer
sean.harmer at maps-technology.com
Thu Jul 2 23:06:57 CEST 2009
Eric Clark wrote:
>
> I would inherit the QAbstractItemModel class myself and implement the
> setData function to allow setting of the data.
>
Personally I would instead derive a class from QAbstractTableModel since
the kind folks at Qt Software have already done the hard part for you.
All you have to do is fill in the blanks! See the docs for what is
needed ;-)
Alternatively, as you say, you could use QStandardItemModel directly.
Sean
More information about the Qt-interest-old
mailing list