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 
it.

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

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to