slot to called when one header is moved from one location to other location in Qtreeview
slot to called when one header is moved from one location to other location in QTreeview
connect(hdr, SIGNAL(sectionMoved(int, int, int)), hdrHandle, SLOT(slotSectionMoved(int, int, int)));
I have made this connection and this slot gets called when one header moves from one location to other location
but this slot does not get called everytime
You have to give more information.
When exactly does it not get called ? Describe the cases when something does not go as expected.
When I drag the column header then only sometimes the section sectionMoved gets called sometimes not
That was already clear. The question was: can you reproduce that behaviour easily ?
Can you share a minimal compilable example showing that behaviour ?