-
Notifications
You must be signed in to change notification settings - Fork 14
/
helpwindow.cpp
30 lines (28 loc) · 1.48 KB
/
helpwindow.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include <QPushButton>
#include "helpwindow.h"
#include "ui_helpwindow.h"
HelpWindow::HelpWindow(QWidget *parent) :
QDialog(parent),
ui(new Ui::HelpWindow)
{
ui->setupUi(this);
setFixedSize(width(), height());
ui->labelVersion->setText(QString("Ver: ").append(APP_VERSION));
ui->textAbout->setText("This program is a free software.\n\n"
"You can redistribute it and/or modify it under the terms of "
"the GNU Library General Public License as published by "
"the Free Software Foundation; either version 3 of the License, "
"or (at your option) any later version.\n\n"
"This package is distributed in the hope that it will be useful, but WITHOUT "
"ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
"FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License "
"for more details.\n");
ui->labelContact->setText("<p>GUI Author: Tianze Wang <<a href=\"mailto:[email protected]\">[email protected]</a>></p>"
"<p>Author of F3: Michel Machado <<a href=\"mailto:[email protected]\">[email protected]</a>></p>"
"<p>Project Home: <a href=\"https://github.com/zwpwjwtz/f3-qt\">Github</a>"
"<p align=\"center\">Feel free to report bugs and give suggestions!</p>");
}
HelpWindow::~HelpWindow()
{
delete ui;
}