summaryrefslogtreecommitdiff
path: root/src/aboutwindow.cc
diff options
context:
space:
mode:
authordeva <deva>2005-07-28 15:09:52 +0000
committerdeva <deva>2005-07-28 15:09:52 +0000
commitc1e99b4951bd5e376cfab14cb6870869e60b91a2 (patch)
tree694e64f8f91149044e257e05df7f4de209a4720d /src/aboutwindow.cc
parent6be08a50e748fbccd05a0194a65b2721b78c1b76 (diff)
*** empty log message ***
Diffstat (limited to 'src/aboutwindow.cc')
-rw-r--r--src/aboutwindow.cc16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/aboutwindow.cc b/src/aboutwindow.cc
index 06ebb69..8743ed8 100644
--- a/src/aboutwindow.cc
+++ b/src/aboutwindow.cc
@@ -33,7 +33,7 @@
#include <qfont.h>
#include <config.h>
-//"miav-grab.h"
+
#define MARGIN 12
AboutWindow::AboutWindow( QWidget* parent, const char* name )
: QDialog( parent, name )
@@ -75,8 +75,10 @@ void AboutWindow::paintEvent( QPaintEvent *event )
QPainter painter;
painter.begin(this);
+ // Draw background
painter.drawPixmap(0,0, *pix_about);
+ // Draw title and version
painter.setBrush( SolidPattern );
painter.setFont( QFont( "Arial", 18, QFont::Bold ) );
painter.setPen( Qt::black );
@@ -84,18 +86,6 @@ void AboutWindow::paintEvent( QPaintEvent *event )
painter.setPen( Qt::red );
painter.drawText(version_x + 2, version_y + 2, "MIAV-Grab v" VERSION);
- /*
- painter.setBrush( Dense4Pattern );
- painter.drawRect(25,25,270,377);
-
- painter.setPen( Qt::white );
- painter.setFont( QFont( "Arial", 11, QFont::Bold ) );
- painter.drawText(30,70, 270, 357, 0, ABOUT_INFO);
-
- painter.setPen( Qt::white );
- painter.setFont( QFont( "Arial", 8, QFont::Bold ) );
- painter.drawText(30,165, 270, 357, 0, GPL_LICENSE);
- */
painter.end();
}