Function desc:close() closes the qt.QtLuaPainter. In the case of a drawing port descriptor returned by function qtwidget.newwindow, this function also closes the qt.QWidget and the windows disappears from the screen.
desc:close()
qt.QtLuaPainter
qtwidget.newwindow
qt.QWidget