]> Shamusworld >> Repos - virtualjaguar/blob - src/gui/about.cpp
2.0.2 release.
[virtualjaguar] / src / gui / about.cpp
1 //
2 // about.cpp - Credits
3 //
4 // by James L. Hammons
5 // (C) 2010 Underground Software
6 //
7 // JLH = James L. Hammons <jlhamm@acm.org>
8 //
9 // Who  When        What
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
14 // JLH  10/08/2011  Updated credits, added Esc & Return as exit keys
15 //
16
17 // STILL TO DO:
18 //
19
20 #include "about.h"
21 #include "version.h"
22
23 AboutWindow::AboutWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt::Dialog)
24 {
25         setWindowTitle(tr("About Virtual Jaguar..."));
26
27         layout = new QVBoxLayout();
28         layout->setSizeConstraint(QLayout::SetFixedSize);
29         setLayout(layout);
30
31         image = new QLabel();
32         image->setAlignment(Qt::AlignRight);
33         image->setPixmap(QPixmap(":/res/vj_title_small.png"));
34         layout->addWidget(image);
35
36         QString s;
37         s.append(tr(
38                 "<table>"
39                 "<tr><td align='right'><b>Version: </b></td><td>"
40                 VJ_RELEASE_VERSION " (" VJ_RELEASE_SUBVERSION ")"
41                 "</td></tr>"
42                 "<tr><td align='right'><b>Coders: </b></td><td>James L. Hammons (shamus)<br>Niels Wagenaar (nwagenaar)<br>Carwin Jones (Caz)<br>Adam Green</td></tr>"
43                 "<tr><td align='right'><b>Testers: </b></td><td>Cyrano Jones, LinkoVitch, neo-rg, Robert R,<br>TheUMan, Dissection, overridex, geormetal</td></tr>"
44                 "<tr><td align='right'><b>Build Team: </b></td><td>ggn (win32)<br>LinkoVitch, goldenegg (MacOS)</td></tr>"
45                 "<tr><td align='right'><b>Homepage: </b></td><td>http://icculus.org/virtualjaguar/</td></tr>"
46                 "</table>"
47                 "<br><br>"
48                 "<i>The Virtual Jaguar team would like to express their gratitude to:</i>"
49                 "<br><br>"
50                 "<b>Aaron Giles</b> for the original CoJag sources<br>"
51                 "<b>David Raingeard</b> for the original Virtual Jaguar sources<br>"
52                 "<b>Bernd Schmidt</b> for his UAE 68K emulator<br>"
53                 "<b>Sam Lantinga</b> for his amazing SDL libraries<br>"
54                 "<b>Ryan C. Gordon</b> for Virtual Jaguar's web presence<br>"
55                 "<b>Curt Vendel</b> for various Jaguar & other goodies (you <i>rock!</i>)<br>"
56                 "<b>Reboot</b> for reasons too numerous to mention<br>"
57                 "<b>The Free Jaguar Project</b> (you know why) ;-)<br>"
58                 "The guys over at <b>Atari Age</b> :-)<br>"
59                 "<b>byuu</b> for BSNES and showing us what was possible"
60         ));
61         text = new QLabel(s);
62         layout->addWidget(text);
63 }
64
65 void AboutWindow::keyPressEvent(QKeyEvent * e)
66 {
67         if (e->key() == Qt::Key_Escape || e->key() == Qt::Key_Return)
68                 hide();
69 }