Process native events of a window created by QQmlApplicationEngine

假装没事ソ 提交于 2019-12-11 07:32:28

问题


There is QWidget::nativeEvent for widget windows.

Is there some analogue for windows created by QML?

I want to process some messages of main window (ApplicationWindow).

Main window is created by QML code which is loaded by QQmlApplicationEngine.

Should I use QCoreApplication::installNativeEventFilter?

来源:https://stackoverflow.com/questions/50900006/process-native-events-of-a-window-created-by-qqmlapplicationengine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!