[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r3210 - gnunet-qt/src/plugins/about
From: |
durner |
Subject: |
[GNUnet-SVN] r3210 - gnunet-qt/src/plugins/about |
Date: |
Thu, 3 Aug 2006 15:02:28 -0700 (PDT) |
Author: durner
Date: 2006-08-03 15:02:24 -0700 (Thu, 03 Aug 2006)
New Revision: 3210
Modified:
gnunet-qt/src/plugins/about/about.cc
gnunet-qt/src/plugins/about/about.h
Log:
credits & release notes
Modified: gnunet-qt/src/plugins/about/about.cc
===================================================================
--- gnunet-qt/src/plugins/about/about.cc 2006-08-03 20:17:06 UTC (rev
3209)
+++ gnunet-qt/src/plugins/about/about.cc 2006-08-03 22:02:24 UTC (rev
3210)
@@ -30,15 +30,14 @@
GAboutPlugin::GAboutPlugin() : GPlugin()
{
setupUi(this);
+ connect(htmAbout, SIGNAL(anchorClicked(const QUrl &)), this,
SLOT(linkHandler(const QUrl &)));
welcome();
}
-void GAboutPlugin::welcome()
+QString GAboutPlugin::header()
{
- htmAbout->setHtml(
- "<html>"
- "<body>"
+ return QString(
"<table bgcolor=\"#0a6cce\" border=\"0\" cellpadding=\"0\"
cellspacing=\"0\" height=\"62\" width=\"100%\">"
"<tr>"
"<td colspan=\"3\" height=\"10\" nowrap=\"nowrap\"
valign=\"middle\" />"
@@ -73,7 +72,16 @@
"</td>"
"</tr>"
"</table>"
- "<br>"
+ "<br>"
+ );
+}
+
+void GAboutPlugin::welcome()
+{
+ htmAbout->setHtml(
+ "<html>"
+ "<body>" +
+ header() +
"<center>"
"<font face=\"Arial, Helvetica\" size=\"5\"><b>" + tr("Welcome to ")
+ PACKAGE_STRING "</b></font>"
"<br />"
@@ -92,6 +100,133 @@
"</html>");
}
+void GAboutPlugin::about()
+{
+ htmAbout->setHtml(
+ "<html>"
+ "<body>" +
+ header() +
+ "<center>"
+ "<font face=\"Arial, Helvetica\" size=\"5\"><b>" + tr("About
GNUnet") + "</b></font>"
+ "<br />"
+ "<br />"
+ "<table width=\"90%\">"
+ "<tr>"
+ "<td>"
+ "<b><font size=\"4\">" +
+ tr("GNUnet developers") +
+ "</font></b>"
+ "<ul>"
+ "<li>Christian Grothoff</li>"
+ "<li>Nils Durner</li>"
+ "<li>Milan Nali</li>"
+ "<li>Michael John Wensley</li>"
+ "</ul>"
+ "<br>"
+ "<b><font size=\"4\">" +
+ tr("Code contributors") +
+ "</font></b>"
+ "<ul>"
+ "<li>Anders Carlsson</li>"
+ "<li>Antti Salonen</li>"
+ "<li>Blake Matheny</li>"
+ "<li>Eric Haumant</li>"
+ "<li>Eric Noack</li>"
+ "<li>Gerd Knorr</li>"
+ "<li>Glenn McGrath</li>"
+ "<li>Hendrik Pagenhardt</li>"
+ "<li>Igor Wronsky</li>"
+ "<li>Ioana Patrascu</li>"
+ "<li>James Blackwell</li>"
+ "<li>Jussi Eloranta</li>"
+ "<li>Jürgen Appel</li>"
+ "<li>Krista Grothoff</li>"
+ "<li>Larry Waldo</li>"
+ "<li>Ludovic Courtès</li>"
+ "<li>Marko Räihä</li>"
+ "<li>Paul Ruth</li>"
+ "<li>Renaldo Ferreira</li>"
+ "<li>Risto Saarelma</li>"
+ "<li>Roman Zippel</li>"
+ "<li>Romain Lievin</li>"
+ "<li>Simo Viitanen</li>"
+ "<li>Tiberius Stef</li>"
+ "<li>Tomi Tukiainen</li>"
+ "<li>Tuomas Toivonen</li>"
+ "<li>Tzvetan Horozov</li>"
+ "<li>Uli Luckas</li>"
+ "<li>Vasil Dimov</li>"
+ "</ul>"
+ "<br>"
+ "<b><font size=\"4\">" +
+ tr("Artwork") +
+ "</font></b>"
+ "<ul>"
+ "<li>Christian Muellner</li>"
+ "<li>Alex Jones</li>"
+ "<li>Nicklas Larsson</li>"
+ "<li>Jakub 'jimmac' Steiner</li>"
+ "</ul>"
+ "<br>"
+ "<b><font size=\"4\">" +
+ tr("Translators") +
+ "</font></b>"
+ "<ul>"
+ "<li>Di Ma</li>"
+ "<li>Jens Palsberg</li>"
+ "<li>Christian Grothoff</li>"
+ "<li>Nils Durner</li>"
+ "<li>Mathieu</li>"
+ "<li>Eric Haumant</li>"
+ "<li>Milan Nali</li>"
+ "<li>Hiroshi Yamauchi</li>"
+ "<li>Adam Welc</li>"
+ "<li>Bogdan Carbunar</li>"
+ "<li>Steven Michael Murphy</li>"
+ "<li>Phan Vinh Thinh</li>"
+ "<li>Daniel Nylander</li>"
+ "</ul>"
+ "<br>"
+ "<b><font size=\"4\">" +
+ tr("Package maintainers") +
+ "</font></b>"
+ "<ul>"
+ "<li>Kirill Ponomarew</li>"
+ "<li>Daniel Baumann</li>"
+ "<li>Arnaud Kyheng</li>"
+ "</ul>"
+
+ "</td>"
+ "</tr>"
+ "</table>"
+ "</center>"
+ "</body>"
+ "</html>");
+}
+
+void GAboutPlugin::notes()
+{
+ htmAbout->setHtml(
+ "<html>"
+ "<body>" +
+ header() +
+ "<center>"
+ "<font face=\"Arial, Helvetica\" size=\"5\"><b>" + tr("Release
notes") + "</b></font>"
+ "</center>"
+ "</body>"
+ "</html>");
+}
+
+void GAboutPlugin::linkHandler(const QUrl &link)
+{
+ if (link.toString() == "about")
+ about();
+ else if (link.toString() == "notes")
+ notes();
+ else
+ welcome();
+}
+
extern "C"
{
Modified: gnunet-qt/src/plugins/about/about.h
===================================================================
--- gnunet-qt/src/plugins/about/about.h 2006-08-03 20:17:06 UTC (rev 3209)
+++ gnunet-qt/src/plugins/about/about.h 2006-08-03 22:02:24 UTC (rev 3210)
@@ -38,7 +38,12 @@
public:
GAboutPlugin();
protected:
+ QString header();
void welcome();
+ void about();
+ void notes();
+protected slots:
+ void linkHandler(const QUrl &link);
};
#endif /*ABOUT_H_*/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r3210 - gnunet-qt/src/plugins/about,
durner <=