X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fabout.cpp;h=879e977ec5e939f06bb2bb1d2f817ede21b3f1b8;hb=7228359373eb7602c26f7b098d6b2271ff5727a1;hp=d964ed5ece2eb18fce8d34fe0d0c922cbfc8bef9;hpb=5da604521611a960140b58a2fb0f236c65610b70;p=virtualjaguar diff --git a/src/gui/about.cpp b/src/gui/about.cpp index d964ed5..879e977 100644 --- a/src/gui/about.cpp +++ b/src/gui/about.cpp @@ -1,16 +1,17 @@ // // about.cpp - Credits // -// by James L. Hammons +// by James Hammons // (C) 2010 Underground Software // -// JLH = James L. Hammons +// JLH = James Hammons // // Who When What // --- ---------- ------------------------------------------------------------- // JLH 01/21/2010 Created this file // JLH 01/22/2010 Fleshed out the credits a bit more // JLH 01/22/2010 Fixed centering and decorating of window +// JLH 10/08/2011 Updated credits, added Esc & Return as exit keys // // STILL TO DO: @@ -19,6 +20,7 @@ #include "about.h" #include "version.h" + AboutWindow::AboutWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt::Dialog) { setWindowTitle(tr("About Virtual Jaguar...")); @@ -27,20 +29,16 @@ AboutWindow::AboutWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt::Dialog) layout->setSizeConstraint(QLayout::SetFixedSize); setLayout(layout); - image = new QLabel(); - image->setAlignment(Qt::AlignRight); - image->setPixmap(QPixmap(":/res/vj_title_small.png")); - layout->addWidget(image); - -// QString s = QString(tr("SVN %1
")).arg(__DATE__); - QString s;// = QString(""); + QString s; s.append(tr( + "" "" "" - "" - "" + "" + "" + "" "" "
Version: " VJ_RELEASE_VERSION " (" VJ_RELEASE_SUBVERSION ")" "
Coders: James L. Hammons (shamus)
Niels Wagenaar (nwagenaar)
Carwin Jones (Caz)
Adam Green
Testers: Guruma
Coders: James Hammons (shamus)
Niels Wagenaar (nwagenaar)
Carwin Jones (Caz)
Adam Green
Testers: Cyrano Jones, LinkoVitch, neo-rg, Robert R,
TheUMan, Dissection, overridex, geormetal
Build Team: shamus (win32)
goldenegg (MacOS)
Homepage: http://icculus.org/virtualjaguar/
" "

" @@ -48,10 +46,10 @@ AboutWindow::AboutWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt::Dialog) "

" "Aaron Giles for the original CoJag sources
" "David Raingeard for the original Virtual Jaguar sources
" - "Karl Stenerud for his Musashi 68K emulator
" + "Bernd Schmidt for his UAE 68K emulator
" "Sam Lantinga for his amazing SDL libraries
" "Ryan C. Gordon for Virtual Jaguar's web presence
" - "Curt Vendel for various Jaguar & other goodies (you rock!)
" + "Curt Vendel for various Jaguar & other goodies
" "Reboot for reasons too numerous to mention
" "The Free Jaguar Project (you know why) ;-)
" "The guys over at Atari Age :-)
" @@ -60,3 +58,10 @@ AboutWindow::AboutWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt::Dialog) text = new QLabel(s); layout->addWidget(text); } + + +void AboutWindow::keyPressEvent(QKeyEvent * e) +{ + if (e->key() == Qt::Key_Escape || e->key() == Qt::Key_Return) + hide(); +}