I have a situation where I need to handle KeyPress when dragging an item from the View list into my widget. I overridden the KeyPressEvent () function in my list, but dragging an item and pressing any key does not start keyPressEvent. But, if I press the escape key on the keyboard, the QDrag ior pixmap image disappears. I need to handle keyPressEvent () when an item is being dragged
Thanks in advance!!!!
source
share