1 /**************************************************************************
5 This file is part of Chess Clock software.
7 (This file) Copyright (c) Heli Hyvättinen 2011
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 **************************************************************************/
25 import ChessClocks 1.0
33 property int whiteInitialTime
34 property int blackInitialTime
35 property int whiteAdditionalTime
36 property int blackAdditionalTime
37 property int whiteTurnsPerAddition
38 property int blackTurnsPerAddition
42 if (status == PageStatus.Activating)
43 wrappedClocksWidget.startGame("",whiteInitialTime,whiteAdditionalTime,whiteTurnsPerAddition,blackInitialTime,blackAdditionalTime,blackTurnsPerAddition)
50 ToolButton { iconSource: "toolbar-back"; onClicked: pageStack.pop() }
53 iconSource: ":/rc/pic/pausebutton.png"
54 onClicked: wrappedClocksWidget.pause()
63 id: wrappedClocksWidget