zz_newPartDialog.h

Mon, 15 Apr 2013 18:07:29 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Mon, 15 Apr 2013 18:07:29 +0300
changeset 110
a62ab18d1b80
parent 104
6e29bb0e83c5
child 135
c243df39913e
permissions
-rw-r--r--

Added select by type. Selection is now preserved over operations.

76
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
1 /*
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
2 * LDForge: LDraw parts authoring CAD
104
6e29bb0e83c5 GL picking stuff
Santeri Piippo <crimsondusk64@gmail.com>
parents: 77
diff changeset
3 * Copyright (C) 2013 Santeri Piippo
76
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
4 *
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
5 * This program is free software: you can redistribute it and/or modify
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
6 * it under the terms of the GNU General Public License as published by
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
7 * the Free Software Foundation, either version 3 of the License, or
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
8 * (at your option) any later version.
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
9 *
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
10 * This program is distributed in the hope that it will be useful,
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
13 * GNU General Public License for more details.
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
14 *
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
17 */
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
18
77
7c2f500405fe Systemized actions and added (for now no-op) key configurations for them
Santeri Piippo <crimsondusk64@gmail.com>
parents: 76
diff changeset
19 #ifndef ZZ_NEWPARTDIALOG_H
7c2f500405fe Systemized actions and added (for now no-op) key configurations for them
Santeri Piippo <crimsondusk64@gmail.com>
parents: 76
diff changeset
20 #define ZZ_NEWPARTDIALOG_H
7c2f500405fe Systemized actions and added (for now no-op) key configurations for them
Santeri Piippo <crimsondusk64@gmail.com>
parents: 76
diff changeset
21
76
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
22 #include "gui.h"
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
23 #include <qdialog.h>
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
24 #include <qlabel.h>
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
25 #include <qlineedit.h>
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
26 #include <qcombobox.h>
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
27 #include <qdialogbuttonbox.h>
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
28
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
29 class NewPartDialog : public QDialog {
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
30 public:
104
6e29bb0e83c5 GL picking stuff
Santeri Piippo <crimsondusk64@gmail.com>
parents: 77
diff changeset
31 explicit NewPartDialog (QWidget* parent = null, Qt::WindowFlags f = 0);
76
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
32 static void StaticDialog ();
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
33
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
34 QLabel* qLB_Icon, *qLB_NameLabel, *qLB_AuthorLabel, *qLB_LicenseLabel, *qLB_BFCLabel;
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
35 QLineEdit* qLE_Name, *qLE_Author;
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
36 QComboBox* qCB_LicenseBox, *qCB_BFCBox;
42284126072a Added a New Part dialog
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
37 QDialogButtonBox* qButtons;
77
7c2f500405fe Systemized actions and added (for now no-op) key configurations for them
Santeri Piippo <crimsondusk64@gmail.com>
parents: 76
diff changeset
38 };
7c2f500405fe Systemized actions and added (for now no-op) key configurations for them
Santeri Piippo <crimsondusk64@gmail.com>
parents: 76
diff changeset
39
7c2f500405fe Systemized actions and added (for now no-op) key configurations for them
Santeri Piippo <crimsondusk64@gmail.com>
parents: 76
diff changeset
40 #endif // ZZ_NEWPARTDIALOG_H

mercurial