cutter/src/dialogs/AboutDialog.cpp

26 lines
788 B
C++
Raw Normal View History

2017-10-01 19:09:42 +00:00
#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));
2017-09-25 12:55:41 +00:00
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!"));
}
2017-10-02 09:41:28 +00:00
AboutDialog::~AboutDialog() {}
void AboutDialog::on_buttonBox_rejected()
{
close();
}