#include <AboutDialog.h>
Definition at line 30 of file AboutDialog.h.
AboutDialog::AboutDialog |
( |
QWidget * |
parent, |
|
|
const QString & |
text, |
|
|
const int & |
width, |
|
|
const int & |
heigth |
|
) |
| |
Definition at line 75 of file AboutDialog.cpp.
References closeButton_clicked(), mainLayout, and textEdit.
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);
void closeButton_clicked()
AboutDialog::~AboutDialog |
( |
| ) |
|
|
virtual |
void AboutDialog::closeButton_clicked |
( |
| ) |
|
|
protectedslot |
QVBoxLayout* AboutDialog::mainLayout |
|
protected |
const char * AboutDialog::text |
|
static |
QTextEdit* AboutDialog::textEdit |
|
protected |
The documentation for this class was generated from the following files: