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 // image = new QLabel();
30 // image->setAlignment(Qt::AlignRight);
31 // image->setPixmap(QPixmap(":/res/atns-icon.png"));
32 // layout->addWidget(image);
35 // QString s = QString(tr("(Last full build was on %1 %2)<br>")).arg(__DATE__).arg(__TIME__);
36 QString s = QString(tr(""//<img src=':/res/atns-icon.png'>"//));
38 //"This is some random text. I wonder if it will be rendered correctly or not???</p>"
39 "<table><tr><td valign='middle'>"
41 "<tr><td align='right'><b>Architektonas: </b></td><td>Free, <i>Industrial Strength</i> 2D Computer Aided Design</td></tr>"
42 "<tr><td align='right'><b>Version: </b></td><td>1.0.0</td></tr>"
43 "<tr><td align='right'><b>License: </b></td><td>GPL v3 or later</td></tr>"
44 "<tr><td align='right'><b>Chief Architect: </b></td><td>James L. Hammons (shamus)</td></tr>"
45 "<tr><td align='right'><b>Coders: </b></td><td>James L. Hammons (shamus)</td></tr>"
46 // "<tr><td align='right'><b>Testers: </b></td><td>shamus</td></tr>"
47 "<tr><td align='right'><b>Homepage: </b></td><td>http://shamusworld.gotdns.org/architektonas/</td></tr>"
50 "<td><img src=':/res/atns-icon.png'></td></tr></table>"
52 "<i>The authors of Architektonas would like to express their heartfelt gratitude to:</i>"
55 "<li>The authors of <b>Inkscape</b>, whose incredible GUI was a huge inspiration for us</li>"
56 "<li><b>QCad</b> for sucking so bad that we just <i>had</i> to write something better</li>"
57 "<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 came along with that. We couldn't have done it without you!</li>"
61 QString s = QString(tr(
64 "<td style='padding-right:15px'><img src=':/res/about-logo.png'></td>"
67 // "<tr><td align='right'><b>Architektonas: </b></td><td width='100'>Free, <i>Industrial Strength</i> 2D Computer Aided Design</td></tr>"
68 "<tr><td align='right' width='110'><b>Architektonas: </b></td><td>Free, <i>Industrial Strength</i> 2D Computer Aided Design</td></tr>"
69 "<tr><td align='right'><b>Version: </b></td><td>1.0.0</td></tr>"
70 "<tr><td align='right'><b>License: </b></td><td>GPL v3 or later</td></tr>"
71 "<tr><td align='right'><b>Chief Architect: </b></td><td>James Hammons (shamus)</td></tr>"
72 "<tr><td align='right'><b>Coders: </b></td><td>James Hammons (shamus)</td></tr>"
73 // "<tr><td align='right'><b>Testers: </b></td><td>shamus</td></tr>"
74 "<tr><td align='right'><b>Homepage: </b></td><td>http://shamusworld.gotdns.org/architektonas/</td></tr>"
77 "<i>The authors of Architektonas would like to express their heartfelt gratitude to:</i>"
79 "<li>The authors of <b>Inkscape</b>, whose incredible GUI was a huge inspiration for us</li>"
80 "<li><b>QCad</b> for sucking so bad that we just <i>had</i> to write something better</li>"
81 "<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>"
90 text->setWordWrap(true);
91 // text->setMinimumWidth(480);
92 // text->setMaximumWidth(800);
93 layout->addWidget(text);