Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

QKevEvent to a minimized QQuickWindow

$
0
0
I haven’t found any slot in QQmlApplicationEngine and QQuickWindow which would fit my needs… But QQuickWindow has a method called keyPressEvent. Unfortunately it’s protected, so I can’t call it… No matter if I send the QKeyEvent either to QQmlApplicationEngine or QQuickWindow instance, it never gets processed by the QML script itself. I fear the event handler in a deeply embedded class simply filters out my QKeyEvents saying ‘the window has no focus’.

Viewing all articles
Browse latest Browse all 4972

Latest Images

Trending Articles



Latest Images