3
# This file is part of qVamps.
5
# qVamps is free software; you can redistribute it and/or modify
6
# it under the terms of the GNU General Public License as published by
7
# the Free Software Foundation; version 2 of the License.
9
# qVamps is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
# GNU General Public License for more details.
14
# You should have received a copy of the GNU General Public License
15
# along with qVamps; if not, write to the Free Software
16
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24
use DesignerMimeSourceFactory_qvamps;
27
my $app = Qt::Application (\@ARGV);
28
my $pixmap = Qt::Pixmap ("images/inst_splash.png");
29
my $splash = InstSplash ($pixmap);
30
my $font = $splash -> font ();
34
$font -> setPixelSize (22);
35
$splash -> setFont ($font);
36
$splash -> repaint ();
39
my $icon = Qt::Pixmap::fromMimeSource ("icon.png");
41
$win -> setIcon ($icon);
42
$app -> setMainWidget ($win);
44
$splash -> finish ($win);
49
exit ($app -> exec ());