src/newPartDialog.h

changeset 183
f1b8cb53d2a2
child 198
f246725199dc
equal deleted inserted replaced
182:9374fea8f77f 183:f1b8cb53d2a2
1 /*
2 * LDForge: LDraw parts authoring CAD
3 * Copyright (C) 2013 Santeri Piippo
4 *
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
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
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/>.
17 */
18
19 #ifndef NEWPARTDIALOG_H
20 #define NEWPARTDIALOG_H
21
22 #include <qdialog.h>
23 #include <qlabel.h>
24 #include <qlineedit.h>
25 #include <qcombobox.h>
26 #include <qdialogbuttonbox.h>
27 #include <qradiobutton.h>
28 #include <qbuttongroup.h>
29 #include "gui.h"
30 #include "radiobox.h"
31
32 class NewPartDialog : public QDialog {
33 public:
34 explicit NewPartDialog (QWidget* parent = null, Qt::WindowFlags f = 0);
35 static void StaticDialog ();
36
37 QLabel* lb_brickIcon, *lb_name, *lb_author, *lb_license, *lb_BFC;
38 QLineEdit* le_name, *le_author;
39
40 RadioBox* rb_license, *rb_BFC;
41 QDialogButtonBox* bbx_buttons;
42 };
43
44 #endif // NEWPARTDIALOG_H

mercurial