22 #include <QtGui/QPushButton>
23 #include <QtGui/QPixmap>
24 #include <QtGui/QTextEdit>
25 #include <QtGui/QLayout>
26 #include <QtGui/QSizePolicy>
27 #include <QtGui/QVBoxLayout>
28 #include <QtGui/QBrush>
29 #include <QtGui/QDialogButtonBox>
31 #include "icons/copasi_beta_background.xpm"
38 "COPASI is a simulator for biochemical networks. It is a joint project "
39 "by the Mendes group (VBI and University of Manchester) and the Kummer group "
40 "(University of Heidelberg)"
42 "Please check for new release at http://www.copasi.org, where new releases "
43 "will be made available for download."
45 "Should you have any questions regarding the use of COPASI please visit our "
46 "user support at http://www.copasi.org/UserSupportForum."
47 "</p><p>If you find any errors or problem you may email us at bugs@copasi.org or "
48 "use our issue tracker at http://www.copasi.org/tracker."
50 "COPASI is provided \"AS IS\" without warranty of any kind, either "
51 "expressed or implied, including but not limited to the implied "
52 "warranties of merchantability and fitness for a particular purpose. In "
53 "no event shall the Authors be liable for any damages whatsoever "
54 "including direct, indirect, incidental, consequential, loss of "
55 "business profits or special damages, even if the Authors have been "
56 "advised of the possibility of such damages."
58 "The following software and algorithms are being used by COPASI: "
60 "<li>Qt 4 GUI framework</li>"
62 "<li>QwtPlot3D 0.2.7</li>"
63 "<li>Expat 2.0.1 XML parser</li>"
65 "<li>raptor 1.4.21</li>"
66 "<li>Systems Biology Workbench 2.7.10</li>"
67 "<li>CLAPACK 3.0, LAPACK 3.1.0, or Intel Math Kernel Library</li>"
68 "<li>LSODA and LSODAR from ODEPACK</li>"
69 "<li>Mersenne Twister random number generator, "
70 " Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura</li>"
85 this->
mainLayout->setSizeConstraint(QLayout::SetFixedSize);
86 this->
textEdit =
new QTextEdit(
this);
89 Palette.setBrush(QPalette::Base, QBrush(QPixmap((
const char**)copasi_beta_background_xpm)));
93 QFontMetrics FontMetrics = this->fontMetrics();
94 int w = width * (FontMetrics.width(
'W') + FontMetrics.width(
'I')) / 2;
95 int h = heigth * FontMetrics.lineSpacing();
101 QDialogButtonBox* box =
new QDialogButtonBox(QDialogButtonBox::Close, Qt::Horizontal,
this);
AboutDialog(QWidget *parent, const QString &text, const int &width, const int &heigth)
void closeButton_clicked()
Header file of class AboutDialog.