diff options
Diffstat (limited to 'shemovcleaner.cpp')
-rw-r--r-- | shemovcleaner.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/shemovcleaner.cpp b/shemovcleaner.cpp index bb22e24..171d689 100644 --- a/shemovcleaner.cpp +++ b/shemovcleaner.cpp @@ -192,7 +192,15 @@ void ShemovCleaner::writeSettings(){ } void ShemovCleaner::aboutThisProgram(){ - QMessageBox::about(this, tr("About ShemovCleaner"), tr("A little helper program for the big sister SheMov")); + QString aboutLabel = QString(tr("About %1")).arg(qApp->applicationName()); + QString aboutText = QString("<p>%1 - A little helper program for the big sister SheMov</p>").arg(qApp->applicationName()); + aboutText.append("<table>"); + aboutText.append(QString(tr("<tr><td>Author<td></td>Sissy herself %1</td></tr>")).arg(QChar(0x26A4))); + aboutText.append(QString(tr("<tr><td>Organization</td><td>%1</td></tr>")).arg(qApp->organizationName())); + aboutText.append(QString(tr("<tr><td>Version</td><td>%1</td></tr>")).arg(qApp->applicationVersion())); + aboutText.append(QString(tr("<tr><td>Build:</td><td>/* __debug build__ */</td></tr>"))); + aboutText.append(tr("<tr><td>Depends</td><td>Qt</td></tr></table>")); + QMessageBox::about(this, aboutLabel, aboutText); } QAction *ShemovCleaner::createSeparator(){ |