diff --git a/CMakeLists.txt b/CMakeLists.txt index f4540c0..a8bc1b1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,8 +9,8 @@ set(META_APP_URL "https://github.com/${META_APP_AUTHOR}/${META_PROJECT_NAME}") set(META_APP_DESCRIPTION "Common Qt related C++ classes and routines used by my applications such as dialogs, widgets and models") set(META_VERSION_MAJOR 5) -set(META_VERSION_MINOR 12) -set(META_VERSION_PATCH 2) +set(META_VERSION_MINOR 13) +set(META_VERSION_PATCH 0) set(META_APP_VERSION ${META_VERSION_MAJOR}.${META_VERSION_MINOR}.${META_VERSION_PATCH}) # add project files diff --git a/aboutdialog/aboutdialog.cpp b/aboutdialog/aboutdialog.cpp index 9cff509..54c2106 100644 --- a/aboutdialog/aboutdialog.cpp +++ b/aboutdialog/aboutdialog.cpp @@ -57,7 +57,13 @@ AboutDialog::AboutDialog(QWidget *parent, const QString &applicationName, const } else { m_ui->productNameLabel->setText(QApplication::applicationName()); } - m_ui->creatorLabel->setText(tr("developed by %1").arg(creator.isEmpty() ? QApplication::organizationName() : creator)); + if (creator.startsWith(QLatin1Char('<'))) { + // assing rich text as-is + m_ui->creatorLabel->setText(creator); + } else { + // add "developed by " before creator name + m_ui->creatorLabel->setText(tr("developed by %1").arg(creator.isEmpty() ? QApplication::organizationName() : creator)); + } m_ui->versionLabel->setText(version.isEmpty() ? QApplication::applicationVersion() : version); const auto &deps(dependencyVersions.size() ? dependencyVersions : ApplicationUtilities::dependencyVersions2); if (deps.size()) { diff --git a/aboutdialog/aboutdialog.ui b/aboutdialog/aboutdialog.ui index 94ac0fc..8f325cc 100644 --- a/aboutdialog/aboutdialog.ui +++ b/aboutdialog/aboutdialog.ui @@ -233,6 +233,12 @@ Qt::AlignCenter + + true + + + Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse +