indent the base list
[lqt.git] / test / t1.lua
blob6d12052c924f0abf8015c6dd8e8cf19acbe32f57
1 #!/usr/bin/lua
3 require'qtcore'
4 require'qtgui'
6 app = QApplication.new(1 + select('#', ...), {arg[0], ...})
7 app.__gc = app.delete -- take ownership of object
9 hello = QPushButton.new(QString.new("Hello World!"))
10 hello:resize(100, 30)
12 hello:show()
14 app.exec()