You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/usr/bin/env ruby
|
|
|
|
|
|
|
|
require 'Qt'
|
|
|
|
|
|
|
|
app = TQt::Application.new(ARGV)
|
|
|
|
widget = TQt::Widget.new
|
|
|
|
widget.setGeometry(50, 500, 400, 400)
|
|
|
|
widget.caption = "Hello World!"
|
|
|
|
|
|
|
|
app.mainWidget = widget
|
|
|
|
widget.show
|
|
|
|
app.exec
|