diff options
author | deva <deva> | 2006-03-06 10:44:07 +0000 |
---|---|---|
committer | deva <deva> | 2006-03-06 10:44:07 +0000 |
commit | c9bfc4db72b84292f541c795993abde98e22121f (patch) | |
tree | 687411dce72a70dc0f4c337c8e496607308f8ab4 /client/aboutwindow.cc | |
parent | c629a137b5f91097004f1a267d1433393e5cc512 (diff) |
*** empty log message ***
Diffstat (limited to 'client/aboutwindow.cc')
-rw-r--r-- | client/aboutwindow.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/client/aboutwindow.cc b/client/aboutwindow.cc index 8743ed8..849608d 100644 --- a/client/aboutwindow.cc +++ b/client/aboutwindow.cc @@ -29,14 +29,14 @@ #include "aboutwindow.h" -#include <qpainter.h> -#include <qfont.h> +#include <QPainter> +#include <QFont> #include <config.h> #define MARGIN 12 -AboutWindow::AboutWindow( QWidget* parent, const char* name ) - : QDialog( parent, name ) +AboutWindow::AboutWindow( QWidget* parent) + : QDialog( parent ) { setModal(true); pix_about = new QPixmap(); @@ -44,7 +44,7 @@ AboutWindow::AboutWindow( QWidget* parent, const char* name ) resize(pix_about->width(), pix_about->height()); - setBackgroundColor(QColor(200,200,200)); + // setBackgroundColor(QColor(200,200,200)); btn_ok = new QPushButton(this); btn_ok->setText("OK"); @@ -79,7 +79,7 @@ void AboutWindow::paintEvent( QPaintEvent *event ) painter.drawPixmap(0,0, *pix_about); // Draw title and version - painter.setBrush( SolidPattern ); + painter.setBrush( Qt::SolidPattern ); painter.setFont( QFont( "Arial", 18, QFont::Bold ) ); painter.setPen( Qt::black ); painter.drawText(version_x, version_y, "MIAV-Grab v" VERSION); |