<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>I wanna do the following :</p>
<pre style="background-color:#282c34;color:#bbbbbb;font-family:'JetBrains Mono';font-size:11,3pt;">event = <span style="color:#61afef;">QWheelEvent</span>(
<span style="color:#d19a66;">pos</span>,
<span style="color:#d19a66;">globalPos</span>,
pixelDelta,
<span style="color:#d19a66;">angleDelta</span>,
<span style="color:#d19a66;">buttons</span>,
<span style="color:#d19a66;">modifiers</span>,
phase,
inverted,
source,
)
window.<span style="color:#61afef;">wheelEvent</span>(event)</pre>
<p> </p>
<p>window is created from qml. I get the following error:</p>
<p>RuntimeError: no access to protected functions or signals for
objects not created from Python</p>
<p>I understand the error (window is created in qml), but do you see
a workaround for what I wanna do ?</p>
<p>Thanks</p>
<p>Jimmy<br>
</p>
</body>
</html>