From c1e99b4951bd5e376cfab14cb6870869e60b91a2 Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 28 Jul 2005 15:09:52 +0000 Subject: *** empty log message *** --- src/aboutwindow.cc | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'src/aboutwindow.cc') 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 #include -//"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(); } -- cgit v1.2.3