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.
tdebindings/qtruby/rubylib/tutorial/t14/t14.rb

15 lines
284 B

#!/usr/bin/env ruby
$VERBOSE = true; $:.unshift File.dirname($0)
require 'Qt'
require 'gamebrd.rb'
Qt::Application.setColorSpec( Qt::Application::CustomColor )
a = Qt::Application.new(ARGV)
gb = GameBoard.new
gb.setGeometry( 100, 100, 500, 355 )
a.setMainWidget(gb)
gb.show
a.exec