Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 7, 2006, 2:25:16 PM (18 years ago)
Author:
bensch
Message:

orxonox/qt_gui: more elaborate Saveables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/qt_gui/src/lib/gui/qt_gui/gui_audio.cc

    r7551 r7555  
    4343
    4444    {
    45       QtGuiCheckBox* fullscreen = new QtGuiCheckBox("Enabled", true);
     45      QtGuiCheckBox* fullscreen = new QtGuiCheckBox("Enabled", this, true);
    4646      layout->addWidget(fullscreen, 0, 1);
    4747
     
    4949      QLabel* soundCardLabel = new QLabel("Soundcard");
    5050      layout->addWidget(soundCardLabel, 1,1);
    51       QtGuiComboBox* soundCard = new QtGuiComboBox("SoundCard");
     51      QtGuiComboBox* soundCard = new QtGuiComboBox("SoundCard", this);
    5252      layout->addWidget(soundCard, 2, 1);
    5353
    54       QtGuiSlider* channels = new QtGuiSlider("Channels", Qt::Vertical);
     54      QtGuiSlider* channels = new QtGuiSlider("Channels", this, Qt::Vertical);
    5555      layout->addWidget(channels, 0, 0, 3, 1);
    5656      QLabel* channelsLabel = new QLabel("Channels");
     
    6060      QLabel* musicLabel = new QLabel("Music Volume");
    6161      layout->addWidget(musicLabel, 0, 2);
    62       QtGuiSlider* musicVolume = new QtGuiSlider("Music-Volume");
     62      QtGuiSlider* musicVolume = new QtGuiSlider("Music-Volume", this);
    6363      layout->addWidget(musicVolume, 1, 2);
    6464
     
    6666      QLabel* effectsLabel = new QLabel("Effects Volume");
    6767      layout->addWidget(effectsLabel, 2,2);
    68       QtGuiSlider* effectVolume = new QtGuiSlider("Effects-Volume");
     68      QtGuiSlider* effectVolume = new QtGuiSlider("Effects-Volume", this);
    6969      layout->addWidget(effectVolume, 3, 2);
    7070    }
Note: See TracChangeset for help on using the changeset viewer.