Back to index

scribus-ng  1.3.4.dfsg+svn20071115
about.cpp
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 /***************************************************************************
00008  *                                                                         *
00009  *   This program is free software; you can redistribute it and/or modify  *
00010  *   it under the terms of the GNU General Public License as published by  *
00011  *   the Free Software Foundation; either version 2 of the License, or     *
00012  *   (at your option) any later version.                                   *
00013  *                                                                         *
00014  ***************************************************************************/
00015 #include "about.h"
00016 #include "about.moc"
00017 #include <qpixmap.h>
00018 #include <qtextstream.h>
00019 #include <qtooltip.h>
00020 #include <qlabel.h>
00021 #include <qtabwidget.h>
00022 #include <qwidget.h>
00023 #include <qpushbutton.h>
00024 #include <qlayout.h>
00025 
00026 #include "commonstrings.h"
00027 #include "scconfig.h"
00028 #include "gsutil.h"
00029 #include "util.h"
00030 #include "helpbrowser.h" // due the TextBrowser (for html browsing)
00031 #include "upgradechecker.h"
00032 #include "langmgr.h"
00033 
00034 extern QPixmap loadIcon(QString nam);
00035 
00044 About::About( QWidget* parent ) : QDialog( parent, "About", true, 0 )
00045 {
00046        setCaption( tr("About Scribus %1").arg(VERSION) );
00047        setIcon(loadIcon("AppIcon.png"));
00048        aboutLayout = new QVBoxLayout( this );
00049        aboutLayout->setSpacing( 6 );
00050        aboutLayout->setMargin( 10 );
00051        tabWidget2 = new QTabWidget( this, "TabWidget2" );
00052        tabWidget2->setMinimumSize( QSize( 438, 258 ) );
00053        tab = new QWidget( tabWidget2, "tab" );
00054        tabLayout1 = new QVBoxLayout( tab );
00055        tabLayout1->setSpacing( 6 );
00056        tabLayout1->setMargin( 15 );
00057        pixmapLabel1 = new QLabel( tab, "PixmapLabel1" );
00058        pixmapLabel1->setPixmap(loadIcon("scribus_logo.png"));
00059        pixmapLabel1->setAlignment(Qt::AlignCenter);
00060        tabLayout1->addWidget( pixmapLabel1 );
00061        buildID = new QLabel( tab, "BB" );
00062        buildID->setAlignment(Qt::AlignCenter);
00063        QString BUILD_DAY = "16";
00064        QString BUILD_MONTH = CommonStrings::november;
00065        QString BUILD_YEAR = "2007";
00066        QString BUILD_TIME = "";
00067        QString BUILD_TZ = "";
00068        QString BUILD_NAME = "";
00069 
00070 // This is the old way:
00071        QString built = tr("%1 %2 %3").arg(BUILD_DAY).arg(BUILD_MONTH).arg(BUILD_YEAR);
00072 
00073 // This is my way, only activated when envvar BUILD_NAME is set :-)  AV
00074 //#include "about_builddate.inc"
00075        QString version = VERSION;
00076        if (BUILD_NAME != "")
00077               version += " \"" + BUILD_NAME + "\"";
00078        if (BUILD_NAME == "BleedingEdge")
00079                built = tr("%3-%2-%1 %4 %5").arg(BUILD_DAY).arg(BUILD_MONTH).arg(BUILD_YEAR).arg(BUILD_TIME).arg(BUILD_TZ);
00080 
00081        QString bu;
00082        bu += "C";
00083        bu += "-";
00084 #ifdef HAVE_CUPS
00085        bu += "C";
00086 #else
00087        bu += "*";
00088 #endif
00089        bu += "-";
00090        bu += "T";
00091        bu += "-";
00092 #ifdef HAVE_FONTCONFIG
00093        bu += "F";
00094 #else
00095        bu += "*";
00096 #endif
00097        bu += "-";
00098 #ifdef HAVE_CAIRO
00099        bu += "C";
00100 #else
00101        bu += "A";
00102 #endif
00103 
00104 // Some more information if we are not on a 32bit little endian Unix machine
00105 #if defined(Q_OS_WIN)
00106        bu += "-Windows";
00107 #elif defined(Q_OS_DARWIN)
00108        // dunno if anyone uses this...
00109        bu += "-Darwin";
00110 #elif defined(Q_OS_MAC)
00111        bu += "-Mac/";
00112 #  if defined(Q_WS_MACX)
00113        bu += "Aqua";
00114 #  elif define(Q_WS_X11)
00115        bu += "X11";
00116 #  else
00117        bu += "?";
00118 #  endif
00119 #else
00120        int wordSize;
00121        bool bigEndian;
00122        qSysInfo( & wordSize, & bigEndian );
00123        if (wordSize != 32)
00124               bu += QString("-%1bit").arg(wordSize);
00125        if (bigEndian)
00126               bu += "-Big";
00127 #endif
00128 
00129        QString gsver(getGSVersion());
00130        if (!gsver.isNull())
00131               gsver = tr("Using Ghostscript version %1").arg(gsver);
00132        else
00133               gsver = tr("No Ghostscript version available");
00134        buildID->setText( tr("<b>Scribus Version %1</b><p>%2<br/>%3 %4<br/>%5</p>").arg(version).arg(built).arg( tr("Build ID:")).arg(bu).arg(gsver));
00135        tabLayout1->addWidget( buildID );
00136        tabWidget2->insertTab( tab, tr( "&About" ) );
00137        tab_2 = new QWidget( tabWidget2, "tab_2" );
00138        tabLayout = new QHBoxLayout( tab_2 );
00139        tabLayout->setSpacing( 6 );
00140        tabLayout->setMargin( 10 );
00141        textView1 = new TextBrowser( tab_2, "TextView1" );
00142        textView1->setText(QString::fromUtf8("<table><tr><td><b>" + tr("Development Team:").utf8() + "</b></td><td> </td></tr>" +
00143                                                                              "<tr><td>Franz Schmid</td><td>Franz.Schmid@altmuehlnet.de</td></tr>" +
00144                                                                              "<tr><td>Peter Linnell</td><td>mrdocs@scribus.info</td></tr>" +
00145                                                                              "<tr><td>Craig Bradney</td><td>cbradney@zip.com.au</td></tr>" +
00146                                                                              "<tr><td>Petr Vaněk</td><td>petr@yarpen.cz</td></tr>" +
00147                                                                              "<tr><td>Riku Leino</td><td>riku@scribus.info</td></tr>" +
00148                                                                              "<tr><td>Craig Ringer</td><td>craig@postnewspapers.com.au</td></tr>" +
00149                                                                              "<tr><td>Andreas Vox</td><td>avox@arcor.de</td></tr>" +
00150                                                                              "<tr><td>Jean Ghali</td><td>jghali@libertysurf.fr</td></tr>" +
00151                                                                              "<tr><td>Oleksandr Moskalenko</td><td>malex@tagancha.org</td></tr>" +
00152                                                                              "<tr><td> </td><td> </td></tr>" +
00153                                                                              "<tr><td><b>" + tr("Contributions from:").utf8()  + "</b></td><td></td></tr>" +
00154                                                                              "<tr><td>Paul F. Johnson</td><td>paul@all-the-johnsons.co.uk</td></tr>" +
00155                                                                              "<tr><td>Niyam Bhushan</td><td></td></tr>" +
00156                                                                              "<tr><td>Martin Costabel</td><td></td></tr>" +
00157                                                                              "<tr><td>Steve Callcott</td><td>stotte@firstwish.co.uk</td></tr>" +
00158                                                                              "<tr><td>Frank Everdij</td><td>f.everdij@citg.tudelft.nl</td></tr>" +
00159                                                                              "<tr><td>S. Hakim Hamdani</td><td>hakimoto@eroteme.org</td></tr>" +
00160                                                                              "<tr><td>Maciej Hański</td><td>m.hanski@gmx.at</td></tr>" +
00161                                                                              "<tr><td>Paul F. Johnson</td><td>paul@all-the-johnsons.co.uk</td></tr>" +
00162                                                                              "<tr><td>Marti Maria</td><td></td></tr>" +
00163                                                                              "<tr><td>Alexandre Prokoudine</td><td>alexandre.prokoudine@gmail.com</td></tr>"
00164                                                                              "<tr><td>Alessandro Rimoldi</td><td>http://ideale.ch/contact</td></tr>" +
00165                                                                              "<tr><td>Alastair Robinson</td><td>blackfive@fakenhamweb.co.uk</td></tr>" +
00166                                                                              "<tr><td>Johannes Rüschel</td><td>jo.rueschel@gmx.de</td></tr>" +
00167                                                                              "<tr><td>Jean-Jacques Sarton</td><td>jj.sarton@t-online.de</td></tr>" +
00168                                                                              "<tr><td>Christian Töpp</td><td>mr-ct@gmx.de</td></tr>" +
00169                                                                              "<tr><td>Eirik Øverby</td><td>ltning@anduin.net</td></tr>" +
00170                                                                              "<tr><td>Kevin Young</td><td>k.young@youngscomputing.com</td></tr>" +
00171                                                                              "<tr><td></td><td></td></tr>" +
00172 
00173                                                                              "<tr><td><b>" + tr("Mac OS&#174; X Aqua Port:").utf8()  + "</b></td><td> </td></tr>" +
00174                                                                              "<tr><td>Andreas Vox</td><td>avox@arcor.de</td></tr>" +
00175                                                                              "<tr><td> </td><td> </td></tr>" +
00176 
00177                                                                              "<tr><td><b>" + tr("OS/2&#174;/eComStation&#8482; Port:").utf8()  + "</b></td><td> </td></tr>" +
00178                                                                              "<tr><td>Paul Smedley</td><td>paul@smedley.info</td></tr>" +
00179                                                                              "<tr><td> </td><td> </td></tr>" +
00180 
00181                                                                              "<tr><td><b>" + tr("Windows&#174; Port:").utf8()  + "</b></td><td> </td></tr>" +
00182                                                                              "<tr><td>Jean Ghali</td><td>jghali@libertysurf.fr</td></tr>" +
00183                                                                              "<tr><td> </td><td> </td></tr>" +
00184 
00185                                                                              "<tr><td><b>" + tr("Official Documentation:").utf8()  + "</b></td><td></td></tr>" +
00186                                                                              "<tr><td>Peter Linnell</td><td>mrdocs@scribus.info</td></tr>" +
00187                                                                              "<tr><td>Craig Bradney</td><td>cbradney@zip.com.au</td></tr>" +
00188                                                                              "<tr><td>Frédéric Dubuy</td><td>effediwhy@gmail.com</td></tr>" +
00189                                                                              "<tr><td>Johannes Rüschel</td><td>jo.rueschel@gmx.de</td></tr>"
00190                                                                              +"<tr><td>Volker Ribbert</td><td>volkerius@h3c.de</td></tr>" +
00191                                                                              "<tr><td>Louis Desjardins</td><td>louisdesjardins@videotron.ca</td></tr>" +
00192                                                                              "<tr><td> </td><td> </td></tr>" +
00193                                                                              "<tr><td><b>" + tr("Other Documentation:").utf8()  + "</b></td><td></td></tr>" +
00194                                                                              "<tr><td>Yves Ceccone</td><td>yves@yeccoe.org</td></tr>" +
00195                                                                              "<tr><td>Holger Reibold</td><td>http://www.bomots.de/scribus/</td></tr>" +
00196                                                                              "<tr><td>Thomas Zastrow</td><td>webmaster@thomas-zastrow.de</td></tr>" +
00197                                                                              "<tr><td> </td><td> </td></tr>" +
00198                                                                              "<tr><td><b>" + tr("Splash Screen:").utf8()  + "</b></td><td></td></tr>" +
00199                                                                              "<tr><td>Andy Fitzsimon</td><td>andrew@fitzsimon.com.au</td></tr>" +
00200                                                                              "<tr><td> </td><td> </td></tr>" +
00201                                                                              "<tr><td><b>" + tr("Tango Project Icons:").utf8()  + "</b></td><td></td></tr>" +
00202                                                                              "<tr><td>Andreas Nilsson</td><td>nisses.mail@home.se</td></tr>" +
00203                                                                              "<tr><td>Jakub Steiner</td><td>jimmac@ximian.com</td></tr>"  +
00204                                                                              "<tr><td>Antoine Cailliau</td><td>antoinecailliau@gmail.com</td></tr>"  +
00205                                                                              "<tr><td> </td><td> </td></tr>" + "</table>"));
00206        tabLayout->addWidget( textView1 );
00207        tabWidget2->insertTab( tab_2, tr( "A&uthors" ) );
00208        tab_3 = new QWidget( tabWidget2, "tab_3" );
00209        tabLayout_2 = new QHBoxLayout( tab_3 );
00210        tabLayout_2->setSpacing( 6 );
00211        tabLayout_2->setMargin( 10 );
00212        textView2 = new TextBrowser( tab_3, "TextView1_2" );
00213        LanguageManager langmgr;
00214        langmgr.init(false);
00215        textView2->setText(QString::fromUtf8( "<table><tr><td><b><i>" + tr("Official Translations and Translators:").utf8() + "</i></b></td><td></td></tr>" +
00216                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("af").local8Bit()  + "</b></td><td></td></tr>" +
00217                                                                              "<tr><td>Kobus Wolvaardt</td><td>kobuswolf@diewereld.co.za</td></tr>" +
00218                                                                              "<tr><td> </td><td> </td></tr>" +
00219                                                                              "<tr><td><b>" +
00220                                                                              langmgr.getLangFromAbbrev("eu").local8Bit()  + "</b></td><td> </td></tr>" +
00221                                                                              "<tr><td>Iñaki Larrañaga Murgoitio</td><td>dooteo@euskalgnu.org</td></tr>" +
00222                                                                              "<tr><td> </td><td> </td></tr>" +
00223                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("br").local8Bit()  + "</b></td><td> </td></tr>" +
00224                                                                              "<tr><td>Alan Monfort</td><td>alan.monfort@free.fr</td></tr>" +
00225                                                                              "<tr><td> </td><td> </td></tr>" +
00226                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("ca").local8Bit()  + "</b></td><td> </td></tr>" +
00227                                                                              "<tr><td>Xavier Sala Pujolar</td><td>utrescu@xaviersala.net</td></tr>" +
00228                                                                              "<tr><td> </td><td> </td></tr>" +
00229                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("zh_TW").local8Bit()  + "</b></td><td> </td></tr>" +
00230                                                                              "<tr><td>Gilbert Su</td><td>gilbert_su@yahoo.com.tw</td></tr>" +
00231                                                                              "<tr><td> </td><td> </td></tr>" +
00232                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("cs").local8Bit()  + "</b></td><td></td></tr>" +
00233                                                                              "<tr><td>Petr Vaněk</td><td>petr@yarpen.cz</td></tr>" +
00234                                                                              "<tr><td> </td><td> </td></tr>" +
00235                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("da").local8Bit()  + "</b></td><td></td></tr>" +
00236                                                                              "<tr><td>Morten Langlo</td><td>mlanglo@mail.dk</td></tr>" +
00237                                                                              "<tr><td> </td><td> </td></tr>" +
00238                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("nl").local8Bit()  + "</b></td><td></td></tr>" +
00239                                                                              "<tr><td>Foppe Benedictus</td><td>foppe.benedictus@gmail.coml</td></tr>" +
00240                                                                              "<tr><td>Erik Collou</td><td>collou@gmx.net</td></tr>" +
00241                                                                              "<tr><td> </td><td> </td></tr>" +
00242                                                                              "<tr><td><b>" +
00243                                                                              langmgr.getLangFromAbbrev("en_AU").local8Bit()  + "</b></td><td></td></tr>" +
00244                                                                              "<tr><td>Craig Bradney</td><td>cbradney@zip.com.au</td></tr>" +
00245                                                                              "<tr><td> </td><td> </td></tr>" +
00246                                                                              "<tr><td><b>" +
00247                                                                              langmgr.getLangFromAbbrev("en_GB").local8Bit()  + "</b></td><td></td></tr>" +
00248                                                                              "<tr><td>Craig Bradney</td><td>cbradney@zip.com.au</td></tr>" +
00249                                                                              "<tr><td> </td><td> </td></tr>" +
00250                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("eo").local8Bit()  + "</b></td><td> </td></tr>" +
00251                                                                              "<tr><td>Pier Luigi Cinquantini</td><td>plcinquantini@katamail.com</td></tr>" +
00252                                                                              "<tr><td> </td><td> </td></tr>" +
00253                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("et").local8Bit()  + "</b></td><td> </td></tr>" +
00254                                                                              "<tr><td>Marek Laane</td><td>bald@starman.ee</td></tr>" +
00255                                                                              "<tr><td>Hasso Tepper</td><td>hasso@estpak.ee</td></tr>" +
00256                                                                              "<tr><td> </td><td> </td></tr>" +
00257                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("fi").local8Bit()  + "</b></td><td></td></tr>" +
00258                                                                              "<tr><td>Riku Leino</td><td>riku@scribus.info</td></tr>" +
00259                                                                              "<tr><td> </td><td> </td></tr>" +
00260                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("fr").local8Bit()  + "</b></td><td> </td>" +
00261                                                                              "<tr><td>Nicolas Boos</td><td>nicolas.boos@wanadoo.fr</td></tr>" +
00262                                                                              "<tr><td>Louis Desjardins</td><td>louis_desjardins@mardigrafe.com</td></tr>" +
00263                                                                              "<tr><td>Frédéric Dubuy</td><td>effediwhy@gmail.com</td></tr>" +
00264                                                                              "<tr><td> </td><td> </td></tr>" +
00265                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("de").local8Bit()  + "</b></td><td> </td></tr>" +
00266                                                                              "<tr><td>Johannes Rüschel</td><td>jo.rueschel@gmx.de</td></tr>" +
00267                                                                              "<tr><td>Franz Schmid</td><td>Franz.Schmid@altmuehlnet.de</td></tr>" +
00268                                                                              "<tr><td>Christoph Schäfer</td><td>christoph-schaefer@gmx.de</td></tr>" +
00269                                                                              "<tr><td> </td><td> </td></tr>" +
00270                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("de_CH").local8Bit()  + "</b></td><td> </td></tr>" +
00271                                                                              "<tr><td>Christoph Schäfer</td><td>christoph-schaefer@gmx.de</td></tr>" +
00272                                                                              "<tr><td> </td><td> </td></tr>" +
00273                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("de_ol").local8Bit()  + "</b></td><td> </td></tr>" +
00274                                                                              "<tr><td>Johannes Rüschel</td><td>jo.rueschel@gmx.de</td></tr>" +
00275                                                                              "<tr><td>Christoph Schäfer</td><td>christoph-schaefer@gmx.de</td></tr>" +
00276                                                                              "<tr><td> </td><td> </td></tr>" +
00277                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("ga").local8Bit()  + "</b></td><td> </td></tr>" +
00278                                                                              "<tr><td>Xose Calvo</td><td>xosecalvo@galizaweb.net</td></tr>" +
00279                                                                              "<tr><td>Manuel Anxo Rei</td><td>manxopar@avogaciagalega.org</td></tr>" +
00280                                                                              "<tr><td> </td><td> </td></tr>" +
00281                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("el").local8Bit()  + "</b></td><td> </td></tr>" +
00282                                                                              "<tr><td>Τούσης Μανώλης </br> Toussis Manolis</td><td>manolis@koppermind.homelinux.org</td></tr>" +
00283                                                                              "<tr><td> </td><td> </td></tr>" +
00284                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("hu").local8Bit()  + "</b></td><td> </td></tr>" +
00285                                                                              "<tr><td>Csaba Zakarias</td><td>csaba.zakarias@gmail.com</td></tr>" +
00286                                                                              "<tr><td> </td><td> </td></tr>" +
00287                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("it").local8Bit()  + "</b></td><td> </td></tr>" +
00288                                                                              "<tr><td>Pier Luigi Cinquantini</td><td>plcinquantini@katamail.com</td></tr>" +
00289                                                                              "<tr><td> </td><td> </td></tr>" +
00290                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("ja").local8Bit()  + "</b></td><td> </td></tr>" +
00291                                                                              "<tr><td>Shushi Kurose</td><td>md81@bird.email.ne.jp</td></tr>" +
00292                                                                              "<tr><td> </td><td> </td></tr>" +
00293                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("ko").local8Bit()  + "</b></td><td> </td></tr>" +
00294                                                                              "<tr><td>Kitae Kim</td><td>neeum@yahoo.com</td></tr>" +
00295                                                                              "<tr><td> </td><td> </td></tr>" +
00296                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("nb").utf8()  + "</b></td><td></td></tr>" +
00297                                                                              "<tr><td>Axel Bojer</td><td>axelb@skolelinux.no</td></tr>" +
00298                                                                              "<tr><td>Klaus Ade Johnstad</td><td>klaus@inout.no</td></tr>" +
00299                                                                              "<tr><td> </td><td> </td></tr>" +
00300                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("pl").local8Bit()  + "</b></td><td> </td></tr>" +
00301                                                                              "<tr><td>Maciej Hański</td><td>m.hanski@gmx.at</td></tr>" +
00302                                                                              "<tr><td> </td><td> </td></tr>" +
00303                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("pt").local8Bit()  + "</b></td><td> </td></tr>" +
00304                                                                              "<tr><td>Fausto Guilherme</td><td>faustoguilherme@gmail.com</td></tr>" +
00305                                                                              "<tr><td> </td><td> </td></tr>" +
00306                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("pt_BR").local8Bit()  + "</b></td><td> </td></tr>" +
00307                                                                              "<tr><td>Ludi Maciel</td><td>iludi@uol.com.br</td></tr>" +
00308                                                                              "<tr><td>Frederico Gon&#231;alves</td><td></td></tr>" +
00309                                                                              "<tr><td> </td><td> </td></tr>" +
00310                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("ru").local8Bit()  + "</b></td><td></td></tr>" +
00311                                                                              "<tr><td>Александр Прокудин </td><td>alexandre.prokoudine@gmail.com</td></tr>" +
00312                                                                              "<tr><td> </td><td> </td></tr>" +
00313                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("sr").local8Bit()  + "</b></td><td></td></tr>" +
00314                                                                              "<tr><td>Bojan Božovi&#263;</td><td>bole89@infosky.net</td></tr>"+
00315                                                                              "<tr><td>Vladimir Savic</td><td>vladimir.firefly.savic@gmail.com</td></tr>"+
00316                                                                              "<tr><td> </td><td> </td></tr>" +
00317                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("sk").local8Bit()  + "</b></td><td></td></tr>" +
00318                                                                              "<tr><td>Zdenko Podobn&yacute;</td><td>zdposter@gmail.com</td></tr>" +
00319                                                                              "<tr><td> </td><td> </td></tr>" +
00320                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("sl").local8Bit()  + "</b></td><td></td></tr>" +
00321                                                                              "<tr><td>Boštjan Špetič</td><td>igzebedze@kiberpipa.org</td></tr>" +
00322                                                                              "<tr><td>Peter Čuhalev</td><td>skatey@slocartoon.net</td></tr>" +
00323                                                                              "<tr><td> </td><td> </td></tr>" +
00324                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("es_ES").local8Bit()  + "</b></td><td> </td></tr>" +
00325                                                                              "<tr><td>Josep Febrer</td><td>josep@linuxmail.org</td></tr>" +
00326                                                                              "<tr><td> </td><td> </td></tr>" +
00327                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("sv").local8Bit()  + "</b></td><td></td></tr>" +
00328                                                                              "<tr><td>Göran Bondeson</td><td>goran@bondeson.net</td></tr>" +
00329                                                                              "<tr><td> </td><td> </td></tr>" +
00330                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("th_TH").local8Bit()  + "</b></td><td></td></tr>" +
00331                                                                              "<tr><td>Sira Nokyoungthong</td><td>Sira Nokyoungthong</td></tr>" +
00332                                                                              "<tr><td> </td><td> </td></tr>" +
00333                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("tr").local8Bit()  + "</b></td><td> </td></tr>" +
00334                                                                              "<tr><td>Barış Atasoy</td><td>batasoy@pozitifpc.com</td></tr>" +
00335                                                                              "<tr><td> </td><td> </td></tr>" +
00336                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("uk").local8Bit()  + "</b></td><td> </td></tr>" +
00337                                                                              "<tr><td>Олександр Москаленко <br>Oleksandr Moskalenko</td><td>malex@tagancha.org</td></tr>" +
00338                                                                              "<tr><td> </td><td> </td></tr>" +
00339                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("cy").local8Bit()  + "</b></td><td></td></tr>" +
00340                                                                              "<tr><td>Kevin Donnelly</td><td>kevin@dotmon.com</td></tr>" +
00341                                                                              "<tr><td> </td><td> </td></tr>" +
00342                                                                              "</table>" +
00343                                                                              "<table><tr><td><b><i>" + tr("Previous Translation Contributors:").local8Bit() + "</i></b></td><td></td></tr>" +
00344                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("eu").local8Bit() + "</b></td><td></td></tr>" +
00345                                                                              "<tr><td>Pablo Saratxaga</td><td>pablo@mandrakesoft.com</td></tr>" +
00346                                                                              "<tr><td> </td><td> </td></tr>" +
00347                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("pt_BR").local8Bit()  + "</b></td><td></td></tr>" +
00348                                                                              "<tr><td>Celio Santos</td><td>celio@electronic.srv.br</td></tr>" +
00349                                                                              "<tr><td>Cezar de Souza Marson Nido</td><td>cesar@electronic.srv.br</td></tr>" +
00350                                                                              "<tr><td> </td><td> </td></tr>" +
00351                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("bg").local8Bit()  + "</b></td><td> </td></tr>" +
00352                                                                              "<tr><td>Vasko Tomanov</td><td>vasko@web.bg</td></tr>" +
00353                                                                              "<tr><td> </td><td> </td></tr>" +
00354                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("nl").utf8()  + "</b></td><td></td></tr>" +
00355                                                                              "<tr><td>Wilbert Berendsen</td><td>wbsoft@xs4all.nl</td></tr>" +
00356                                                                              "<tr><td> </td><td> </td></tr>" +
00357                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("en_GB").local8Bit()  + "</b></td><td></td></tr>" +
00358                                                                              "<tr><td>Paul F. Johnson</td><td>paul@all-the-johnsons.co.uk</td></tr>" +
00359                                                                              "<tr><td> </td><td> </td></tr>" +
00360                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("fr").local8Bit()  + "</b></td><td> </td>" +
00361                                                                              "<tr><td>Michel Briand</td><td>michelbriand@free.fr</td></tr>" +
00362                                                                              "<tr><td>Yves Ceccone</td><td>yves@yeccoe.org</td></tr>" +
00363                                                                              "<tr><td> </td><td> </td></tr>" +
00364 
00365                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("hu").local8Bit()  + "</b></td><td> </td></tr>" +
00366                                                                              "<tr><td>Giovanni Biczó</td><td>gbiczo@freestart.hu</td></tr>" +
00367                                                                              "<tr><td>Bence Nagy</td><td>scribus@tipogral.hu</td></tr>" +
00368                                                                              "<tr><td>Zoltán Böszörményi</td><td>zboszor@freemail.hu</td></tr>" +
00369                                                                              "<tr><td> </td><td> </td></tr>" +
00370                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("lt").local8Bit()  + "</b></td><td> </td></tr>" +
00371                                                                              "<tr><td>Aivaras Kirejevas</td><td>kiras@mail.lt</td></tr>" +
00372                                                                              "<tr><td> </td><td> </td></tr>" +
00373                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("nb").local8Bit()  + "</b></td><td></td></tr>" +
00374                                                                              "<tr><td>Johannes Wilm</td><td>j@indymedia.no</td></tr>" +
00375                                                                              "<tr><td> </td><td> </td></tr>" +
00376                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("tr").local8Bit()  + "</b></td><td> </td></tr>" +
00377                                                                              "<tr><td>Erkan Kaplan</td><td>Selamsana@uni.de</td></tr>" +
00378                                                                              "<tr><td> </td><td> </td></tr>" +
00379                                                                              "<tr><td><b>" + langmgr.getLangFromAbbrev("uk").local8Bit()  + "</b></td><td> </td></tr>" +
00380                                                                              "<tr><td>Sergiy Kudryk</td><td>kudryk@yahoo.com</td></tr>" +
00381                                                                              "<tr><td> </td><td> </td></tr>" +
00382                                                                              "</table>"));
00383        tabLayout_2->addWidget( textView2 );
00384        tabWidget2->insertTab( tab_3, tr( "&Translations" ) );
00385 
00386        // online tab (03/04/2004 petr vanek)
00387        tab_4 = new QWidget( tabWidget2, "tab_4" );
00388        textView4 = new TextBrowser( tab_4, "TextView4" );
00389        textView4->setText(QString::fromUtf8(
00390               "<table><tr><td><b>" + tr("Homepage").utf8() + "</b></td><td></td></tr>" +
00391               "<tr><td colspan=\"2\"><p><a href=\"http://www.scribus.net\">http://www.scribus.net</a></p></td></tr>" +
00392               "<tr><td><b>" + tr("Online Reference").utf8() + "</b></td><td></td></tr>" +
00393               "<tr><td colspan=\"2\"><p><a href=\"http://docs.scribus.net\">http://docs.scribus.net</a></p></td></tr>" +
00394               "<tr><td><b>" + tr("Wiki").utf8() + "</b></td><td></td></tr>" +
00395               "<tr><td colspan=\"2\"><p><a href=\"http://wiki.scribus.net\">http://wiki.scribus.net</a></p></td></tr>" +
00396               "<tr><td><b>" + tr("Bugs and Feature Requests").utf8() + "</b></td><td></td></tr>" +
00397               "<tr><td colspan=\"2\"><p><a href=\"http://bugs.scribus.net\">http://bugs.scribus.net</a></p></td></tr>" +
00398               "<tr><td><b>" + tr("Mailing List").utf8() + "</b></td><td></td></tr>" +
00399               "<tr><td colspan=\"2\"><p><a href=\"http://nashi.altmuehlnet.de/mailman/listinfo/scribus\">http://nashi.altmuehlnet.de/mailman/listinfo/scribus</a></p></td></tr>" +
00400               "</table>"));
00401        tabLayout_4 = new QHBoxLayout( tab_4 );
00402        tabLayout_4->setSpacing( 6 );
00403        tabLayout_4->setMargin( 10 );
00404        tabLayout_4->addWidget( textView4 );
00405        tabWidget2->insertTab( tab_4, tr( "&Online" ) );
00406        // Update tab
00407        tab_5 = new QWidget( tabWidget2, "tab_5" );
00408        tabWidget2->insertTab( tab_5, tr( "&Updates" ) );
00409        updateLayout = new QVBoxLayout( tab_5 );
00410        updateLayout->setSpacing( 6 );
00411        updateLayout->setMargin( 10 );
00412        checkForUpdateButton = new QPushButton( tr( "Check for &Updates" ), tab_5, "checkForUpdateButton" );
00413        textView5 = new TextBrowser( tab_5, "TextView5" );
00414        updateLayout->addWidget( checkForUpdateButton );
00415        updateLayout->addWidget( textView5 );
00416 
00417        aboutLayout->addWidget( tabWidget2 );
00418 
00419        layout2 = new QHBoxLayout;
00420        layout2->setSpacing( 6 );
00421        layout2->setMargin( 0 );
00422        QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
00423        layout2->addItem( spacer );
00424        okButton = new QPushButton( tr( "&Close" ), this, "PushButton1" );
00425        okButton->setDefault( true );
00426        layout2->addWidget( okButton );
00427        aboutLayout->addLayout( layout2 );
00428        setMaximumSize(sizeHint());
00429 
00430 
00431 //tooltips
00432 
00433        QToolTip::add( buildID, "<qt>" + tr( "This panel shows the version, build date and compiled in library support in Scribus. The C-C-T-F equates to C=littlecms C=CUPS T=TIFF support F=Fontconfig support. Last Letter is the renderer C=cairo or A=libart Missing library support is indicated by a *. This also indicates the version of Ghostscript which Scribus has detected. The Windows version does not use fontconfig or CUPS libraries." ) + "</qt>" );
00434        QToolTip::add( checkForUpdateButton, "<qt>" + tr( "Check for updates to Scribus. No data from your machine will be transferred off it." ) + "</qt>" );
00435        // signals and slots connections
00436        connect( okButton, SIGNAL( clicked() ), this, SLOT( accept() ) );
00437        connect( checkForUpdateButton, SIGNAL( clicked() ), this, SLOT( runUpdateCheck() ) );
00438 }
00439 
00440 void About::runUpdateCheck()
00441 {
00442        UpgradeCheckerGUI uc(textView5);
00443        bool error=uc.fetch();
00444        uc.show(error);
00445 }