Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7529 in orxonox.OLD for branches/qt_gui/src/lib


Ignore:
Timestamp:
May 3, 2006, 10:26:46 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: ComboBox now gets filled with Resolutions

File:
1 edited

Legend:

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

    r7493 r7529  
    5353      layout->addWidget(wireframe, 1, 0);
    5454
    55       QComboBox* resolution = new QComboBox("Resolution", this);
    56       layout->addWidget(resolution, 2, 0);
    57 
     55      {
     56        QComboBox* resolution = new QComboBox("Resolution", this);
     57        layout->addWidget(resolution, 2, 0);
     58        std::vector<std::string> resolutions;
     59        this->getResolutions(resolutions);
     60        for (unsigned int i = 0; i < resolutions.size(); ++i)
     61          resolution->insertItem(resolutions[i]);
     62      }
    5863
    5964    }
Note: See TracChangeset for help on using the changeset viewer.