equal
deleted
inserted
replaced
69 leftLayout->addWidget(imageLabel, 0, Qt::AlignHCenter); |
69 leftLayout->addWidget(imageLabel, 0, Qt::AlignHCenter); |
70 |
70 |
71 QLabel *lbl1 = new QLabel(this); |
71 QLabel *lbl1 = new QLabel(this); |
72 lbl1->setOpenExternalLinks(true); |
72 lbl1->setOpenExternalLinks(true); |
73 lbl1->setText( |
73 lbl1->setText( |
74 "<style type=\"text/css\">" |
|
75 "a { color: #ffcc00; }" |
|
76 // "a:hover { color: yellow; }" |
|
77 "</style>" |
|
78 //: %1 contains Hedgewars' version number |
74 //: %1 contains Hedgewars' version number |
79 "<div align=\"center\"><h1>"+QString(tr("Hedgewars %1")).arg(*cVersionString) + "</h1>" |
75 "<div align=\"center\"><h1>"+QString(tr("Hedgewars %1")).arg(*cVersionString) + "</h1>" |
80 //: “Revision” stands for a revision in Mercurial, a distributed version control system. %1 is the revision, %2 is the hexadecimal hash. |
76 //: “Revision” stands for a revision in Mercurial, a distributed version control system. %1 is the revision, %2 is the hexadecimal hash. |
81 "<h3>" + QString(tr("Revision %1 (%2)")).arg(*cRevisionString, *cHashString) + "</h3>" |
77 "<h3>" + QString(tr("Revision %1 (%2)")).arg(*cRevisionString, *cHashString) + "</h3>" |
82 //: %1 is replaced by the URL of Hedgewars. |
78 //: %1 is replaced by the URL of Hedgewars. |
98 lbl2->setSource(localpage); //sets the source of the label from the file above |
94 lbl2->setSource(localpage); //sets the source of the label from the file above |
99 mainLayout->addWidget(lbl2, 1, 1); |
95 mainLayout->addWidget(lbl2, 1, 1); |
100 |
96 |
101 /* Library information */ |
97 /* Library information */ |
102 |
98 |
103 QString libinfo = "<style type=text/css>a:link { color: #FFFF6E; }</style>"; |
|
104 //: For the version numbers of Hedgewars' software dependencies |
99 //: For the version numbers of Hedgewars' software dependencies |
105 libinfo.append(QString(tr("Dependency versions:") + QString("<br>"))); |
100 QString libinfo = QString(tr("Dependency versions:") + QString("<br>")); |
106 |
101 |
107 #ifdef __GNUC__ |
102 #ifdef __GNUC__ |
108 libinfo.append(QString(tr("<a href=\"http://gcc.gnu.org\">GCC</a>: %1")).arg(__VERSION__)); |
103 libinfo.append(QString(tr("<a href=\"http://gcc.gnu.org\">GCC</a>: %1")).arg(__VERSION__)); |
109 libinfo.append(QString("<br>")); |
104 libinfo.append(QString("<br>")); |
110 #else |
105 #else |