[PyQt] Extending QML elements?

Nenad Ognjanovic bgr.gyk at gmail.com
Mon Aug 24 14:38:46 BST 2015


Is it possible to extend standard QML elements, in order to modify
their behavior? If not extending, then monkeypatching would also
suffice.

For example, I'd like to be able to override the contextMenuEvent of
QML's WebEngineView (defined in
Src/qtwebengine/src/webenginewidgets/api/qwebengineview.cpp), but I
have no idea how to access it.


More information about the PyQt mailing list