#pyqt | Logs for 2019-01-31

Back
[08:38:46] -!- Siecje has joined #pyqt
[09:55:26] -!- BPL has joined #pyqt
[11:12:23] -!- AbleBacon has joined #pyqt
[16:55:14] -!- Siecje has parted #pyqt
[17:26:56] -!- daegontaven has quit [Ping timeout: 240 seconds]
[17:36:45] -!- AbleBacon has quit [Quit: Leaving]
[17:56:18] -!- taven has joined #pyqt
[17:57:47] -!- taven has quit [Client Quit]
[17:59:32] -!- taven has joined #pyqt
[18:01:46] -!- BPL has quit [Quit: Leaving]
[18:06:43] taven is now known as daegontaven
[18:11:43] -!- mintograde has joined #pyqt
[18:11:55] -!- daegontaven has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
[18:16:57] -!- daegontaven has joined #pyqt
[18:18:36] -!- daegontaven has quit [Client Quit]
[18:18:54] -!- daegontaven has joined #pyqt
[18:25:58] -!- daegontaven has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
[18:27:11] -!- daegontaven has joined #pyqt
[18:55:32] -!- daegontaven has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
[18:56:35] -!- daegontaven has joined #pyqt
[22:01:03] -!- mintograde has quit [Ping timeout: 246 seconds]
[22:50:21] -!- Grange has joined #pyqt
[22:53:03] <Grange> Hi all. I'm overwriting the QTreeWidget's dropEvent(), and I'm using `self.itemAt(event.pos())` to query the target item to drop onto. My question is how do i distinguish an order-change drop (e.g. 1,2,3 -> 2,1,3) from a re-parent drop? The `event.proposedAction()` always returns 2. Thanks
[22:56:00] -!- Mrokii has quit [Ping timeout: 246 seconds]
[23:04:13] -!- Grange has quit [Ping timeout: 245 seconds]
[23:09:46] -!- Mrokii has joined #pyqt
[23:10:29] -!- Grange has joined #pyqt
[23:41:44] <Grange> Found it. I need to query the dropIndicatorPosition. non-zero indicates an insertion.