> Do we need models with more than 2 billion rows or columns? More than we need in-memory containers with more than 2 billion entries, no?
For instance, one could wish to display in a list view, the contents of a file with more than 2 billions "entries". But then there would be the need to make QAbstractSlider be able to handle 64 bit quantities too. Philippe On Mon, 24 Aug 2020 16:09:57 -0700 Thiago Macieira <thiago.macie...@intel.com> wrote: > On Monday, 24 August 2020 15:10:24 PDT ???? ?????????? wrote: > > It would be nice if QAbstractItemModel will support qsizetype instead of > > int, but I do not see how this is possible considering the fact that > > rowCount/columnCount return int. I suppose, it is not very hard to patch > > QModelIndex, but what to do with virtual functions? The user code will > > break. The only solution I see is to add QAbstractItemModelV2 with the > > «wide» interface and provide a proxy for the old one. > > Do we need models with more than 2 billion rows or columns? > > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel DPG Cloud Engineering > > > > _______________________________________________ > Development mailing list > Development@qt-project.org > https://lists.qt-project.org/listinfo/development _______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development