From: Shamus Hammons Date: Fri, 22 Jan 2010 14:44:32 +0000 (+0000) Subject: More About box tweaking X-Git-Tag: 2.0.0~34^2~47 X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90217c7d09fe1b0c7c78e911f3b0c90333f8f9c2;p=virtualjaguar More About box tweaking --- diff --git a/res/vj_title_small.png b/res/vj_title_small.png new file mode 100644 index 0000000..dd0c8fd Binary files /dev/null and b/res/vj_title_small.png differ diff --git a/src/gui/about.cpp b/src/gui/about.cpp index c354307..bd3df4a 100644 --- a/src/gui/about.cpp +++ b/src/gui/about.cpp @@ -15,6 +15,8 @@ AboutWindow::AboutWindow(QWidget * parent/*= 0*/): QWidget() { + setWindowTitle("About Virtual Jaguar..."); + layout = new QVBoxLayout(); layout->setSizeConstraint(QLayout::SetFixedSize); // layout->setMargin(Style::WindowMargin); @@ -24,12 +26,16 @@ AboutWindow::AboutWindow(QWidget * parent/*= 0*/): QWidget() // logo = new Logo; // logo->setFixedSize(600, 106); // layout->addWidget(logo); + image = new QLabel(); + image->setPixmap(QPixmap(":/res/vj_title_small.png")); +//hrm, this doesn't work + layout->addWidget(image); text = new QLabel(tr( "" "" - "" - "" + "" + "" "
Version: 2.0.0
Author: byuu
Homepage: http://byuu.org/
Author: James L. Hammons & others
Homepage: http://icculus.org/virtualjaguar/
" )); layout->addWidget(text); diff --git a/src/gui/about.h b/src/gui/about.h index c448651..7397e3b 100644 --- a/src/gui/about.h +++ b/src/gui/about.h @@ -18,6 +18,7 @@ class AboutWindow: public QWidget private: QVBoxLayout * layout; QLabel * text; + QLabel * image; }; #endif // __ABOUT_H__