summaryrefslogtreecommitdiff
path: root/src/aboutwindow.cc
diff options
context:
space:
mode:
authordeva <deva>2005-07-28 11:23:25 +0000
committerdeva <deva>2005-07-28 11:23:25 +0000
commitdf6bde85bfd7206fc9dca3e84f6bd8a23056d051 (patch)
treec7e91844b2af4486c1bfa72ac273e596e01e89d6 /src/aboutwindow.cc
parent7e34d01db38e0af1bfdb5a20f2f20e8567bfa0b1 (diff)
*** empty log message ***
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();
}