cutter/src/dialogs/AboutDialog.cpp

28 lines
887 B
C++
Raw Normal View History

2017-10-01 19:09:42 +00:00
#include "AboutDialog.h"
#include "ui_AboutDialog.h"
#include "cutter.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 "CUTTER_VERSION"<br/>"
"Using r2-" R2_GITTAP
"<h2>License</h2>"
"This Software is released under the GNU General Public License v3.0"
"<h2>Authors</h2>"
2017-11-27 17:10:25 +00:00
"xarkes, thestr4ng3r, ballessay<br/>"
"Based on work by Hugo Teso &lt;hugo.teso@gmail.org&gt; (originally Iaito)."));
}
2017-10-02 09:41:28 +00:00
AboutDialog::~AboutDialog() {}
void AboutDialog::on_buttonBox_rejected()
{
close();
}