summaryrefslogtreecommitdiff
path: root/src/aboutwindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/aboutwindow.cc')
-rw-r--r--src/aboutwindow.cc32
1 files changed, 9 insertions, 23 deletions
diff --git a/src/aboutwindow.cc b/src/aboutwindow.cc
index 4cf1caa..e5a487c 100644
--- a/src/aboutwindow.cc
+++ b/src/aboutwindow.cc
@@ -24,20 +24,6 @@
* along with MIaV; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-
-/*
- * $Id$
- */
-
-/*
- * $Log$
- * Revision 1.3 2005/05/03 08:31:58 deva
- * Removed the error object, and replaced it with a more generic info object.
- *
- * Revision 1.2 2005/05/01 09:56:25 deva
- * Added Id and Log tags to all files
- */
-
#include <config.h>
#ifdef USE_GUI
@@ -53,20 +39,20 @@ AboutWindow::AboutWindow( QWidget* parent, const char* name )
: QDialog( parent, name )
{
resize(320,460);
-// setModal(true);
+ setModal(true);
pix_logo = new QPixmap();
- pix_logo->load("miav-logo-512x512.png");
-
+ pix_logo->load( PIXMAP_LOGO );
+
setBackgroundColor(QColor(150,150,150));
- btn_ok = new QPushButton(this);
+ btn_ok = new QPushButton(this);
btn_ok->setText("OK");
btn_ok->move(200, 410);
- btn_ok->resize( 95, 40 );
- btn_ok->setFont( QFont( "Arial", 12, QFont::Bold ) );
-
- QObject::connect( btn_ok, SIGNAL(clicked()), this, SLOT(close()) );
-
+ btn_ok->resize( 95, 40 );
+ btn_ok->setFont( QFont( "Arial", 12, QFont::Bold ) );
+
+ QObject::connect( btn_ok, SIGNAL(clicked()), this, SLOT(close()) );
+
show();
}