Re: [Interest] QEvent problem

2015-05-26 Thread Berkay Elbir
Yeah. I think that is the reason. I have multiple widgets and some widgets are created in another widget. So I need to arrange these shortcuts with event filter or something like that I do not know yet. Thanks for replies. On Tue, May 26, 2015 at 8:14 PM, Matthew Woehlke < mw_tr...@users.sourcefor

Re: [Interest] QEvent problem

2015-05-26 Thread Matthew Woehlke
On 2015-05-26 09:10, Berkay Elbir wrote: > I want to mention an issue that I have faced. I have an event filter of a > widget and when I press "Delete" button, event types coming to event Filter > changes. > > [...] when I press "Delete" button, it sometimes [has the event type] > KeyRelease inste

[Interest] QEvent problem

2015-05-26 Thread Berkay Elbir
Hello all, I want to mention an issue that I have faced. I have an event filter of a widget and when I press "Delete" button, event types coming to event Filter changes. bool eventFilter(QObject *o, QEvent *e){ switch(e->type()){ case QEvent::MouseButtonPress: case QEvent::MouseMove: case QEvent