Function qt.doevents()
processes all pending events
and executes the functions associated with all queued signals.
Calling this function periodically can be useful to
ensure that queued signals are processed timely.
Calling this function is very important when you run qlua
in single-threaded mode using option -onethread
,
as graphic output will not be displayed properly
until qt.doevents()
is called.