src/aboutDialog.h

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

mercurial