5 // (C) 2011 Underground Software
7 // JLH = James L. 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("(Last full build was on %1 %2)<br>")).arg(__DATE__).arg(__TIME__);
62 QString s = QString(tr("<body style='background-image::/res/atns-icon.png'>"//<img src=':/res/atns-icon.png' style='float:right'>"//));
64 //"This is some random text. I wonder if it will be rendered correctly or not???</p>"
65 // "<table><tr><td valign='middle'>"
66 "<table style='float:left'>"
67 "<tr><td align='right'><b>Architektonas: </b></td><td>Free, <i>Industrial Strength</i> 2D Computer Aided Design</td></tr>"
68 "<tr><td align='right'><b>Version: </b></td><td>1.0.0</td></tr>"
69 "<tr><td align='right'><b>License: </b></td><td>GPL v3 or later</td></tr>"
70 "<tr><td align='right'><b>Chief Architect: </b></td><td>James L. Hammons (shamus)</td></tr>"
71 "<tr><td align='right'><b>Coders: </b></td><td>James L. Hammons (shamus)</td></tr>"
72 // "<tr><td align='right'><b>Testers: </b></td><td>shamus</td></tr>"
73 "<tr><td align='right'><b>Homepage: </b></td><td>http://shamusworld.gotdns.org/architektonas/</td></tr>"
75 "<img src=':/res/atns-icon.png' style='float:right'>"
77 // "<td><img src=':/res/atns-icon.png'></td></tr></table>"
79 "<i>The authors of Architektonas would like to express their heartfelt gratitude to:</i>"
82 "<li>The authors of <b>Inkscape</b>, whose incredible GUI was a huge inspiration for us</li>"
83 "<li><b>QCad</b> for sucking so bad that we just <i>had</i> to write something better</li>"
84 "<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>"
90 text->setWordWrap(true);
91 // text->setMaximumWidth(800);
92 layout->addWidget(text);