File: t14.pl

package info (click to toggle)
libqt-perl 3.008-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,204 kB
  • ctags: 1,367
  • sloc: perl: 16,531; sh: 9,686; cpp: 6,711; makefile: 125
file content (14 lines) | stat: -rw-r--r-- 269 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl -w
use strict;
use blib;
use Qt;
use GameBoard;

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

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