ui: Added download link to start screen

This commit is contained in:
Eberhard Graether
2016-06-12 10:12:27 +02:00
parent be3ba0ba23
commit b57171552f
2 changed files with 24 additions and 0 deletions
@@ -38,6 +38,17 @@
font-weight: bold;
}
#versionLabel {
color: black;
font-size: 12pt;
font-weight: bold;
}
#updateLabel {
color: black;
font-size: 12pt;
}
#welcomeLabel {
color: black;
font-size: 12pt;
+13
View File
@@ -15,6 +15,7 @@
#include "qt/utility/QtDeviceScaledPixmap.h"
#include "qt/utility/utilityQt.h"
#include "utility/logging/logging.h"
#include "utility/Version.h"
#include "isTrial.h"
QtRecentProjectButton::QtRecentProjectButton(QWidget* parent)
@@ -155,6 +156,18 @@ void QtStartScreen::setupStartScreen()
m_openProjectButton->setObjectName("projectButton");
m_openProjectButton->show();
connect(m_openProjectButton, SIGNAL(clicked()), this, SLOT(handleOpenProjectButton()));
QLabel* versionLabel = new QLabel(("Version " + Version::getApplicationVersion().toDisplayString()).c_str(), this);
versionLabel->setGeometry(30, 234, 300, 50);
versionLabel->setObjectName("versionLabel");
versionLabel->show();
QLabel* updateLabel = new QLabel(
"<a href=\"https://coati.io/downloads\" style=\"color: #007AC2;\">check for new version</a>", this);
updateLabel->setOpenExternalLinks(true);
updateLabel->setGeometry(30, 255, 300, 50);
updateLabel->setObjectName("updateLabel");
updateLabel->show();
}
QLabel* recentProjectsLabel = new QLabel("Recent Projects: ", this);