X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fabout.cpp;h=5cf1ade6d9d49f25fc01e70eafad89a22741d522;hb=26044acf8a4fe70772bd6e69afb8b8d20b5a6af5;hp=d964ed5ece2eb18fce8d34fe0d0c922cbfc8bef9;hpb=5da604521611a960140b58a2fb0f236c65610b70;p=virtualjaguar diff --git a/src/gui/about.cpp b/src/gui/about.cpp index d964ed5..5cf1ade 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: @@ -32,15 +33,15 @@ AboutWindow::AboutWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt::Dialog) 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: ggn (win32)
LinkoVitch, goldenegg (MacOS)
Homepage: http://icculus.org/virtualjaguar/
" "

" @@ -48,7 +49,7 @@ 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!)
" @@ -60,3 +61,9 @@ 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(); +}