Some snippets for playing with the Qt GUI Run code as qlua fileName.lua. To create the ui files, you need to install Qt Designer.