Skip to content

Instantly share code, notes, and snippets.

@AlexTalker
Created April 1, 2014 15:08
Show Gist options
  • Save AlexTalker/9916083 to your computer and use it in GitHub Desktop.
Save AlexTalker/9916083 to your computer and use it in GitHub Desktop.
#!/usr/bin/ruby -W
require "Qt4"
app = Qt::Application.new(ARGV)
hello = Qt::PushButton.new('Hello World!')
hello.resize(100, 30)
hello.show()
app.exec()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment