1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
|
/*
This file is part of StroQ, Copyright (C) 2005 Luc Vo Van
StroQ is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2, or (at your option) any
later version.
StroQ is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with StroQ; see the file COPYING. If not, write to
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
Class : AboutDialog
Author : Luc Vo Van
Original Date : 28.04.2005
Description : The About dialog
*/
#include <qcanvas.h>
#include <qpushbutton.h>
#include <qlabel.h>
#include <qtextedit.h>
#include <qlayout.h>
#include <qpixmap.h>
#include "stroqconst.h"
#include "aboutdialog.h"
#include "images/misc/aboutimage.xpm"
AboutDialog::AboutDialog(QWidget *parent, const char *name,
bool modal, WFlags fl)
: AboutDialogBase(parent, name, modal, fl)
{
m_plAboutIcon->setPixmap(QPixmap((const char**) aboutimage_xpm));
QString aboutString = \
"<b>StroQ " + VERSION + "</b><br/>"\
"A Polarium/Chokkan Hitofude Clone<br/>"\
"Copyright (C) 2005 Luc Vo Van<br/>"\
"Code contributions by Ahmed Ait Mouss<br/>"\
"Graphic design by XiaoGuang Li<br/><br/>"\
"Website: http://stroq.sourceforge.net<br/><br/>"\
"I would like to thank the puzzle "\
"contributors from the Polarium GameFAQs message boards "\
"(http://www.gamefaqs.com) including Herb007 (al1125), "\
"NickJ, Perdevious, Evan1109, Avalanche, OriginalCracker, "\
"TS2Master, skarmachild5000, nonexistinghero, pikaafro, "\
"klasoen, menmanelf, Osaka and all the other puzzle "\
"contributors. Some puzzles used with permission "\
"from the Follarium project "\
"(http://www.polarium-puzzles.com/) by jandujar.<br/><br/>"\
"This program is free software; you can redistribute it "\
"and/or modify it under the terms of the GNU General "\
"Public License as published by the Free Software "\
"Foundation; either version 2 of the License, or any later "\
"version.<br/><br/>"\
"Polarium, Nintendo DS, Chokkan Hitofude are registered "\
"trademarks of Nintendo and/or MITCHELL. "\
"Polarium, (C)2004-2005 Nintendo/MITCHELL. "\
"Chokkan Hitofude, (C) 2004-2005 Nintendo/MITCHELL.";
m_teAbout->setTextFormat(Qt::RichText);
m_teAbout->setText(aboutString);
setCaption(tr("About StroQ "));
m_pbOK->setText(tr("OK"));
connect(m_pbOK, SIGNAL(clicked()), this, SLOT(accept()));
}
|