ui: acknowledgements

* added acknowledgement text to mention the "FH Salzburg".
* fixed alignments in about screen.
This commit is contained in:
malte_langkabel
2015-10-20 10:25:12 +02:00
parent e8a63c9de5
commit a73906252e
+12 -5
View File
@@ -28,18 +28,25 @@ void QtAbout::setup()
void QtAbout::populateForm(QFormLayout* layout)
{
QLabel* developerName = new QLabel("Developed by:");
developerName->setAlignment(Qt::AlignTop);
QLabel* developerLabel = new QLabel(
"\nManuel Dobusch\n"
"Manuel Dobusch\n"
"Eberhard Gräther\n"
"Malte Langkabel\n"
"Victoria Pfausler\n"
"Andreas Stallinger\n");
developerLabel->setAlignment(Qt::AlignTop);
layout->addRow(developerName, developerLabel);
QLabel* acknowledgementsName = new QLabel("Acknowledgements:");
acknowledgementsName->setAlignment(Qt::AlignTop);
QLabel* acknowledgementsLabel = new QLabel("Coati 0.1 was created in the context of education at the University of Applied Sciences Salzburg\n");
acknowledgementsLabel->setWordWrap(true);
acknowledgementsLabel->setAlignment(Qt::AlignTop);
layout->addRow(acknowledgementsName, acknowledgementsLabel);
layout->addRow(QString("Developed by:"), developerLabel);
layout->addRow(QString("Version:"), new QLabel(GIT_VERSION_NUMBER));
layout->addRow(QString("Branch:"), new QLabel(GIT_BRANCH));
layout->addRow(QString("Buildtype:"), new QLabel(BUILD_TYPE));
layout->addRow(QString("Date:"), new QLabel(GIT_COMMIT_TIME));
}
void QtAbout::handleCancelButtonPress()