开发者

Qt, exclude an Event from qApp->processEvents()

I have a loop that performs heavy IO so I call qApp->processEvents() from time t开发者_如何学Pythono time to keep the GUI reactive. On Linux this leads to a serious bug because an Event is called ahead of schedule.

Is there a possiblity to exclude the Event from qApp->processEvents()?


I don't know if you can exclude it from processEvents but by installing an event filter you should be able to prevent the event from being handled.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜