diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2012-02-22 09:10:24 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2012-02-22 09:10:24 +0000 |
| commit | 55a4b65ebe4386d6f83d31061becd218414fa6d1 (patch) | |
| tree | dddc267875560d2c159487b447e1f28fa1cf7df0 /src/qmmpui/aboutdialog.cpp | |
| parent | a8e60d56bb63b9f14b906f089262d99f39471565 (diff) | |
| download | qmmp-55a4b65ebe4386d6f83d31061becd218414fa6d1.tar.gz qmmp-55a4b65ebe4386d6f83d31061becd218414fa6d1.tar.bz2 qmmp-55a4b65ebe4386d6f83d31061becd218414fa6d1.zip | |
updated about dialog
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2634 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/aboutdialog.cpp')
| -rw-r--r-- | src/qmmpui/aboutdialog.cpp | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/src/qmmpui/aboutdialog.cpp b/src/qmmpui/aboutdialog.cpp index 14856772f..ca12e4308 100644 --- a/src/qmmpui/aboutdialog.cpp +++ b/src/qmmpui/aboutdialog.cpp @@ -40,11 +40,11 @@ AboutDialog::AboutDialog(QWidget* parent, Qt::WFlags fl) { setupUi(this); setAttribute(Qt::WA_QuitOnClose, false); - licenseTextEdit->setPlainText(getStringFromResource(":COPYING")); - aboutTextEdit->setHtml(loadAbout()); - authorsTextEdit->setPlainText(getStringFromResource(":authors")); - thanksToTextEdit->setPlainText(getStringFromResource(":thanks")); - translatorsTextEdit->setPlainText(getStringFromResource(":translators")); + licenseTextBrowser->setPlainText(getStringFromResource(":COPYING")); + aboutTextBrowser->setHtml(loadAbout()); + authorsTextBrowser->setPlainText(getStringFromResource(":authors")); + thanksToTextBrowser->setPlainText(getStringFromResource(":thanks")); + translatorsTextBrowser->setPlainText(getStringFromResource(":translators")); } AboutDialog::~AboutDialog() @@ -63,8 +63,18 @@ QString AboutDialog::loadAbout() text.append("<META content=\"text/html; charset=UTF-8\">"); text.append("</head>"); text.append("<h3>"+tr("Qt-based Multimedia Player (Qmmp)")+"</h3>"); - text.append("<h4>"+tr("Version: %1").arg(Qmmp::strVersion()) + "</h4>"); - text.append("<p>"+getStringFromResource(tr(":txt/description_en.txt"))+"</p>"); + + text.append("<p>"+getStringFromResource(tr(":description"))+"</p>"); + + text.append("<p><b>"+tr("Version: %1").arg(Qmmp::strVersion()) + "</b><br>"); + text.append(tr("Using Qt %1 (compiled with Qt %2)" ).arg(qVersion()).arg(QT_VERSION_STR) + "</p>"); + + text.append("<p>"); + text.append(tr("(c) %1-%2 Qmmp Development Team").arg(2006).arg(2012)+"<br>"); + text.append("<a href=\"http://qmmp.ylsoftware.com/\">http://qmmp.ylsoftware.com/</a><br>"); + text.append("<a href=\"http://code.google.com/p/qmmp//\">http://code.google.com/p/qmmp/</a>"); + text.append("</p>"); + text.append("<h5>"+tr("Input plugins:")+"</h5>"); text.append("<ul type=\"square\">"); foreach(DecoderFactory *fact, *Decoder::factories()) |
