remove old files add new sources
[mancala] / src / settingswidget.h
1 /***************************************************************************
2
3 Copyright 2010 Reto Zingg <g.d0b3rm4n@gmail.com>
4
5 ***************************************************************************/
6
7 /***************************************************************************
8 *                                                                         *
9 *   This program is free software; you can redistribute it and/or modify  *
10 *   it under the terms of the GNU General Public License as published by  *
11 *   the Free Software Foundation; either version 2 of the License, or     *
12 *   (at your option) any later version.                                   *
13 *                                                                         *
14 ***************************************************************************/
15
16
17 #ifndef SETTINGSWIDGET_H
18 #define SETTINGSWIDGET_H
19
20 #include <QWidget>
21 #include <QComboBox>
22 #include <QPushButton>
23
24 class SettingsWidget : public QWidget
25 {
26 Q_OBJECT
27 public:
28     explicit SettingsWidget(QWidget *parent = 0);
29     void setGameNames(QStringList gameNames);
30
31 signals:
32     void start();
33     void levelChanged(int);
34     void gameChanged(int);
35
36 public slots:
37
38 private:
39     QComboBox *m_ComboLevel;
40     QComboBox *m_ComboGame;
41     QPushButton *m_button;
42
43 };
44
45 #endif // SETTINGSWIDGET_H