"GNU General Public License for more details.<br />"
"You should have received a copy of the GNU General Public License\n"
"along with this program. If not, see"
- "<a href=\"http://www.gnu.org/licenses/\">"
- "<http://www.gnu.org/licenses/></a>."
+ "<<a href=\"http://www.gnu.org/licenses/\">"
+ "http://www.gnu.org/licenses/</a>>."
"</p></font>";
setWindowTitle(tr("About"));
+ scroll = new QScrollArea(this);
+ w = new QWidget(this);
+
mainLayout = new QVBoxLayout(this);
- setLayout(mainLayout);
+ scrollLayout = new QHBoxLayout(this);
+ scrollLayout->addWidget(w);
+ w->setLayout(mainLayout);
+ scroll->setWidget(w);
+ scroll->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
+ this->setLayout(scrollLayout);
+
imageLabel = new QLabel(this);
mainLabel = new QLabel(this);
licenseLabel = new QLabel(this);
+
mainLayout->addWidget(imageLabel, 0, Qt::AlignCenter);
mainLayout->addWidget(mainLabel);
mainLayout->addWidget(licenseLabel);
- mainLabel->setOpenExternalLinks(true);
QImage img(":/icons/mdictionary.png");
imageLabel->setPixmap(QPixmap::fromImage(img));
imageLabel->setMinimumSize(imageLabel->pixmap()->size());
mainLabel->setText(infoNote + comarchNote);
+ mainLabel->setOpenExternalLinks(true);
licenseLabel->setText(licenseNote);
licenseLabel->setWordWrap(true);
licenseLabel->setOpenExternalLinks(true);
- this->repaint();
- this->update();
+
#ifdef Q_WS_MAEMO_5
mainLayout->addSpacing(20);