You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libtqt-perl/PerlTQt/examples/aclock/aclock.pl

14 lines
317 B

#!/usr/bin/perl -w
use strict;
use TQt;
use AnalogClock;
my $a = TQt::Application(\@ARGV);
my $clock = AnalogClock;
$clock->setAutoMask(1) if @ARGV and $ARGV[0] eq '-transparent';
$clock->resize(100, 100);
$a->setMainWidget($clock);
$clock->setCaption("PerlTQt example - Analog Clock");
$clock->show;
exit $a->exec;