remove old files add new sources
[mancala] / src / settingswidget.h
diff --git a/src/settingswidget.h b/src/settingswidget.h
new file mode 100644 (file)
index 0000000..4eeb19e
--- /dev/null
@@ -0,0 +1,45 @@
+/***************************************************************************
+
+Copyright 2010 Reto Zingg <g.d0b3rm4n@gmail.com>
+
+***************************************************************************/
+
+/***************************************************************************
+*                                                                         *
+*   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 <QWidget>
+#include <QComboBox>
+#include <QPushButton>
+
+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