Heli Hyvättinen [Thu, 6 Oct 2011 16:36:54 +0000 (19:36 +0300)]
Merge branch 'settings' into harmattan
The game settings chosen in the new game dialog are saved (separately
for each time control).
Conflicts:
chessclock.pro
main.cpp
qml/NewGameDialogPage.qml
Heli Hyvättinen [Wed, 5 Oct 2011 19:29:53 +0000 (22:29 +0300)]
Added Aegis Manifest to git
Heli Hyvättinen [Wed, 5 Oct 2011 18:48:59 +0000 (21:48 +0300)]
Reads the settings right
And saves Initial time with the correct key now...
Heli Hyvättinen [Tue, 4 Oct 2011 18:59:53 +0000 (21:59 +0300)]
Saves the settings, but does not read them.
The settings get into .conf file.
Heli Hyvättinen [Tue, 4 Oct 2011 16:02:22 +0000 (19:02 +0300)]
The dialogs start with the current value
Bug: Needs to tap twice to open any dialog... This appears to happen in
the released 1.9.0 version, too. Since it hasn't been noticed before it
proably appeared with beta2 firmware...
Heli Hyvättinen [Tue, 4 Oct 2011 11:08:55 +0000 (14:08 +0300)]
Using QTime for saving the time settings
Compatible with the Maemo version now, helps if backporting. Also
clearer code when reading the settings from QML. Default values work,
does not save settings yet.
Heli Hyvättinen [Mon, 3 Oct 2011 18:44:27 +0000 (21:44 +0300)]
Settings does not work
Javascript handles all numbers as floats... Needs a new approach.
Heli Hyvättinen [Fri, 30 Sep 2011 18:12:25 +0000 (21:12 +0300)]
Using Settings frim QML - does not work
Heli Hyvättinen [Fri, 30 Sep 2011 17:26:27 +0000 (20:26 +0300)]
Work towards using the Settings class from QML
Not ready.
Heli Hyvättinen [Wed, 28 Sep 2011 20:47:55 +0000 (23:47 +0300)]
Added functionality to Settings
Also added equal times setting to the interface.
Heli Hyvättinen [Wed, 28 Sep 2011 18:39:13 +0000 (21:39 +0300)]
Interface for Settings done, almost no functionality yet
Heli Hyvättinen [Sat, 3 Sep 2011 10:55:07 +0000 (13:55 +0300)]
Packaging changes for release
Fixed a syntax problem in changelog.
Changes in control file trying to fix dependency prolem that was
finally solved by manually adding dependency on libqtm-dev to
the dsc file.
Added aegis file (empty) to git.
Heli Hyvättinen [Wed, 31 Aug 2011 16:20:56 +0000 (19:20 +0300)]
Removed more unused C++ files
This class was also obsolted by QML
Heli Hyvättinen [Wed, 31 Aug 2011 15:48:55 +0000 (18:48 +0300)]
Removed the unused pause button image from qrc
Has been replaced with system pause button image
Heli Hyvättinen [Wed, 31 Aug 2011 15:48:08 +0000 (18:48 +0300)]
Removed unused C++ files
These were replaced by QML
Heli Hyvättinen [Wed, 31 Aug 2011 15:37:36 +0000 (18:37 +0300)]
Version set to 1.9.0
Also application manager icon set to right size.
Heli Hyvättinen [Tue, 30 Aug 2011 16:08:25 +0000 (19:08 +0300)]
Merge branch 'pauseatswipe' into harmattan
Heli Hyvättinen [Sat, 27 Aug 2011 19:43:20 +0000 (22:43 +0300)]
Pause at swipeout works.
Heli Hyvättinen [Sat, 27 Aug 2011 18:12:37 +0000 (21:12 +0300)]
Reache QML from C++, still not working
Heli Hyvättinen [Sat, 27 Aug 2011 17:28:35 +0000 (20:28 +0300)]
Failed attempt to change a QML property from C++
Heli Hyvättinen [Sat, 27 Aug 2011 14:32:36 +0000 (17:32 +0300)]
All game modes fit on main page without scrolling
Heli Hyvättinen [Sat, 27 Aug 2011 10:51:24 +0000 (13:51 +0300)]
Pause label fully visible.
Heli Hyvättinen [Fri, 26 Aug 2011 19:13:36 +0000 (22:13 +0300)]
Work towards pause on swipeout
C++ detects swipeout, but QML does not get it
Heli Hyvättinen [Thu, 25 Aug 2011 14:55:00 +0000 (17:55 +0300)]
Turns per addtion tumblers start with the correct value
Heli Hyvättinen [Tue, 23 Aug 2011 20:34:58 +0000 (23:34 +0300)]
Time dialog initialized with the current time before launch
Also non-working code that was supposed to do the same for turn per
addition dialogs.
Heli Hyvättinen [Tue, 23 Aug 2011 20:32:25 +0000 (23:32 +0300)]
Pauses game before launching quit confirmation dialog
Leaves it paused whatever chosen. Thus game no longer keeps running on
background after quitting.
Heli Hyvättinen [Tue, 23 Aug 2011 20:02:19 +0000 (23:02 +0300)]
Default initial time for first game 30 min for both
... instead of 1 h 30 min
Hour Glass would need its own default time
Heli Hyvättinen [Tue, 23 Aug 2011 19:13:40 +0000 (22:13 +0300)]
Initial and additional times no longer default to all zero
All have the same initial default and use the values of previous game
whatever time control it had. The initial default does not make sense
for Hour Glass.
Heli Hyvättinen [Tue, 23 Aug 2011 19:06:14 +0000 (22:06 +0300)]
Asks confirmation upon quitting the game
Heli Hyvättinen [Tue, 23 Aug 2011 18:47:15 +0000 (21:47 +0300)]
Single instance works
Heli Hyvättinen [Tue, 23 Aug 2011 18:29:43 +0000 (21:29 +0300)]
Added correctly sized icon for application manager
Also removed upgrade information from control file
Heli Hyvättinen [Tue, 23 Aug 2011 18:23:22 +0000 (21:23 +0300)]
Added desktop icon
Heli Hyvättinen [Mon, 22 Aug 2011 19:52:22 +0000 (22:52 +0300)]
Settings class stub and test QML code using it
Does not work yet, even the test.
Heli Hyvättinen [Sat, 20 Aug 2011 05:53:41 +0000 (08:53 +0300)]
Uses system pause icon
Heli Hyvättinen [Sat, 20 Aug 2011 04:57:42 +0000 (07:57 +0300)]
Pause button in the middle of toolbar
Heli Hyvättinen [Sat, 20 Aug 2011 04:39:22 +0000 (07:39 +0300)]
Pause button no longer has buttonshape behind it
Heli Hyvättinen [Sat, 20 Aug 2011 03:58:28 +0000 (06:58 +0300)]
Back to previous page buttons now look as they should
Heli Hyvättinen [Sat, 20 Aug 2011 03:23:25 +0000 (06:23 +0300)]
Fields of new game dialog page in nice columns
Also some margin before start game button, centered title.
Heli Hyvättinen [Sat, 20 Aug 2011 03:15:49 +0000 (06:15 +0300)]
Clocks now occupy full screen width
Which makes "tap to change turn" to work for entire intended area
(everything between status area and toolbar).
Heli Hyvättinen [Thu, 18 Aug 2011 18:49:23 +0000 (21:49 +0300)]
Crowns move according to equal times switch
The white and black crowns are now on top of their respective columns
when equal times is off and both on white (the only visible) column when
equal times is on.
The start game button is now aligned to right.
Heli Hyvättinen [Thu, 18 Aug 2011 17:56:33 +0000 (20:56 +0300)]
Black fields hidden when equal times in new game dialog
Heli Hyvättinen [Thu, 18 Aug 2011 15:11:22 +0000 (18:11 +0300)]
Usable layout
Also, additional time and turns per addition appear when they should.
Heli Hyvättinen [Thu, 18 Aug 2011 14:38:24 +0000 (17:38 +0300)]
New game dialog is now a page
Layout is a mess and back button is missing.
Heli Hyvättinen [Wed, 17 Aug 2011 15:52:26 +0000 (18:52 +0300)]
Work towards anchors based layout in new game dialog (sheet)
Unfortunately the page underneath the sheet can be accessed by clicking
empty parts of the sheet causing change another game mode.
Heli Hyvättinen [Wed, 17 Aug 2011 14:57:58 +0000 (17:57 +0300)]
If equal times selected using white times for both
Necessary to hide black items for this to make sense.
Heli Hyvättinen [Tue, 16 Aug 2011 20:28:23 +0000 (23:28 +0300)]
Using sheet instead of dialog for new game dialog
Heli Hyvättinen [Mon, 15 Aug 2011 19:13:08 +0000 (22:13 +0300)]
desktop file fixed to show name as Chess Clock
...instead of chessclock
Heli Hyvättinen [Mon, 15 Aug 2011 19:04:00 +0000 (22:04 +0300)]
Added missing Harmattan specific fields to control file
Heli Hyvättinen [Mon, 15 Aug 2011 17:48:28 +0000 (20:48 +0300)]
Fixed black times & thumbler dialog for turns per addition
Black initial and additional times chosen in the time picker now
delivered to the new game dialog. Also the texts for black are no longer
updated when equal times is chosen, as it is not the text that is used
to get the values. (Planning to hide black items when equal times, so no
replacement.)
Heli Hyvättinen [Sat, 13 Aug 2011 19:12:44 +0000 (22:12 +0300)]
Added logo and text to about page
Heli Hyvättinen [Sat, 13 Aug 2011 11:21:32 +0000 (14:21 +0300)]
Debhelper version dependency fixed in debian control file
Heli Hyvättinen [Sat, 13 Aug 2011 11:11:33 +0000 (14:11 +0300)]
Visit web page (in menu) now works
Heli Hyvättinen [Sat, 13 Aug 2011 10:51:24 +0000 (13:51 +0300)]
Merge branch 'packaging' into QML
Conflicts:
qtc_packaging/debian_harmattan/README
qtc_packaging/debian_harmattan/changelog
qtc_packaging/debian_harmattan/control
qtc_packaging/debian_harmattan/copyright
Heli Hyvättinen [Sat, 13 Aug 2011 10:04:07 +0000 (13:04 +0300)]
Removed some test code
Heli Hyvättinen [Sat, 13 Aug 2011 10:02:01 +0000 (13:02 +0300)]
Using Normal Clock if bogus time control value from QML
Safety measure for future QML bugs. Before, non-enum values caused a
segfault. QML does not allow enumeration properties so had to use int ->
no guarantee to get just enum values.
Heli Hyvättinen [Sat, 13 Aug 2011 09:49:28 +0000 (12:49 +0300)]
Now starts the requested time control
Heli Hyvättinen [Sat, 13 Aug 2011 08:13:27 +0000 (11:13 +0300)]
Removed some obsolete files
Heli Hyvättinen [Sat, 13 Aug 2011 07:47:33 +0000 (10:47 +0300)]
Locked to landscape
Heli Hyvättinen [Fri, 12 Aug 2011 21:25:45 +0000 (00:25 +0300)]
No longer segfaults when starting a second game
Heli Hyvättinen [Fri, 12 Aug 2011 21:02:55 +0000 (00:02 +0300)]
Times are now passed from dialog to ClocksWidget
Segfaults.
Heli Hyvättinen [Fri, 12 Aug 2011 20:00:39 +0000 (23:00 +0300)]
Pause button in toolbar
Works, but looks bad and is visible even ehen game paused (but does not
unpause)
Heli Hyvättinen [Fri, 12 Aug 2011 19:52:42 +0000 (22:52 +0300)]
Pause button removed from ClocksWidget
Heli Hyvättinen [Fri, 12 Aug 2011 19:36:01 +0000 (22:36 +0300)]
All clock texts visible
No more black on black. Set a white foregroundcolor in a stylesheet
Heli Hyvättinen [Fri, 12 Aug 2011 19:24:01 +0000 (22:24 +0300)]
AClocksWidgets' public slots usable trough WrappedClocksWidget
Heli Hyvättinen [Fri, 12 Aug 2011 16:28:10 +0000 (19:28 +0300)]
Coopied packaging files from Maemo version
...and made a proper README stub
Heli Hyvättinen [Fri, 12 Aug 2011 16:16:02 +0000 (19:16 +0300)]
WrappedChessClocksWidget almost working
Some texts are black on black.
Pause button needs to be moved to the bar below.
Had to change ClocksWidget to react to MousePressEvents instead of
MouseReleaseEvents, as the latter were not received at all.
Heli Hyvättinen [Fri, 12 Aug 2011 14:39:06 +0000 (17:39 +0300)]
WrappedClocksWidget now accepted by QML
Still black, though.
Gave up on the plugin, introducing to QML from main()
Heli Hyvättinen [Thu, 11 Aug 2011 21:32:38 +0000 (00:32 +0300)]
compiles again...
but is all black...
Heli Hyvättinen [Thu, 11 Aug 2011 21:11:12 +0000 (00:11 +0300)]
Attempt to wrrap ClocksWidget for use in QML
Managed to create a plugin, but not to use it.
Heli Hyvättinen [Thu, 11 Aug 2011 12:02:59 +0000 (15:02 +0300)]
Added copyright and license info to QML files
Heli Hyvättinen [Wed, 10 Aug 2011 13:13:04 +0000 (16:13 +0300)]
"Start game" now opens a stub clocks page
Heli Hyvättinen [Wed, 10 Aug 2011 10:18:11 +0000 (13:18 +0300)]
Equal times works
In the new game dialog, when equal times is selected, black values
cannot be directly changed and are set to same and change with the white
values.
Heli Hyvättinen [Wed, 10 Aug 2011 08:51:32 +0000 (11:51 +0300)]
Additional time and turns per addition only show up when needed
..in the new game dialog
Heli Hyvättinen [Wed, 10 Aug 2011 08:47:27 +0000 (11:47 +0300)]
Working choose time dialog
Heli Hyvättinen [Sun, 7 Aug 2011 19:17:23 +0000 (22:17 +0300)]
Miscellanous changes
Heli Hyvättinen [Sun, 7 Aug 2011 17:16:07 +0000 (20:16 +0300)]
Opens a stub about page
Heli Hyvättinen [Sun, 7 Aug 2011 16:43:33 +0000 (19:43 +0300)]
Testing ways to get user input
Looks wild...
Heli Hyvättinen [Sun, 7 Aug 2011 14:53:54 +0000 (17:53 +0300)]
Uses inverted theme (black background)
Heli Hyvättinen [Sat, 6 Aug 2011 19:03:33 +0000 (22:03 +0300)]
New game dialog shows some more texts now
Still does nothing.
Heli Hyvättinen [Fri, 5 Aug 2011 22:02:41 +0000 (01:02 +0300)]
Black and white crowns in new game dialog
Heli Hyvättinen [Fri, 5 Aug 2011 21:56:55 +0000 (00:56 +0300)]
New game dialog: Ok button -> Start game button
Heli Hyvättinen [Fri, 5 Aug 2011 21:50:55 +0000 (00:50 +0300)]
New game dialog stub knows its game mode
Heli Hyvättinen [Fri, 5 Aug 2011 20:56:02 +0000 (23:56 +0300)]
Shows the logo image too
Heli Hyvättinen [Fri, 5 Aug 2011 20:32:51 +0000 (23:32 +0300)]
Now shows a list of game modes
Tapping one opens a stub dialog that does nothing.
Heli Hyvättinen [Sat, 30 Jul 2011 20:45:05 +0000 (23:45 +0300)]
New game dialog stub. with switch
Does not do anything. Most content missing.
Heli Hyvättinen [Sat, 30 Jul 2011 19:51:17 +0000 (22:51 +0300)]
Added stub menu items to QML
They do nothing.
Heli Hyvättinen [Sat, 30 Jul 2011 19:30:43 +0000 (22:30 +0300)]
Added old chessclockfiles back to the project
all header, source and qrc files exoect main.cpp
Heli Hyvättinen [Sat, 30 Jul 2011 19:27:20 +0000 (22:27 +0300)]
Preparing to use new Harmattan project as base
Added all files from a new Harmattan chessclock project and renamed
name-conflicting files with .old
Heli Hyvättinen [Thu, 14 Jul 2011 18:04:41 +0000 (21:04 +0300)]
App is now fullscreen
Got rid of the grey bar.
Heli Hyvättinen [Thu, 14 Jul 2011 18:04:03 +0000 (21:04 +0300)]
Added generated desktop file
Heli Hyvättinen [Thu, 14 Jul 2011 18:03:05 +0000 (21:03 +0300)]
Added debian files for harmattan
Heli Hyvättinen [Fri, 4 Feb 2011 12:32:26 +0000 (14:32 +0200)]
Updated the web pages
Heli Hyvättinen [Fri, 29 Oct 2010 16:39:12 +0000 (19:39 +0300)]
Fixed an eror in the web pages
Heli Hyvättinen [Thu, 14 Oct 2010 16:33:10 +0000 (19:33 +0300)]
Updated the web pages
Arto Hyvättinen [Tue, 12 Oct 2010 19:15:52 +0000 (22:15 +0300)]
Screen will turn black after 30 min
API doc updated
Heli Hyvättinen [Mon, 11 Oct 2010 15:27:03 +0000 (18:27 +0300)]
Added game pausing when the application is minimized
Heli Hyvättinen [Sat, 2 Oct 2010 13:50:08 +0000 (16:50 +0300)]
Updated the web pages
Arto Hyvättinen [Thu, 30 Sep 2010 15:51:22 +0000 (18:51 +0300)]
Fixed keepScreenLit(true) after black pause
Arto Hyvättinen [Mon, 27 Sep 2010 15:31:41 +0000 (18:31 +0300)]
API documentation updated
Arto Hyvättinen [Fri, 17 Sep 2010 19:59:42 +0000 (22:59 +0300)]
Added some fun event filtering to grab pause and welcome message clicks