diff -r 401f76b830d1 -r 4426ecd854bb aboutdialog.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/aboutdialog.cpp Mon Aug 08 16:16:42 2005 +0000
@@ -0,0 +1,69 @@
+#include "aboutdialog.h"
+#include "version.h"
+
+#include "icons/vym-48x48.xpm"
+
+AboutDialog::AboutDialog( QWidget *parent, const char *name )
+ : QDialog ( parent, name)
+
+{
+ mainLayout=new QVBoxLayout( this);
+
+ tabs=new QTabWidget (this);
+
+ credits=new QTextBrowser (this,"credits");
+
+
+ credits->setText (
+ "
VYM - View Your Mind
"
+ " A tool to put the things you have got in your mind into a map.
"
+ ""
+ "- (c) by Uwe Drechsel (vym@InSilmaril.de)
"
+ "- vym is released under the GPL (Gnu General Public License)"
+ ", with one exception (see the file \"LICENSE\"which "
+ "comes with vym). This exception is needed to build vym with QT libraries for proprietary operating systems.
"
+ "- Project homepage "
+ "http:/www.InSilmaril.de/vym
"
+ "- Credits "
+ "
"
+ "- Jakob Hilmer for image drag and drop patch
"
+ "- Thomas Schraitle for the stylesheet used for XHTML-export
"
+ "- Clemens Kraus for stylesheets and script used for HTML-export "
+ "(www.clemens-kraus.de)
"
+ "- Alexander Johannesen for providing stylesheets from his xsiteable project "
+ "(www.shelter.nu/xsiteable/xsiteable.html).
"
+ "- Ken Wimer and Olaf Hering for Mac support
"
+ "
"
+ " ");
+ credits->setFrameStyle( QFrame::Panel | QFrame::Plain );
+ tabs->addTab (credits,"Credits");
+
+ license=new QTextBrowser (this,"license");
+ license->setText ("License text...");
+ credits->setFrameStyle( QFrame::Panel | QFrame::Plain );
+ tabs->addTab (license,"License");
+
+ mainLayout->addWidget (tabs);
+ tabs->showPage (credits);
+
+ okbutton =new QPushButton (this,"okbutton");
+ okbutton->setText ("ok");
+ okbutton->setMaximumSize (QSize (50,30));
+ okbutton->setAutoDefault (true);
+ mainLayout->addWidget( okbutton);
+
+ connect (credits,SIGNAL (linkClicked(const QString&)),this ,SLOT
+ (openLnk(const QString&)));
+
+ connect( okbutton, SIGNAL( clicked() ), this, SLOT( accept() ) );
+}
+
+AboutDialog::~AboutDialog()
+{
+}
+
+
+void AboutDialog::openLnk(const QString &url)
+{
+ okbutton->setText (url);
+}