On 28 November 2016 at 02:55, Giuseppe D'Angelo <dange...@gmail.com> wrote:
> On Sun, Nov 27, 2016 at 11:25 AM, Ch'Gans <chg...@gna.org> wrote:
>> My model supports moveRows (without relying on remove/insert), and i
>> have a small toolbar under my table view to move the selected item up
>> and down.
>
> Unfortunately the code for DND predates moveRows. DND comes straight
> from Qt 4, and internal moves are implemented via insert+remove.
> moveRows is a Qt 5 addition, and we can't break old code. Nobody
> bothered so far to implement some kind of opt-in mechanism to use
> moveRows...

Hi Giuseppe,

Thanks for the explanation and the bits of history that go with it! ;)
Any plan to address this with Qt6, tho?

I think i will go for the custom QTableView as i don't have choice
really, shouldn't be that difficult...

Chris

>
> HTH,
> --
> Giuseppe D'Angelo
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to