QApplication::postEvent having no effect
I'm having trouble with postEvent.. in that it has no effect at all. I've even tried simplifying so that whenever I get a mouse event it just reposts it, but I'm still getting nothing. here's what I'm doing..
void MyClassView::mousePressEvent(QMouseEvent *event)
{
qDebug() << "MyClassView::mousePressEvent:";
QMouseEvent *event1 = new QMouseEvent(*event);
QApplication:: postEvent(this, event1);
}
I've tried posting the event to the parent which is the base widget, but still nothing. I do have a separate thread spawned from the base widget to load files, but I can't see why this would have any effect, especially as it is just waiting on idle priority and other events are getting through. I've had a look at some example code to see if I'm doing anything different and I just don't see it...
Is there something else I need to set to allow this, or am I just being dumb?
Post Script: sendEvent is having no effect either...