+ setWindowTitle(tr("About"));
+
+ QVBoxLayout *layout = new QVBoxLayout();
+ layout->setMargin(16);
+ layout->setSpacing(16);
+ setLayout(layout);
+
+ QLabel *application = new QLabel();
+ QFont font = application->font();
+ font.setBold(true);
+ font.setPointSize(32);
+ application->setFont(font);
+ application->setText("Medard 0.1");
+ application->setAlignment(Qt::AlignCenter);
+ layout->addWidget(application);
+
+ QLabel *applicationCopyright = new QLabel();
+ applicationCopyright->setText(tr("Copyright(c) 2011 Roman Moravcik"));
+ applicationCopyright->setAlignment(Qt::AlignCenter);
+ layout->addWidget(applicationCopyright);
+
+ QLabel *weatherDataCopyright = new QLabel();
+ weatherDataCopyright->setText(tr("\n"
+ "Weather data:\n"
+ "Project MEDARD, Institute of Computer Science,\n"
+ "Academy of Sciences of the Czech Republic, Prague\n"
+ "\n"
+ "Copyright(c) Institute of Computer Science AS CR 2003-2009.\n"
+ "MM5: PSU/NCAR, USA © CAMx: EVNIRON Corp., USA"));
+ layout->addWidget(weatherDataCopyright);
+