cutter/src/dialogs/AboutDialog.cpp
2017-10-02 11:41:28 +02:00

26 lines
788 B
C++

#include "AboutDialog.h"
#include "ui_AboutDialog.h"
#include "r_version.h"
AboutDialog::AboutDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::AboutDialog)
{
ui->setupUi(this);
setWindowFlags(windowFlags() & (~Qt::WindowContextHelpButtonHint));
ui->label->setText(tr("<h1>Cutter</h1>"
"Version 1.0 alpha<br />"
"Using r2-" R2_GITTAP
"<h2>License</h2>"
"This Software is released under the GNU General Public License v3.0"
"<h2>Authors</h2>"
"Hugo Teso &lt;hugo.teso@gmail.org&gt;\nSoon to be thousands more!"));
}
AboutDialog::~AboutDialog() {}
void AboutDialog::on_buttonBox_rejected()
{
close();
}