[Qt-interest] QAbstractItemModel::setHeaderData() and headerData()
j
j at dynamica.org
Fri Jan 29 17:31:23 CET 2010
>OK so why not do the simple thing and derive your own view that
>contains the model? E.g.
>...
>No need for multiple inheritance. Just get you MyModel class to
>override the headerData() function as normal and you are set.
>Or did I miss something subtle that you need in addition?
The thing is, MyModel comes from my own 'RenderTools'
library that I do not want to mix with Qt. I want to be
able to use that independently with f.i. glut. So I
cannot place a Qt class above any class in RenderTools.
Right now I'm writing a "Qt-view" for RenderTools, but I
want to keep my 'glut-view' on RenderTools as well..
makes sense ?
J
More information about the Qt-interest-old
mailing list