Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 1eba882634
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (12 sloc) 0.364 kB
#!/usr/bin/lua
local arg = {n = select('#', ...), [0] = arg[0], ...}
require'qtcore'
require'qtgui'
app = QApplication(1 + arg.n, arg)
quit = QPushButton("Quit")
quit:resize(75, 30)
quit:setFont(QFont("Times", 18, 75))
-- won't work, the signals and slots are checked if they exist
-- print(quit:connect('madeup()', app, 'quit()'))
quit:show()
app.exec()
Jump to Line
Something went wrong with that request. Please try again.