Source Code (Use browser search to find items of interest.)
Class Index
killustrator'AboutDialog (./koffice/killustrator/share/AboutDialog.h:30)
class AboutDialog : public QDialog {
Q_OBJECT
public:
AboutDialog (QWidget* parent = 0L);
};
killustrator'AboutDialog::AboutDialog() (./koffice/killustrator/share/AboutDialog.cc:44)
AboutDialog::AboutDialog (QWidget* parent) :
QDialog (parent, "About", true) {
QString info (ABOUT_INFO);
setCaption (i18n ("About KIllustrator"));
resize (400, 300);
setFixedSize (size ());
#if NEWKDE
KIconLoader* loader = KGlobal::iconLoader ();
#else
KIconLoader* loader = kapp->getIconLoader ();
#endif
QLabel *label = new QLabel (this);
label->setPixmap (loader->loadIcon ("killustrator",
KIcon::NoGroup, KIcon::SizeLarge));
label->setGeometry (50, 30, 33, 33);
label = new QLabel ("KIllustrator", this);
label->setFont (QFont ("helvetica", 18, QFont::Bold));
label->setGeometry (100, 30, 170, 25);
label = new QLabel (info.data (), this);
label->setAlignment (AlignLeft|WordBreak);
label->setGeometry (50, 65, 290, 180);
QFrame* frame = new QFrame (this);
frame->setLineWidth (1);
frame->setFrameStyle (QFrame::HLine|QFrame::Sunken);
frame->setGeometry (5, 235, 390, 5);
QPushButton* button = new QPushButton ("OK", this);
button->setGeometry (width () / 2 - 50, height () - 45, 75, 32);
button->setDefault (true);
connect (button, SIGNAL(released ()), this, SLOT(accept ()));
button->setFocus ();
}