Ok, I get your problem now. Following should be useful for you:
Qt Code:
{ if(!qApp->widgetAt(event->globalPos())->inherits("QPushButton")) { func1(); func2(); } }To copy to clipboard, switch view to plain text mode
I have not compiled this code, this is just for reference. Please do it as it fits your program.
Bookmarks