summaryrefslogtreecommitdiffstats
path: root/PerlTQt/examples/dclock/dclock.pl
blob: 57c02bdf84371cf4d03ca41b309c3942c398a544 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/perl -w
use strict;
use TQt;
use DigitalClock;

my $a = TQt::Application(\@ARGV);
my $clock = DigitalClock;
$clock->resize(170, 80);
$a->setMainWidget($clock);
$clock->setCaption("PerlTQt Example - Digital Clock");
$clock->show;
exit $a->exec;