QTfrontend/about.cpp
changeset 2525 e6cdc0251cd1
parent 2460 ac0c497fb842
child 2751 2a3091b13ce4
--- a/QTfrontend/about.cpp	Sat Oct 17 13:34:40 2009 +0000
+++ b/QTfrontend/about.cpp	Sat Oct 17 13:40:59 2009 +0000
@@ -17,7 +17,6 @@
  */
 
 #include <QGridLayout>
-#include <QSvgWidget>
 #include <QLabel>
 #include <QTextBrowser>
 #include "about.h"
@@ -27,9 +26,17 @@
   QWidget(parent)
 {
 	QGridLayout *mainLayout = new QGridLayout(this);
-	QSvgWidget *hedgehog = new QSvgWidget(":/res/Hedgehog.svg", this);
-	hedgehog->setFixedSize(300, 329);
-	mainLayout->addWidget(hedgehog, 0, 0, 2, 1);
+        QLabel *imageLabel = new QLabel;
+        QImage image(":/res/Hedgehog.png");
+
+        imageLabel->setPixmap(QPixmap::fromImage(image));
+        imageLabel->setScaledContents(true);
+
+        imageLabel->setMinimumWidth(2.8);
+        imageLabel->setMaximumWidth(280);
+        imageLabel->setMinimumHeight(30);
+        imageLabel->setMaximumHeight(300);
+        mainLayout->addWidget(imageLabel, 0, 0, 2, 1);
 
 	QLabel *lbl1 = new QLabel(this);