Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7531 in orxonox.OLD


Ignore:
Timestamp:
May 4, 2006, 9:52:36 AM (18 years ago)
Author:
bensch
Message:

strange error on tardis again

Location:
branches/qt_gui/src/lib/gui/qt_gui
Files:
5 edited

Legend:

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

    r7529 r7531  
    5656        QComboBox* resolution = new QComboBox("Resolution", this);
    5757        layout->addWidget(resolution, 2, 0);
    58         std::vector<std::string> resolutions;
     58        std::vector<QString> resolutions;
    5959        this->getResolutions(resolutions);
    6060        for (unsigned int i = 0; i < resolutions.size(); ++i)
     
    115115   * @param menu the Menu to set The resolutions to.
    116116  */
    117   void GuiVideo::getResolutions(std::vector<std::string>& resolutionList)
     117  void GuiVideo::getResolutions(std::vector<QString>& resolutionList)
    118118  {
    119119    SDL_Init(SDL_INIT_VIDEO);
  • branches/qt_gui/src/lib/gui/qt_gui/gui_video.h

    r7493 r7531  
    2121
    2222  private:
    23     void getResolutions(std::vector<std::string>& resolutionList);
     23    void getResolutions(std::vector<QString>& resolutionList);
    2424  };
    2525}
  • branches/qt_gui/src/lib/gui/qt_gui/qt_gui.cc

    r7495 r7531  
    2424
    2525#include <qpushbutton.h>
     26#include <qcombobox.h>
    2627
    2728#include "gui_video.h"
  • branches/qt_gui/src/lib/gui/qt_gui/qt_gui_elements.cc

    r7472 r7531  
    2323
    2424
     25
     26
     27  QtGuiComboBox::QtGuiComboBox(QWidget* parent, const std::string& name)
     28  : QComboBox(parent), Saveable(name)
     29  {
     30
     31
     32  }
     33
     34
     35
    2536}
  • branches/qt_gui/src/lib/gui/qt_gui/qt_gui_elements.h

    r7472 r7531  
    115115  };
    116116
     117
     118  class QtGuiComboBox : public QComboBox, public OrxGui::Saveable
     119  {
     120    QtGuiComboBox(QWidget* parent, const std::string& name);
     121  }
     122
     123
     124
    117125  class QtGuiTextLine : public QLineEdit, public QtGuiWidget, public GuiSaveable
    118126  {
Note: See TracChangeset for help on using the changeset viewer.