#include "aboutdialog.h" #include #include #include AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent) { setWindowTitle("About Olive"); QVBoxLayout* layout = new QVBoxLayout(this); layout->setSpacing(20); QLabel* label = new QLabel("" "

" "

" "" "https://www.olivevideoeditor.org/" "

" + tr("Olive is a non-linear video editor. This software is free and protected by the GNU GPL.") + "

" + tr("Olive Team is obliged to inform users that Olive source code is available for download from its website.") + "

", this); label->setAlignment(Qt::AlignCenter); label->setWordWrap(true); layout->addWidget(label); QDialogButtonBox* buttons = new QDialogButtonBox(QDialogButtonBox::Ok, this); buttons->setCenterButtons(true); layout->addWidget(buttons); connect(buttons, SIGNAL(accepted()), this, SLOT(accept())); }