Changeset 7549 in orxonox.OLD for branches/qt_gui/src/lib/gui/qt_gui/gui_audio.cc
- Timestamp:
- May 6, 2006, 10:52:49 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/qt_gui/src/lib/gui/qt_gui/gui_audio.cc
r7539 r7549 37 37 * Creates the Audio-Option-Frame 38 38 */ 39 GuiAudio::GuiAudio( QWidget* parent)40 : Element("Audio" ), QGroupBox(parent)39 GuiAudio::GuiAudio(OrxGui::Gui* gui) 40 : Element("Audio", gui), QGroupBox() 41 41 { 42 42 QGridLayout* layout = new QGridLayout(this); … … 44 44 { 45 45 QtGuiCheckBox* fullscreen = new QtGuiCheckBox("Enabled", true); 46 //fullscreen->setName();47 46 layout->addWidget(fullscreen, 0, 0); 48 47 … … 50 49 layout->addWidget(wireframe, 1, 0); 51 50 52 QtGuiComboBox* resolution= new QtGuiComboBox("SoundCard");53 layout->addWidget( resolution, 2, 0);51 QtGuiComboBox* soundCard = new QtGuiComboBox("SoundCard"); 52 layout->addWidget(soundCard, 2, 0); 54 53 54 QtGuiSlider* channels = new QtGuiSlider("Channels"); 55 layout->addWidget(channels, 3, 0); 55 56 57 QtGuiSlider* musicVolume = new QtGuiSlider("Music-Volume"); 58 layout->addWidget(musicVolume,0, 1); 59 QtGuiSlider* effectVolume = new QtGuiSlider("Effects-Volume"); 60 layout->addWidget(effectVolume, 0, 2); 56 61 } 57 62
Note: See TracChangeset
for help on using the changeset viewer.