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
289 B

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