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 = Qt::Application.new(ARGV)
|
|
widget = Qt::Widget.new
|
|
widget.setGeometry(50, 500, 400, 400)
|
|
widget.caption = "Hello World!"
|
|
|
|
app.mainWidget = widget
|
|
widget.show
|
|
app.exec
|