#!/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;
|
The use of a camel image
with the topic of Perl is a trademark of
O'Reilly & Associates, Inc. Used with
permission.
The Qt logo (TM) is a registered trademark of Trolltech (TM) AS,
Norway.