Source for dist/current/PerlQt/tutorials/t2/

#!/usr/bin/perl -w
use strict;
use blib;
use Qt;

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

my $quit = Qt::PushButton("Quit", undef);
$quit->resize(75, 30);
$quit->setFont(Qt::Font("Times", 18, &Qt::Font::Bold));

$a->connect($quit, SIGNAL('clicked()'), SLOT('quit()'));

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.