Revisão | fadb8ac2dc0ad0a26f63cf9449dc3fa431905e6c (tree) |
---|---|
Hora | 2014-01-10 09:03:43 |
Autor | alucky4416 <alucky4416@user...> |
Commiter | alucky4416 |
CHG: modified about dialog message.
@@ -190,7 +190,17 @@ void MainWindow::on_actionExit_triggered() | ||
190 | 190 | |
191 | 191 | void MainWindow::on_actionAbout_triggered() |
192 | 192 | { |
193 | - QMessageBox::about(this, "About", tr("Qt Sch Chime v0.1")); | |
193 | + QString AppName = "QtSchChime"; | |
194 | + QString Version = "0.1"; | |
195 | + QString Year = "2014"; | |
196 | + QString Author = "alucky4416@users.sourceforge.ne.jp"; | |
197 | + QString msg; | |
198 | + msg = QString("<h2>%1 %2</h2>" \ | |
199 | + "<p>Using Qt4" \ | |
200 | + "<p>Using BASS audio library (Un4seen Developments)" \ | |
201 | + "<p>" \ | |
202 | + "<p>Copyright © %3 %4").arg(AppName).arg(Version).arg(Year).arg(Author); | |
203 | + QMessageBox::about(this, "About", msg); | |
194 | 204 | } |
195 | 205 | |
196 | 206 | void MainWindow::on_actionAbout_Qt_triggered() |