[vlc-devel] vlc playlist development in general (was: [PATCH] QT4 playlist: even better DragNDrop policy)

Jakob Leben jakob.leben at gmail.com
Tue Aug 11 19:50:53 CEST 2009


2009/8/11 Rémi Denis-Courmont <remi at remlab.net>

> But the real "problem" might be that the Qt MVC system is not meant to
> mirror
> an external model. Really, the model and the controller are in VLC core,
> and
> Qt4 is just a view, as are all other interfaces. And much of the complexity
> comes from that.
>

I believe that subclassing QAbstractItemModel allows just that: to use an
"external" model. This abstract class contains only minimal code to
communicate with the QAbstractItemView, and it does not force any data
structures to hold the data in the model, you can easily use your ready-made
ones.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090811/1eb6dce7/attachment.html>


More information about the vlc-devel mailing list