Re: [Interest] implementing rows reordering in QSortFilterProxyModel

2020-10-12 Thread Александр Иваш
>> Just to make sure I understood, do you need a proxy model that allows to reorder the rows of a given source model via DND? No, what I need is a proxy model which can reorder its own rows via DND without modifying the source model. In fact I want this: ReorderingModel <=> FilteringModel <=> Sour

Re: [Interest] implementing rows reordering in QSortFilterProxyModel

2020-10-12 Thread Giuseppe D'Angelo via Interest
Il 12/10/20 15:31, Александр Иваш ha scritto: Is there any example for re-ordering of QTableView entries implemented in QSortFilterProxyModel (ideally drag-n-drop-driven)? If not, what is the best way to implement it? I'm thinking about implementing reordering as 'custom sorting' - but it will re

[Interest] implementing rows reordering in QSortFilterProxyModel

2020-10-12 Thread Александр Иваш
Is there any example for re-ordering of QTableView entries implemented in QSortFilterProxyModel (ideally drag-n-drop-driven)? If not, what is the best way to implement it? I'm thinking about implementing reordering as 'custom sorting' - but it will require me to collect all the QModelIndex-es in th

Re: [Interest] Qt3DRender::QBuffer::dataGenerator() deprecated with no explanation?

2020-10-12 Thread Paul Lemire via Interest
Hi Nyall, From Qt6 onward, it is expected the data is set directly on the QBuffer with QBuffer::setData (For long data processing, we will leave it up to the user to create his own thread if needed rather than relying on Qt3D executing a functor in its threadpool). In Qt5.15, the dataFunctor