Merge branch 'develop'
[clinton/Virtual-Jaguar-Rx.git] / src / gui / about.cpp
1 //
2 // about.cpp - Credits
3 //
4 // by James Hammons
5 // (C) 2010 Underground Software
6 //
7 // JLH = James Hammons <jlhamm@acm.org>
8 // JPM = Jean-Paul Mari <djipi.mari@gmail.com>
9 //
10 // Who When What
11 // --- ---------- -------------------------------------------------------------
12 // JLH 01/21/2010 Created this file
13 // JLH 01/22/2010 Fleshed out the credits a bit more
14 // JLH 01/22/2010 Fixed centering and decorating of window
15 // JLH 10/08/2011 Updated credits, added Esc & Return as exit keys
16 // JPM 08/14/2017 Updated credits, added flynn
17 // JPM 09/06/2017 Updated flynn credit line to be more specific about the work
18 // JPM 09/22/2018 Updated Rx credit line to be more specific about the work
19 //
20
21 // STILL TO DO:
22 //
23
24 #include "about.h"
25 #include "version.h"
26
27
28 AboutWindow::AboutWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt::Dialog)
29 {
30 setWindowTitle(tr("About Virtual Jaguar..."));
31
32 layout = new QVBoxLayout();
33 layout->setSizeConstraint(QLayout::SetFixedSize);
34 setLayout(layout);
35
36 QString s;
37 s.append(tr(
38 "<img src=':/res/vj_rx_title_small.png' style='float: right'>"
39 "<table>"
40 "<tr><td align='right'><b>Version: </b></td><td>"
41 VJ_RELEASE_VERSION " (" VJ_RELEASE_SUBVERSION ") Rx"
42 "</td></tr>"
43 "<tr><td align='right'><b>Coders: </b></td><td>James Hammons (shamus)<br>Niels Wagenaar (nwagenaar)<br>Carwin Jones (Caz)<br>Adam Green</td></tr>"
44 "<tr><td align='right'><b>Testers: </b></td><td>Cyrano Jones, LinkoVitch, partycle, ggn,<br>neo-rg, Robert R, TheUMan, Dissection,<br>overridex, geormetal</td></tr>"
45 "<tr><td align='right'><b>Build Team: </b></td><td>shamus (win32)<br>goldenegg (MacOS)</td></tr>"
46 "<tr><td align='right'><b>Homepage: </b></td><td>http://icculus.org/virtualjaguar/<br>https://github.com/djipi/Virtual-Jaguar-Rx/</td></tr>"
47 "</table>"
48 "<br><br>"
49 "<i>Rx version:<i>"
50 "<br>"
51 "<b>Jean-Paul Mari</b> for the debugger integration, ELF/DWARF format, Win64 & Visual Studio 2017 support, among additional improvements"
52 "<br><br>"
53 "<i>The Virtual Jaguar team would like to express their gratitude to:</i>"
54 "<br><br>"
55 "<b>Aaron Giles</b> for the original CoJag sources<br>"
56 "<b>David Raingeard</b> for the original Virtual Jaguar sources<br>"
57 "<b>Bernd Schmidt</b> for his UAE 68K emulator<br>"
58 "<b>Sam Lantinga</b> for his amazing SDL libraries<br>"
59 "<b>Ryan C. Gordon</b> for Virtual Jaguar's web presence<br>"
60 "<b>Curt Vendel</b> for various Jaguar & other goodies<br>"
61 "<b>Reboot</b> for reasons too numerous to mention<br>"
62 "The guys over at <b>Atari Age</b> :-)<br>"
63 "<b>byuu</b> for <s>BSNES</s> Higan and showing us what was possible<br>"
64 ));
65 text = new QLabel(s);
66 layout->addWidget(text);
67 }
68
69
70 void AboutWindow::keyPressEvent(QKeyEvent * e)
71 {
72 // close the window
73 if ((e->key() == Qt::Key_Escape) || (e->key() == Qt::Key_Return))
74 {
75 hide();
76 }
77 }