5 // (C) 2011 Underground Software
7 // JLH = James Hammons <jlhamm@acm.org>
10 // --- ---------- -------------------------------------------------------------
11 // JLH 01/21/2010 Created this file
12 // JLH 01/22/2010 Fleshed out the credits a bit more
13 // JLH 01/22/2010 Fixed centering and decorating of window
20 //testing... #include "structs.h"
23 AboutWindow::AboutWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt::Dialog)
25 setWindowTitle(tr("About Architektonas..."));
27 layout = new QVBoxLayout();
28 // layout->setSizeConstraint(QLayout::SetFixedSize);
31 QString s = QString(tr(
34 "<td style='padding-right:15px; float:left'><img src=':/res/about-logo.png'></td>"
36 // "<img src=':/res/about-logo.png' style='padding-right:15px; float:left'>"
39 "<tr><td align='right' width='130'><b>Architektonas: </b></td><td>Free, <i>Industrial Strength</i> 2D Computer Aided Design</td></tr>"
40 "<tr><td align='right'><b>Version: </b></td><td>1.0.0</td></tr>"
41 "<tr><td align='right'><b>License: </b></td><td>GPL v3 or later</td></tr>"
42 "<tr><td align='right'><b>Chief Architect: </b></td><td>James Hammons (shamus)</td></tr>"
43 "<tr><td align='right'><b>Coders: </b></td><td>James Hammons (shamus)</td></tr>"
44 // "<tr><td align='right'><b>Testers: </b></td><td>shamus</td></tr>"
45 "<tr><td align='right'><b>Homepage: </b></td><td>http://shamusworld.gotdns.org/architektonas/</td></tr>"
49 "<i>The authors of Architektonas would like to express their heartfelt gratitude to:</i>"
51 "<li>The authors of <b>Inkscape</b>, whose incredible GUI was a huge inspiration for us</li>"
52 "<li><b>QCad</b> for sucking so bad that we just <i>had</i> to write something better</li>"
53 "<li>Every other 2D CAD package out there that's mired in a legacy of the bad old days of pencil and paper, and all the attendant horrors that come along with that. We couldn't have done it without you!</li>"
61 text->setWordWrap(true);
62 // text->setMinimumWidth(480);
63 // text->setMaximumWidth(800);
64 layout->addWidget(text);
68 void AboutWindow::keyPressEvent(QKeyEvent * e)
70 if (e->key() == Qt::Key_Escape || e->key() == Qt::Key_Return)