summaryrefslogtreecommitdiffstats
path: root/PerlQt/tutorials/t13/t13.pl
blob: ef412ab834532bae30b39e12f3491b0482dc3503 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl -w
use strict;
use blib;
use TQt;
use GameBoard;

TQt::Application::setColorSpec(&TQt::Application::CustomColor);
my $a = TQt::Application(\@ARGV);

my $gb = GameBoard;
$gb->setGeometry(100, 100, 500, 355);
$a->setMainWidget($gb);
$gb->show;
exit $a->exec;