How to replace the event handler used in c# in qt?
Solved
General and Desktop
-
Hello~~
How to replace the event handler used in c# in qt?
A. class
event EventHandler event_ConnectionB.class
A_Class.event_Connection += event_comn@LISP
Basically declare a Qtsignals: ...
for a C#event
, declare a Qtslots: ...
for a slot, and use Qtconnect()
to connect instances of the signal & slot objects. This appends the connection to any existing connections on the signalling object, just like C#'s+=
.