1 | /* |
---|
2 | orxonox - the future of 3D-vertical-scrollers |
---|
3 | |
---|
4 | Copyright (C) 2004 orx |
---|
5 | |
---|
6 | This program is free software; you can redistribute it and/or modify |
---|
7 | it under the terms of the GNU General Public License as published by |
---|
8 | the Free Software Foundation; either version 2, or (at your option) |
---|
9 | any later version. |
---|
10 | |
---|
11 | This program is distributed in the hope that it will be useful, |
---|
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | GNU General Public License for more details. |
---|
15 | |
---|
16 | You should have received a copy of the GNU General Public License |
---|
17 | along with this program; if not, write to the Free Software Foundation, |
---|
18 | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
19 | |
---|
20 | |
---|
21 | ### File Specific: |
---|
22 | main-programmer: Benjamin Grauer |
---|
23 | |
---|
24 | */ |
---|
25 | |
---|
26 | |
---|
27 | #include "gui_control.h" |
---|
28 | |
---|
29 | #include <QtGui/QLayout> |
---|
30 | #include "globals.h" |
---|
31 | #include "debug.h" |
---|
32 | #include "qt_gui_elements.h" |
---|
33 | |
---|
34 | #include "lib/event/key_mapper.h" |
---|
35 | #include "lib/event/key_names.h" |
---|
36 | |
---|
37 | namespace OrxGui |
---|
38 | { |
---|
39 | /** |
---|
40 | * Creates the Control-Option-Frame |
---|
41 | */ |
---|
42 | GuiControl::GuiControl(OrxGui::Gui* gui) |
---|
43 | : Element(CONFIG_SECTION_CONTROL, gui), QGroupBox() |
---|
44 | { |
---|
45 | QGridLayout* layout = new QGridLayout(this); |
---|
46 | |
---|
47 | { |
---|
48 | QLabel* keyLabel = new QLabel; |
---|
49 | |
---|
50 | |
---|
51 | |
---|
52 | |
---|
53 | } |
---|
54 | |
---|
55 | |
---|
56 | } |
---|
57 | |
---|
58 | /** |
---|
59 | * Destructs the Control-stuff |
---|
60 | */ |
---|
61 | GuiControl::~GuiControl() |
---|
62 | { |
---|
63 | // nothing to do here. |
---|
64 | } |
---|
65 | |
---|
66 | } |
---|