--- a/QTfrontend/about.cpp Tue Feb 20 16:58:53 2007 +0000
+++ b/QTfrontend/about.cpp Tue Feb 20 17:32:25 2007 +0000
@@ -19,7 +19,7 @@
#include <QGridLayout>
#include <QSvgWidget>
#include <QLabel>
-#include <QScrollArea>
+#include <QTextBrowser>
#include "about.h"
About::About(QWidget * parent) :
@@ -43,10 +43,7 @@
lbl1->setWordWrap(true);
mainLayout->addWidget(lbl1, 0, 1);
- QScrollArea *sa = new QScrollArea(this);
- sa->setWidgetResizable(true);
- sa->setFrameStyle(QFrame::NoFrame);
- QLabel *lbl2 = new QLabel(this);
+ QTextBrowser *lbl2 = new QTextBrowser(this);
lbl2->setOpenExternalLinks(true);
lbl2->setText(
@@ -63,10 +60,7 @@
"Aleksey Andreev <<a href=\"mailto:blaknayabr@gmail.com\">blaknayabr@gmail.com</a>><br>"
"Aleksander Rudalev <<a href=\"mailto:alexv@pomorsu.ru\">alexv@pomorsu.ru</a>><br>"
"Natasha Stafeeva <<a href=\"mailto:layout@pisem.net\">layout@pisem.net</a>>"
- "</p>" +
- QLabel::tr("<h2></h2><p></p>")
+ "</p>"
);
- lbl2->setWordWrap(true);
- sa->setWidget(lbl2);
- mainLayout->addWidget(sa, 1, 1);
+ mainLayout->addWidget(lbl2, 1, 1);
}