blob: f5820fda5616eb7e3f692b5334b1067b1d7612bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/usr/bin/perl -w
use strict;
use Qt;
use DigitalClock;
my $a = Qt::Application(\@ARGV);
my $clock = DigitalClock;
$clock->resize(170, 80);
$a->setMainWidget($clock);
$clock->setCaption("PerlQt Example - Digital Clock");
$clock->show;
exit $a->exec;
|