git-svn-id: svn://db.shs.com.ru/libs@925 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2020-04-01 17:11:32 +00:00
parent 51e3fa45d6
commit e3a51eef6d
3 changed files with 7 additions and 3 deletions

View File

@@ -43,6 +43,7 @@ AboutWindow::AboutWindow(QWidget * parent): QDialog(parent), ui(new Ui::AboutWin
foreach (SSPair p, builds) {
lay->addRow(p.first, new QLabel(p.second));
}
ui->imageView->setPixmap(QPixmap::fromImage(logo_im));
ui->labelComment->setText(comment);
ui->labelComment->setHidden(comment.isEmpty());
//ui->labelArch->setText(QSysInfo::currentCpuArchitecture());
@@ -81,6 +82,11 @@ void AboutWindow::setLogo(QImage im) {
}
void AboutWindow::setLogo(QString path) {
logo = QImage(path);
}
void AboutWindow::addVersion(QString name, QString version) {
if (!name.endsWith(":")) name.append(":");
foreach (const SSPair & p, versions) {