1 /**************************************************************************
5 Copyright (c) Arto Hyvättinen 2010
7 This file is part of Chess Clock software.
9 Chess Clock 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 3 of the License, or
12 (at your option) any later version.
14 Chess Clock is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
20 **************************************************************************/
26 #include <QListWidget>
32 /*! Start widget to ask for Time control
34 @author Arto Hyvättinen
37 Time Controls are stored inside Start Widget */
38 class StartWidget : public QWidget
42 StartWidget(QWidget *parent = 0);
43 void addTimeControl( TimeControl* tc);
46 void selected(TimeControl* timeControl);
49 void selectControl(QListWidgetItem* item);
52 QListWidget* modeSelect_;
53 QList<TimeControl*> timeControls_;
57 #endif // STARTWIDGET_H