X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fsettingswidget.h;fp=src%2Fsettingswidget.h;h=4eeb19e29c9d6433ac1a38dfdf218996fb4c02fe;hb=1adeebe9572cc4441d114687606e45cde11f5b2b;hp=0000000000000000000000000000000000000000;hpb=860de21ec6c253290ab3fc213cb11f350b193d05;p=mancala diff --git a/src/settingswidget.h b/src/settingswidget.h new file mode 100644 index 0000000..4eeb19e --- /dev/null +++ b/src/settingswidget.h @@ -0,0 +1,45 @@ +/*************************************************************************** + +Copyright 2010 Reto Zingg + +***************************************************************************/ + +/*************************************************************************** +* * +* This program is free software; you can redistribute it and/or modify * +* it under the terms of the GNU General Public License as published by * +* the Free Software Foundation; either version 2 of the License, or * +* (at your option) any later version. * +* * +***************************************************************************/ + + +#ifndef SETTINGSWIDGET_H +#define SETTINGSWIDGET_H + +#include +#include +#include + +class SettingsWidget : public QWidget +{ +Q_OBJECT +public: + explicit SettingsWidget(QWidget *parent = 0); + void setGameNames(QStringList gameNames); + +signals: + void start(); + void levelChanged(int); + void gameChanged(int); + +public slots: + +private: + QComboBox *m_ComboLevel; + QComboBox *m_ComboGame; + QPushButton *m_button; + +}; + +#endif // SETTINGSWIDGET_H