1 #include "aboutdialog.h"
4 #include "icons/vym-48x48.xpm"
6 AboutDialog::AboutDialog( QWidget *parent, const char *name )
7 : QDialog ( parent, name)
10 mainLayout=new QVBoxLayout( this);
12 tabs=new QTabWidget (this);
14 credits=new QTextBrowser (this,"credits");
18 "<h3>VYM - View Your Mind </h3>"
19 "<p> A tool to put the things you have got in your mind into a map.</p>"
21 "<li> (c) by Uwe Drechsel (vym@InSilmaril.de)</li>"
22 "<li> vym is released under the GPL (Gnu General Public License)"
23 ", with one exception (see the file \"LICENSE\"which "
24 "comes with vym). This exception is needed to build vym with QT libraries for proprietary operating systems.</li>"
25 "<li> Project homepage <a href=\"http:/www.InSilmaril.de/vym\">"
26 "http:/www.InSilmaril.de/vym</a></li>"
29 "<li>Jakob Hilmer for image drag and drop patch </li>"
30 "<li>Thomas Schraitle for the stylesheet used for XHTML-export </li>"
31 "<li>Clemens Kraus for stylesheets and script used for HTML-export "
32 "<a href=\"http://www.clemens-kraus.de\">(www.clemens-kraus.de)</a></li>"
33 "<li>Alexander Johannesen for providing stylesheets from his xsiteable project "
34 "<a href=\"http://www.shelter.nu/xsiteable/xsiteable.html\">(www.shelter.nu/xsiteable/xsiteable.html)</a>. </li>"
35 "<li>Ken Wimer and Olaf Hering for Mac support</li>"
38 credits->setFrameStyle( QFrame::Panel | QFrame::Plain );
39 tabs->addTab (credits,"Credits");
41 license=new QTextBrowser (this,"license");
42 license->setText ("License text...");
43 credits->setFrameStyle( QFrame::Panel | QFrame::Plain );
44 tabs->addTab (license,"License");
46 mainLayout->addWidget (tabs);
47 tabs->showPage (credits);
49 okbutton =new QPushButton (this,"okbutton");
50 okbutton->setText ("ok");
51 okbutton->setMaximumSize (QSize (50,30));
52 okbutton->setAutoDefault (true);
53 mainLayout->addWidget( okbutton);
55 connect (credits,SIGNAL (linkClicked(const QString&)),this ,SLOT
56 (openLnk(const QString&)));
58 connect( okbutton, SIGNAL( clicked() ), this, SLOT( accept() ) );
61 AboutDialog::~AboutDialog()
66 void AboutDialog::openLnk(const QString &url)
68 okbutton->setText (url);