I was requesting the same a good while back, but then decided that my needs are better served by more QML-optimized class (QSIM is badly stuck in QWidget mindset):
https://github.com/jnynas/QuickModel https://github.com/jnynas/QuickModel/blob/master/quickmodel.h Instead of QStandardItemModel, it could make sense to introduce a new class that didn't carry around the QWidget legacy of QSIM. On Tue, Jun 26, 2012 at 7:12 PM, Stephen Kelly <stephen.ke...@kdab.com> wrote: > > Hi there, > > I know it is late, but it was recently brought to my attention that > QStandardItemModel could be moved from QtWidgets to QtGui, since QIcon was > moved to QtGui. > > It seems that people doing model-view like to use QStandardItemModel, and > forcing the use of the widgets module for that is unfortunate. > > Any objections to me moving that to src/gui/itemmodels? > > Thanks, > > -- > Stephen Kelly <stephen.ke...@kdab.com> | Software Engineer > KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company > www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090 > KDAB - Qt Experts - Platform-Independent Software Solutions > _______________________________________________ > Development mailing list > Development@qt-project.org > http://lists.qt-project.org/mailman/listinfo/development > _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development