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
21 AboutWindow::AboutWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt::Dialog)
23 setWindowTitle(tr("About Architektonas..."));
25 layout = new QVBoxLayout();
26 // layout->setSizeConstraint(QLayout::SetFixedSize);
29 QString s = QString(tr(
32 "<td style='padding-right:15px; float:left'><img src=':/res/about-logo.png'></td>"
34 // "<img src=':/res/about-logo.png' style='padding-right:15px; float:left'>"
37 "<tr><td align='right' width='130'><b>Architektonas: </b></td><td>Free, <i>Industrial Strength</i> 2D Computer Aided Design</td></tr>"
38 "<tr><td align='right'><b>Version: </b></td><td>1.0.0</td></tr>"
39 "<tr><td align='right'><b>License: </b></td><td>GPL v3 or later</td></tr>"
40 "<tr><td align='right'><b>Chief Architect: </b></td><td>James Hammons (shamus)</td></tr>"
41 "<tr><td align='right'><b>Coders: </b></td><td>James Hammons (shamus)</td></tr>"
42 // "<tr><td align='right'><b>Testers: </b></td><td>shamus</td></tr>"
43 "<tr><td align='right'><b>Homepage: </b></td><td>http://shamusworld.gotdns.org/architektonas/</td></tr>"
47 "<i>The authors of Architektonas would like to express their heartfelt gratitude to:</i>"
49 "<li>The authors of <b>Inkscape</b>, whose incredible GUI was a huge inspiration for us</li>"
50 "<li><b>QCad</b> for sucking so bad that we just <i>had</i> to write something better</li>"
51 "<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>"
59 text->setWordWrap(true);
60 // text->setMinimumWidth(480);
61 // text->setMaximumWidth(800);
62 layout->addWidget(text);
66 void AboutWindow::keyPressEvent(QKeyEvent * e)
68 if (e->key() == Qt::Key_Escape || e->key() == Qt::Key_Return)