Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/qt_gui/src/lib/gui/qt_gui/gui_audio.cc @ 7534

Last change on this file since 7534 was 7534, checked in by bensch, 18 years ago

orxonox/trunk: QT-4 works on Tardis

File size: 1.6 KB
Line 
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_audio.h"
28
29#include <QtGui/QLayout>
30#include "sdlincl.h"
31#include "debug.h"
32
33#include <QtGui/QPushButton>
34#include <QtGui/QCheckBox>
35#include <QtGui/QComboBox>
36
37namespace OrxGui
38{
39  /**
40   *  Creates the Audio-Option-Frame
41  */
42  GuiAudio::GuiAudio(QWidget* parent)
43  : Element("Audio"), QGroupBox(parent)
44  {
45    QGridLayout* layout = new QGridLayout(this);
46
47    {
48      QCheckBox* fullscreen = new QCheckBox(QString("Enabled"));
49      //fullscreen->setName();
50      layout->addWidget(fullscreen, 0, 0);
51
52      QCheckBox* wireframe = new QCheckBox("Test");
53      layout->addWidget(wireframe, 1, 0);
54
55      QComboBox* resolution = new QComboBox();
56      layout->addWidget(resolution, 2, 0);
57
58
59    }
60
61
62  }
63
64  /**
65   *  Destructs the Audio-stuff
66  */
67  GuiAudio::~GuiAudio()
68  {
69    // nothing to do here.
70  }
71
72
73}
Note: See TracBrowser for help on using the repository browser.