blob: 817dfe7005a0670c4ef05e67f297be5759661ed8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/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
|