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::MouseButtonRelease:
case QEvent::Shortcut:
case QEvent::KeyRelease:
}
return false;
}
My function is like this and when I press "Delete" button, it sometimes
enters KeyRelease instead of Shortcut then I press again, it enters
Shortcut part.
Do you know about this issue? Is this a kind of bug or I use this wrong way?
Thanks in advance,
BE
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development