X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fabout.cpp;h=5a3c02ce9fd539c817013622be0f8f8cc68fe040;hb=be0b102eec76acf80acce7cd3de8e690e27564d4;hp=c3543073d6bd2a8c5c4d1ec17ea379eab18f93d4;hpb=e6b7d61963423b7f9cb4c6c24d2befca50328d4f;p=virtualjaguar diff --git a/src/gui/about.cpp b/src/gui/about.cpp index c354307..5a3c02c 100644 --- a/src/gui/about.cpp +++ b/src/gui/about.cpp @@ -9,65 +9,51 @@ // 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 +// + +// STILL TO DO: // #include "about.h" -AboutWindow::AboutWindow(QWidget * parent/*= 0*/): QWidget() +AboutWindow::AboutWindow(QWidget * parent/*= 0*/): QWidget(parent, Qt::Dialog) { + setWindowTitle("About Virtual Jaguar..."); + layout = new QVBoxLayout(); layout->setSizeConstraint(QLayout::SetFixedSize); -// layout->setMargin(Style::WindowMargin); -// layout->setSpacing(Style::WidgetSpacing); setLayout(layout); -// logo = new Logo; -// logo->setFixedSize(600, 106); -// layout->addWidget(logo); + image = new QLabel(); + image->setAlignment(Qt::AlignRight); + image->setPixmap(QPixmap(":/res/vj_title_small.png")); + layout->addWidget(image); - text = new QLabel(tr( +// QString s = QString(tr("(Last full build was on %1 %2)
")).arg(__DATE__).arg(__TIME__); + QString s = QString(tr("SVN %1
")).arg(__DATE__); + s.append(tr( "" "" - "" - "" + "" + "" + "" "
Version: 2.0.0
Author: byuu
Homepage: http://byuu.org/
Coders: James L. Hammons (shamus)
Niels Wagenaar (nwagenaar)
Carwin Jones (Caz)
Adam Green
Testers: Guruma
Homepage: http://icculus.org/virtualjaguar/
" + "

" + "The Virtual Jaguar team would like to express their gratitude to:" + "

" + "Aaron Giles for the original CoJag sources
" + "David Raingeard for the original Virtual Jaguar sources
" + "Karl Stenerud for his Musashi 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!)
" + "Reboot for reasons too numerous to mention
" + "The Free Jaguar Project (you know why) ;-)
" + "The guys over at Atari Age :-)
" + "byuu for BSNES and showing us what was possible" )); + text = new QLabel(s); layout->addWidget(text); } - - -// Byuu's version... -#if 0 -#include "about.moc" -AboutWindow *aboutWindow; - -AboutWindow::AboutWindow() : QbWindow(config().geometry.aboutWindow) { - setObjectName("about-window"); - setWindowTitle("About bsnes ..."); - - layout = new QVBoxLayout; - layout->setSizeConstraint(QLayout::SetFixedSize); - layout->setMargin(Style::WindowMargin); - layout->setSpacing(Style::WidgetSpacing); - setLayout(layout); - - logo = new Logo; - logo->setFixedSize(600, 106); - layout->addWidget(logo); - - info = new QLabel(string() << - "" - "" - "" - "" - "
Version: " << bsnesVersion << "
Author: byuu
Homepage: http://byuu.org/
" - ); - layout->addWidget(info); -} - -void AboutWindow::Logo::paintEvent(QPaintEvent*) { - QPainter painter(this); - QPixmap pixmap(":/logo.png"); - painter.drawPixmap(0, 0, pixmap); -} -#endif