Re: [Interest] Customzie Qtablemodel and selectionmodel.

2020-06-17 Thread Giuseppe D'Angelo via Interest
Il 17/06/20 07:49, Milos Top ha scritto: But I can not implement "SelectionModel" on this model. For example, I want to select first record and last record. For now, If I select the first record and scroll to down then, I can not keep selections because the model is changed by scrolling. How i

Re: [Interest] Customzie Qtablemodel and selectionmodel.

2020-06-17 Thread Jonathan Purol
> How can I solve this issue efficiently? > Or is there another way to load a list with hundreds of thousands of > records instantly? Take a look at https://doc.qt.io/qt-5/qabstractitemmodel.html#fetchMore and https://doc.qt.io/qt-5/qabstractitemmodel.html#canFetchMore. They let you load items lazi

[Interest] Customzie Qtablemodel and selectionmodel.

2020-06-16 Thread Milos Top
Hi. I love Qt. These days I have been working on Qt project with 5.15 of version. Here I have one issue on QTableView/Model. I have a playlist with hundreds of thousands of records. Each record has 100+ fields. It takes a little time to load all of the playlists fully. But my client wants me to l