Source Code (Use browser search to find items of interest.)

Class Index

kfloppy'MyAbout (./kdeutils/kfloppy/about.h:29)

class MyAbout : public QDialog {
  Q_OBJECT
public:
  MyAbout(QWidget *parent = 0);
};

kfloppy'MyAbout::MyAbout() (./kdeutils/kfloppy/about.cpp:36)

MyAbout::MyAbout(QWidget *parent) : QDialog(parent, "About KFloppy Formatter", TRUE) {

  resize(350, 250);
  setFixedSize(size());
  setCaption(i18n("About KDE Floppy Formatter"));

  QPixmap pm( BarIcon("kfloppylogo") );
  QLabel *logo = new QLabel(this);
  logo->setPixmap(pm);
  logo->setGeometry(20, (height()-pm.height())/2 - 25, pm.width(), pm.height());

  QLabel *l;
  l = new QLabel(i18n("KFloppy"), this);
  l->setFont(QFont("Helvetica", 19, QFont::Bold));
  l->setGeometry(145,40,100,30);

  QString s;
  s = i18n("Version ");
  s += KFLOPPYVERSION \
  "\n\nCopyright (c) 1997\nBernd Johannes Wuebben\n"\
  "wuebben@kde.org";

  l = new QLabel(s.data(), this);
  l->setGeometry(145, 70, 230, 170);
  l->setAlignment(AlignLeft|WordBreak|ExpandTabs);

  QFrame *f1 = new QFrame(this);
  f1->setLineWidth(1);
  f1->setFrameStyle(QFrame::HLine | QFrame::Sunken);
  f1->setGeometry(10,180,330,4);


  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();
}