hydrogen 1.2.3
AboutDialog.h
Go to the documentation of this file.
1/*
2 * Hydrogen
3 * Copyright(c) 2002-2008 by Alex >Comix< Cominu [comix@users.sourceforge.net]
4 * Copyright(c) 2008-2024 The hydrogen development team [hydrogen-devel@lists.sourceforge.net]
5 *
6 * http://www.hydrogen-music.org
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY, without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see https://www.gnu.org/licenses
20 *
21 */
22
23#ifndef ABOUT__DIALOG_H
24#define ABOUT__DIALOG_H
25
26
27#include <QtGui>
28#include <QtWidgets>
29#include <QTextBrowser>
30
31#include "ui_about_dialog.h"
32
34class AboutDialog : public QDialog, public Ui_AboutDialog_UI
35{
36Q_OBJECT
37public:
38 explicit AboutDialog(QWidget* parent);
40
41private slots:
42 void on_okBtn_clicked();
43
44private:
45 class Author {
46 public:
47 QString m_sName;
48 QString m_sEmail;
49 QString m_sInfo;
50
51 Author( QString sName, QString sEmail, QString sInfo ) : m_sName( sName ), m_sEmail( sEmail ), m_sInfo( sInfo ) {}
52 };
53};
54
55#endif
Author(QString sName, QString sEmail, QString sInfo)
Definition AboutDialog.h:51
AboutDialog(QWidget *parent)
void on_okBtn_clicked()
Close the dialog.