Search code examples
c++qtmodel-view-controllerqgraphicsviewqlistview

What is the status of Qt's ItemViewsNG project?


A long time ago Digia announced "next generation" item views in upcoming versions of Qt, dubbed ItemViewsNG.

As of version 5.2, it looks like all model/view controls are still based on the old QAbstractItemModel design. Specifically, I'm looking for classes such as QGraphicsListView, but all I can find online are old source code repositories (like this one on Gitorious, without any commits since 2010). Has Digia abandoned this project? What other alternatives can I use if I want more flexible, customized list controls in Qt?


Solution

  • After looking at sources, that looks like something which got abandoned, as attention shifted to Qt Quick. The sources have some mentions of QML, so at the time it seems to have been parallel project. I would not be surprised if it was some kind of reaction to QML being its own language and not C++ and some people not liking the idea, but this is 100% speculation in my part. Disclaimer: not involved with Qt development.


    Before looking at sources, I thought the blog was most likely talking about what became Qt Quick 1 and QML in Qt 4.7, which worked in top of the old QGraphicsView framework.

    In Qt 5 this has evolved to Qt Quick 2 added to Qt 5 which runs on top of the new scene graph framework and is increasingly useful for traditional desktop applications as new desktop controls get added.