Source Code (Use browser search to find items of interest.)
Class Index
kfax'About (./kdegraphics/kfax/about.h:29)
class About : public QDialog {
Q_OBJECT
public:
About(QWidget *parent = 0);
};
kfax'About::About() (./kdegraphics/kfax/about.cpp:33)
About::About(QWidget *parent) : QDialog(parent, "About KFax", TRUE) {
resize(350, 250);
setFixedSize(size());
setCaption(i18n("About KFax"));
QPixmap pm(Icon("kfaxlogo.xpm"));
QLabel *logo = new QLabel(this);
logo->setPixmap(pm);
logo->setGeometry(20, (height()-pm.height())/2 - 20, pm.width(), pm.height());
QLabel *l;
l = new QLabel("KFax", this);
l->setFont(QFont("Utopia", 26, QFont::Normal));
l->setGeometry((width() - l->sizeHint().width())/2, 60,
l->sizeHint().width(),
l->sizeHint().height());
QString s;
s = i18n("Version ");
s += KFAXVERSION \
"\nCopyright (C) 1997,98\nBernd Johannes Wuebben\n"\
"wuebben@kde.org\n\n";
l = new QLabel(s, this);
l->setGeometry(145,100, 250, 200);
l->setAlignment(WordBreak|ExpandTabs);
QPushButton *b_ok = new QPushButton(i18n("OK"), this);
b_ok->setGeometry(width()/2-40, height() - 48, 80, 32);
/* b_ok->setDefault(TRUE);*/
b_ok->setAutoDefault(TRUE);
connect(b_ok, SIGNAL(released()),
this, SLOT(accept()));
b_ok->setFocus();
}