Field desc.widget contains a qt.QtLuaListener object. that can be used to capture events on the widget created by qtwidget.newwindow.
desc.widget
qt.QtLuaListener
qtwidget.newwindow