Changeset 7555 in orxonox.OLD for branches/qt_gui/src/lib/gui/qt_gui/gui_audio.cc
- Timestamp:
- May 7, 2006, 2:25:16 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/qt_gui/src/lib/gui/qt_gui/gui_audio.cc
r7551 r7555 43 43 44 44 { 45 QtGuiCheckBox* fullscreen = new QtGuiCheckBox("Enabled", t rue);45 QtGuiCheckBox* fullscreen = new QtGuiCheckBox("Enabled", this, true); 46 46 layout->addWidget(fullscreen, 0, 1); 47 47 … … 49 49 QLabel* soundCardLabel = new QLabel("Soundcard"); 50 50 layout->addWidget(soundCardLabel, 1,1); 51 QtGuiComboBox* soundCard = new QtGuiComboBox("SoundCard" );51 QtGuiComboBox* soundCard = new QtGuiComboBox("SoundCard", this); 52 52 layout->addWidget(soundCard, 2, 1); 53 53 54 QtGuiSlider* channels = new QtGuiSlider("Channels", Qt::Vertical);54 QtGuiSlider* channels = new QtGuiSlider("Channels", this, Qt::Vertical); 55 55 layout->addWidget(channels, 0, 0, 3, 1); 56 56 QLabel* channelsLabel = new QLabel("Channels"); … … 60 60 QLabel* musicLabel = new QLabel("Music Volume"); 61 61 layout->addWidget(musicLabel, 0, 2); 62 QtGuiSlider* musicVolume = new QtGuiSlider("Music-Volume" );62 QtGuiSlider* musicVolume = new QtGuiSlider("Music-Volume", this); 63 63 layout->addWidget(musicVolume, 1, 2); 64 64 … … 66 66 QLabel* effectsLabel = new QLabel("Effects Volume"); 67 67 layout->addWidget(effectsLabel, 2,2); 68 QtGuiSlider* effectVolume = new QtGuiSlider("Effects-Volume" );68 QtGuiSlider* effectVolume = new QtGuiSlider("Effects-Volume", this); 69 69 layout->addWidget(effectVolume, 3, 2); 70 70 }
Note: See TracChangeset
for help on using the changeset viewer.