5 // (C) 2019 Underground Software
10 AboutWindow::AboutWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt::Dialog)
12 setWindowTitle(tr("About GUEmap..."));
14 layout = new QVBoxLayout();
15 // layout->setSizeConstraint(QLayout::SetFixedSize);
18 QString s = QString(tr(
21 "<td style='padding-right:15px; float:left'><img src=':/res/guemap.ico'></td>"
23 // "<img src=':/res/about-logo.png' style='padding-right:15px; float:left'>"
26 "<tr><td align='right' width='140'><b>GUEmap: </b></td><td>Free, IF Mapping Software</td></tr>"
27 "<tr><td align='right'><b>Version: </b></td><td>3.0.2</td></tr>"
28 "<tr><td align='right'><b>License: </b></td><td>GPL v2 or later</td></tr>"
29 "<tr><td align='right'><b>Chief Architect: </b></td><td>James Hammons (shamus)</td></tr>"
30 "<tr><td align='right'><b>Coders: </b></td><td>James Hammons (shamus)<br>Christopher J. Madsen</td></tr>"
31 // "<tr><td align='right'><b>Testers: </b></td><td>shamus</td></tr>"
32 "<tr><td align='right'><b>Homepage: </b></td><td>http://shamusworld.gotdns.org/guemap/</td></tr>"
41 "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 (at your option) any later version.<br><br>"
42 "This program 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.<br><br>"
43 "You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
45 "<i>“Do nothing without deliberation; and when you have acted, do not regret it. Do not go on a path full of hazards, and do not stumble over stony ground. Do not be overconfident on a smooth way, and give good heed to your paths.”</i>"
47 "<tr><td align='right'>"
48 "<i>—Sirach 32:19-22</i>"
54 text->setWordWrap(true);
55 // text->setMinimumWidth(480);
56 // text->setMaximumWidth(800);
57 layout->addWidget(text);
60 void AboutWindow::keyPressEvent(QKeyEvent * e)
62 if (e->key() == Qt::Key_Escape || e->key() == Qt::Key_Return)