2 Copyright (C) <2010> <Markus Scharnowski markus.scharnowski@gmail.com>
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #ifndef ABOUTDIALOG_HPP
18 #define ABOUTDIALOG_HPP
20 #include <QTextBrowser>
22 #include <QTranslator>
25 class AboutDialog : public QDialog
30 explicit AboutDialog(QString name = "", QString customUrl = "", QWidget *parent = 0);
32 int setProgramName(QString name);
33 int setProgramUrl(QString url);
34 int setGeneralHtmlText(QString htmlText = "");
35 int setDonateHtmlText(QString htmlText = "");
36 int setWebsiteHtmlText(QString htmlText = "");
37 int setFeedbackHtmlText(QString htmlText = "");
41 int refreshDefaultTexts();
43 QTextBrowser *browserGeneral;
44 QTextBrowser *browserDonate;
45 QTextBrowser *browserWebsite;
46 QTextBrowser *browserFeedback;
57 #endif // ABOUTDIALOG_HPP