[Development] QEvent problem

Thiago Macieira thiago.macieira at intel.com
Tue May 26 18:40:21 CEST 2015

On Tuesday 26 May 2015 19:23:02 Berkay Elbir wrote:
> I simplified the event handler function. This is an event handler of a
> widget and there are different processes for every event case. In my
> widget, I catch events and doing something in terms of them. For example,
> as I said before I pressed "Delete" button of keyboard, type of event (
> e->type() ) is sometimes QEvent::KeyRelease: and  sometimes
> QEvent::Shortcut:.  To understand this, I debugged with Visual Studio. This
> is just an example of course it happens for other keyboard keys.

The problem is that you may have removed the bug from the code when you pasted 

Anyway, I don't know why it would change from shortcut to the actual low-level 
key. Maybe someone else.
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Development mailing list