zz_aboutDialog.h

Sun, 21 Apr 2013 19:03:53 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Sun, 21 Apr 2013 19:03:53 +0300
changeset 123
a54d9d5c0c1f
child 135
c243df39913e
permissions
-rw-r--r--

Added the about dialog.

123
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
1 /*
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
2 * LDForge: LDraw parts authoring CAD
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
3 * Copyright (C) 2013 Santeri Piippo
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
4 *
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
5 * This program is free software: you can redistribute it and/or modify
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
6 * it under the terms of the GNU General Public License as published by
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
7 * the Free Software Foundation, either version 3 of the License, or
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
8 * (at your option) any later version.
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
9 *
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
10 * This program is distributed in the hope that it will be useful,
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
13 * GNU General Public License for more details.
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
14 *
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
17 */
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
18
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
19 #ifndef ZZ_ABOUTDIALOG_H
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
20 #define ZZ_ABOUTDIALOG_H
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
21
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
22 #include <qdialog.h>
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
23 #include "gui.h"
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
24
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
25 class AboutDialog : public QDialog {
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
26 Q_OBJECT
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
27
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
28 public:
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
29 AboutDialog (QWidget* parent = nullptr, Qt::WindowFlags f = 0);
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
30 QPushButton* mailButton;
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
31
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
32 private slots:
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
33 void slot_mail ();
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
34 };
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
35
a54d9d5c0c1f Added the about dialog.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
36 #endif // ZZ_ABOUTDIALOG_H

mercurial