3 char *about = "2D acceleration indicator\n"
4 "Copyright (C) 2011 Ivan Gorinov\n"
5 "http://catori.ru/igorinov/software/ameter/";
7 AboutDialog::AboutDialog(QWidget *parent): QDialog(parent)
12 vbox = new QVBoxLayout();
14 label = new QLabel(QString::fromUtf8(about), this);
15 vbox->addWidget(label);
17 buttonOk = new QPushButton("Ok");
18 vbox->addWidget(buttonOk);
20 connect(buttonOk, SIGNAL(clicked()), this, SLOT(accept()));
24 layout()->setSizeConstraint(QLayout::SetFixedSize);
27 AboutDialog::~AboutDialog()
31 void AboutDialog::accept()