[Interest] Emit Signal From JavaScript

Peter Klein peter.zrnko at gmail.com
Thu Sep 24 15:10:45 CEST 2020


št 24. 9. 2020 o 11:52 John M. Schneiderman <jschneiderman at gog.com>
napísal(a):

> I have a QObject available on the JavasScript side of the Qt WebEngine.
> I can read properties, call slots, etc. However I cannot emit signals
> from the object. I cannot find documentation on how to do that, e.g.
>
> window.cppobj.signal
>
> I can of course have a slot called emitSignal, but that seems like
> unnecessary boilerplate. Is it possible to
>
>
As far as I know only object itself is able to emit it's signals.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200924/2cb69180/attachment.html>


More information about the Interest mailing list