mainwindow.cpp
changeset 148 401f76b830d1
parent 143 56c57552f1d2
child 150 85eab6b8120b
     1.1 --- a/mainwindow.cpp	Tue Aug 02 08:12:14 2005 +0000
     1.2 +++ b/mainwindow.cpp	Mon Aug 08 16:15:57 2005 +0000
     1.3 @@ -20,6 +20,7 @@
     1.4  #include <typeinfo>
     1.5  
     1.6  #include "version.h"
     1.7 +#include "aboutdialog.h"
     1.8  
     1.9  #include "icons/filenew.xpm"
    1.10  #include "icons/fileopen.xpm"
    1.11 @@ -41,7 +42,7 @@
    1.12  #include "icons/modecolor.xpm"
    1.13  #include "icons/modelink.xpm"
    1.14  #include "icons/modecopy.xpm"
    1.15 -#include "icons/vym-48x48.xpm"
    1.16 +//#include "icons/vym-48x48.xpm"
    1.17  #include "icons/flag-note.xpm"
    1.18  #include "icons/flag-url.xpm"
    1.19  #include "icons/flag-vymlink.xpm"	
    1.20 @@ -2362,34 +2363,10 @@
    1.21  
    1.22  void Main::helpAbout()
    1.23  {
    1.24 -    static QMessageBox* about = new QMessageBox( "VYM",
    1.25 -			"<h3>VYM - View Your Mind </h3>"
    1.26 -			"<p> A tool to put the things you have got in your mind into a map.</p>"
    1.27 -			"<ul>"
    1.28 -				"<li> (c) by Uwe Drechsel (vym@InSilmaril.de)</li>"
    1.29 -				"<li> vym is released under the GPL (Gnu General Public License)"
    1.30 -				", with one exception (see the file \"LICENSE\"which "
    1.31 -				"comes with vym). This exception is needed to build vym with QT libraries for proprietary operating systems.</li>"
    1.32 -				"<li> Project homepage <a href=\"http:/www.InSilmaril.de/vym\">"
    1.33 -    					"http:/www.InSilmaril.de/vym</a></li>"
    1.34 -			"<li> Credits " 
    1.35 -				"<ul>"
    1.36 -					"<li>Jakob Hilmer for image drag and drop patch </li>"
    1.37 -					"<li>Thomas Schraitle for the stylesheet  used for XHTML-export </li>"
    1.38 -					"<li>Clemens Kraus for stylesheets and script used for HTML-export "
    1.39 -					"<a href=\"http://www.clemens-kraus.de\">(www.clemens-kraus.de)</a></li>"
    1.40 -					"<li>Alexander Johannesen for providing stylesheets from his xsiteable project " 
    1.41 -					"<a href=\"http://www.shelter.nu/xsiteable/xsiteable.html\">(www.shelter.nu/xsiteable/xsiteable.html)</a>. </li>"
    1.42 -					"<li>Ken Wimer and Olaf Hering for Mac support</li>"
    1.43 -				"</ul>"
    1.44 -			"</li>"
    1.45 -			"<li> Version "  __VYM_VERSION__  "</li>"
    1.46 -				"<li> Build date "  __BUILD_DATE__"</li>"
    1.47 -			"</ul>", QMessageBox::Information, 1, 0, 0, this, 0, FALSE );
    1.48 -    about->setButtonText( 1, "Dismiss" );
    1.49 -    about->setMinimumSize(QSize(300,300));
    1.50 -	about->setIconPixmap (QPixmap(vym_logo_xpm));
    1.51 -    about->show();
    1.52 +	AboutDialog ad;
    1.53 +	ad.setMinimumSize(500,500);
    1.54 +	ad.resize (QSize (500,500));
    1.55 +	ad.exec();
    1.56  }
    1.57  
    1.58  void Main::helpAboutQT()