chessclock
12 years agoAdded build dependency to applauncherd-dev and pkg-config v1.9.1
Heli Hyvättinen [Thu, 13 Oct 2011 09:42:41 +0000 (12:42 +0300)]
Added build dependency to applauncherd-dev and pkg-config

Needed for MDeclarativeCache

12 years agoUpped version number to 1.9.1
Heli Hyvättinen [Tue, 11 Oct 2011 19:59:51 +0000 (22:59 +0300)]
Upped version number to 1.9.1

Also upped QML Chessclocks version number to 1.1.
Added copyright info to the settings class files.
Commented out qDebugs from the settings.cpp.
Removed .svg launcher icon from project as .png is used anyway.

12 years agoPause button hidden at start of all games
Heli Hyvättinen [Tue, 11 Oct 2011 18:24:52 +0000 (21:24 +0300)]
Pause button hidden at start of all games

Was only hidden at the start of the first game before (a bug).

12 years agoMerge branch 'pauseimprove' into harmattan
Heli Hyvättinen [Tue, 11 Oct 2011 18:14:39 +0000 (21:14 +0300)]
Merge branch 'pauseimprove' into harmattan

12 years agoMerge branch 'startgamehelp' into harmattan
Heli Hyvättinen [Tue, 11 Oct 2011 18:14:13 +0000 (21:14 +0300)]
Merge branch 'startgamehelp' into harmattan

12 years agoMerge branch 'justbuttons' into harmattan
Heli Hyvättinen [Tue, 11 Oct 2011 18:13:53 +0000 (21:13 +0300)]
Merge branch 'justbuttons' into harmattan

12 years agoUses boost
Heli Hyvättinen [Mon, 10 Oct 2011 18:15:59 +0000 (21:15 +0300)]
Uses boost

Uses MDeclarativeCache boost now. Took roughly 3 seconds away from
startup time!

12 years agoDetection of application deactivation now done from QML
Heli Hyvättinen [Fri, 7 Oct 2011 14:56:10 +0000 (17:56 +0300)]
Detection of application deactivation now done from QML

12 years agoShows and hides pause button correctly
Heli Hyvättinen [Fri, 7 Oct 2011 14:51:56 +0000 (17:51 +0300)]
Shows and hides pause button correctly

Also when the game is paused because of backgrounding the app.
Pause button not shown before the game starts.

12 years agoPause button hidden when game paused
Heli Hyvättinen [Fri, 7 Oct 2011 11:30:37 +0000 (14:30 +0300)]
Pause button hidden when game paused

12 years agoStart help now shows all text.
Heli Hyvättinen [Fri, 7 Oct 2011 10:45:58 +0000 (13:45 +0300)]
Start help now shows all text.

"Then touch to end turn." now visible.

12 years agoFixed dialog button sizes
Heli Hyvättinen [Fri, 7 Oct 2011 10:37:23 +0000 (13:37 +0300)]
Fixed dialog button sizes

Using width together with anchors so a bit risky. But works now.

12 years agoTimes and turns in dialog now buttons, but black buttons smaller
Heli Hyvättinen [Fri, 7 Oct 2011 10:19:59 +0000 (13:19 +0300)]
Times and turns in dialog now buttons, but black buttons smaller

12 years agoInitial time chabged to buttons
Heli Hyvättinen [Thu, 6 Oct 2011 17:06:46 +0000 (20:06 +0300)]
Initial time chabged to buttons

Solves the "needs two clicks" bug.

12 years agoMerge branch 'settings' into harmattan
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

12 years agoAdded Aegis Manifest to git
Heli Hyvättinen [Wed, 5 Oct 2011 19:29:53 +0000 (22:29 +0300)]
Added Aegis Manifest to git

12 years agoReads the settings right
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...

12 years agoSaves the settings, but does not read them.
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.

12 years agoThe dialogs start with the current value
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...

12 years agoUsing QTime for saving the time settings
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.

12 years agoSettings does not work
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.

12 years agoUsing Settings frim QML - does not work
Heli Hyvättinen [Fri, 30 Sep 2011 18:12:25 +0000 (21:12 +0300)]
Using Settings frim QML - does not work

12 years agoWork towards using the Settings class from QML
Heli Hyvättinen [Fri, 30 Sep 2011 17:26:27 +0000 (20:26 +0300)]
Work towards using the Settings class from QML

Not ready.

12 years agoAdded functionality to Settings
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.

12 years agoInterface for Settings done, almost no functionality yet
Heli Hyvättinen [Wed, 28 Sep 2011 18:39:13 +0000 (21:39 +0300)]
Interface for Settings done, almost no functionality yet

12 years agoPackaging changes for release v1.9.0-real
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.

12 years agoRemoved more unused C++ files v1.9.0
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

12 years agoRemoved the unused pause button image from qrc
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

12 years agoRemoved unused C++ files
Heli Hyvättinen [Wed, 31 Aug 2011 15:48:08 +0000 (18:48 +0300)]
Removed unused C++ files

These were replaced by QML

12 years agoVersion set to 1.9.0
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.

12 years agoMerge branch 'pauseatswipe' into harmattan
Heli Hyvättinen [Tue, 30 Aug 2011 16:08:25 +0000 (19:08 +0300)]
Merge branch 'pauseatswipe' into harmattan

12 years agoPause at swipeout works.
Heli Hyvättinen [Sat, 27 Aug 2011 19:43:20 +0000 (22:43 +0300)]
Pause at swipeout works.

12 years agoReache QML from C++, still not working
Heli Hyvättinen [Sat, 27 Aug 2011 18:12:37 +0000 (21:12 +0300)]
Reache QML from C++, still not working

12 years agoFailed attempt to change a QML property from C++
Heli Hyvättinen [Sat, 27 Aug 2011 17:28:35 +0000 (20:28 +0300)]
Failed attempt to change a QML property from C++

12 years agoAll game modes fit on main page without scrolling
Heli Hyvättinen [Sat, 27 Aug 2011 14:32:36 +0000 (17:32 +0300)]
All game modes fit on main page without scrolling

12 years agoPause label fully visible.
Heli Hyvättinen [Sat, 27 Aug 2011 10:51:24 +0000 (13:51 +0300)]
Pause label fully visible.

12 years agoWork towards pause on swipeout
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

12 years agoTurns per addtion tumblers start with the correct value
Heli Hyvättinen [Thu, 25 Aug 2011 14:55:00 +0000 (17:55 +0300)]
Turns per addtion tumblers start with the correct value

12 years agoTime dialog initialized with the current time before launch
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.

12 years agoPauses game before launching quit confirmation dialog
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.

12 years agoDefault initial time for first game 30 min for both
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

12 years agoInitial and additional times no longer default to all zero
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.

12 years agoAsks confirmation upon quitting the game
Heli Hyvättinen [Tue, 23 Aug 2011 19:06:14 +0000 (22:06 +0300)]
Asks confirmation upon quitting the game

12 years agoSingle instance works
Heli Hyvättinen [Tue, 23 Aug 2011 18:47:15 +0000 (21:47 +0300)]
Single instance works

12 years agoAdded correctly sized icon for application manager
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

12 years agoAdded desktop icon
Heli Hyvättinen [Tue, 23 Aug 2011 18:23:22 +0000 (21:23 +0300)]
Added desktop icon

12 years agoSettings class stub and test QML code using it
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.

12 years agoUses system pause icon
Heli Hyvättinen [Sat, 20 Aug 2011 05:53:41 +0000 (08:53 +0300)]
Uses system pause icon

12 years agoPause button in the middle of toolbar
Heli Hyvättinen [Sat, 20 Aug 2011 04:57:42 +0000 (07:57 +0300)]
Pause button in the middle of toolbar

12 years agoPause button no longer has buttonshape behind it
Heli Hyvättinen [Sat, 20 Aug 2011 04:39:22 +0000 (07:39 +0300)]
Pause button no longer has buttonshape behind it

12 years agoBack to previous page buttons now look as they should
Heli Hyvättinen [Sat, 20 Aug 2011 03:58:28 +0000 (06:58 +0300)]
Back to previous page buttons now look as they should

12 years agoFields of new game dialog page in nice columns
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.

12 years agoClocks now occupy full screen width
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).

12 years agoCrowns move according to equal times switch
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.

12 years agoBlack fields hidden when equal times in new game dialog
Heli Hyvättinen [Thu, 18 Aug 2011 17:56:33 +0000 (20:56 +0300)]
Black fields hidden when equal times in new game dialog

12 years agoUsable layout
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.

12 years agoNew game dialog is now a page
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.

12 years agoWork towards anchors based layout in new game dialog (sheet)
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.

12 years agoIf equal times selected using white times for both
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.

12 years agoUsing sheet instead of dialog for new game dialog
Heli Hyvättinen [Tue, 16 Aug 2011 20:28:23 +0000 (23:28 +0300)]
Using sheet instead of dialog for new game dialog

12 years agodesktop file fixed to show name as Chess Clock
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

12 years agoAdded missing Harmattan specific fields to control file
Heli Hyvättinen [Mon, 15 Aug 2011 19:04:00 +0000 (22:04 +0300)]
Added missing Harmattan specific fields to control file

12 years agoFixed black times & thumbler dialog for turns per addition
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.)

12 years agoAdded logo and text to about page
Heli Hyvättinen [Sat, 13 Aug 2011 19:12:44 +0000 (22:12 +0300)]
Added logo and text to about page

12 years agoDebhelper version dependency fixed in debian control file
Heli Hyvättinen [Sat, 13 Aug 2011 11:21:32 +0000 (14:21 +0300)]
Debhelper version dependency fixed in debian control file

12 years agoVisit web page (in menu) now works
Heli Hyvättinen [Sat, 13 Aug 2011 11:11:33 +0000 (14:11 +0300)]
Visit web page (in menu) now works

12 years agoMerge branch 'packaging' into QML
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

12 years agoRemoved some test code
Heli Hyvättinen [Sat, 13 Aug 2011 10:04:07 +0000 (13:04 +0300)]
Removed some test code

12 years agoUsing Normal Clock if bogus time control value from QML
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.

12 years agoNow starts the requested time control
Heli Hyvättinen [Sat, 13 Aug 2011 09:49:28 +0000 (12:49 +0300)]
Now starts the requested time control

12 years agoRemoved some obsolete files
Heli Hyvättinen [Sat, 13 Aug 2011 08:13:27 +0000 (11:13 +0300)]
Removed some obsolete files

12 years agoLocked to landscape
Heli Hyvättinen [Sat, 13 Aug 2011 07:47:33 +0000 (10:47 +0300)]
Locked to landscape

12 years agoNo longer segfaults when starting a second game
Heli Hyvättinen [Fri, 12 Aug 2011 21:25:45 +0000 (00:25 +0300)]
No longer segfaults when starting a second game

12 years agoTimes are now passed from dialog to ClocksWidget
Heli Hyvättinen [Fri, 12 Aug 2011 21:02:55 +0000 (00:02 +0300)]
Times are now passed from dialog to ClocksWidget

Segfaults.

12 years agoPause button in toolbar
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)

12 years agoPause button removed from ClocksWidget
Heli Hyvättinen [Fri, 12 Aug 2011 19:52:42 +0000 (22:52 +0300)]
Pause button removed from ClocksWidget

12 years agoAll clock texts visible
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

12 years agoAClocksWidgets' public slots usable trough WrappedClocksWidget
Heli Hyvättinen [Fri, 12 Aug 2011 19:24:01 +0000 (22:24 +0300)]
AClocksWidgets' public slots usable trough WrappedClocksWidget

12 years agoCoopied packaging files from Maemo version
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

12 years agoWrappedChessClocksWidget almost working
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.

12 years agoWrappedClocksWidget now accepted by QML
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()

12 years agocompiles again...
Heli Hyvättinen [Thu, 11 Aug 2011 21:32:38 +0000 (00:32 +0300)]
compiles again...

but is all black...

12 years agoAttempt to wrrap ClocksWidget for use in QML
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.

12 years agoAdded copyright and license info to QML files
Heli Hyvättinen [Thu, 11 Aug 2011 12:02:59 +0000 (15:02 +0300)]
Added copyright and license info to QML files

12 years ago"Start game" now opens a stub clocks page
Heli Hyvättinen [Wed, 10 Aug 2011 13:13:04 +0000 (16:13 +0300)]
"Start game" now opens a stub clocks page

12 years agoEqual times works
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.

12 years agoAdditional time and turns per addition only show up when needed
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

12 years agoWorking choose time dialog
Heli Hyvättinen [Wed, 10 Aug 2011 08:47:27 +0000 (11:47 +0300)]
Working choose time dialog

12 years agoMiscellanous changes
Heli Hyvättinen [Sun, 7 Aug 2011 19:17:23 +0000 (22:17 +0300)]
Miscellanous changes

12 years agoOpens a stub about page
Heli Hyvättinen [Sun, 7 Aug 2011 17:16:07 +0000 (20:16 +0300)]
Opens a stub about page

12 years agoTesting ways to get user input
Heli Hyvättinen [Sun, 7 Aug 2011 16:43:33 +0000 (19:43 +0300)]
Testing ways to get user input

Looks wild...

12 years agoUses inverted theme (black background)
Heli Hyvättinen [Sun, 7 Aug 2011 14:53:54 +0000 (17:53 +0300)]
Uses inverted theme (black background)

12 years agoNew game dialog shows some more texts now
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.

12 years agoBlack and white crowns in new game dialog
Heli Hyvättinen [Fri, 5 Aug 2011 22:02:41 +0000 (01:02 +0300)]
Black and white crowns in new game dialog

12 years agoNew game dialog: Ok button -> Start game button
Heli Hyvättinen [Fri, 5 Aug 2011 21:56:55 +0000 (00:56 +0300)]
New game dialog: Ok button -> Start game button

12 years agoNew game dialog stub knows its game mode
Heli Hyvättinen [Fri, 5 Aug 2011 21:50:55 +0000 (00:50 +0300)]
New game dialog stub knows its game mode

12 years agoShows the logo image too
Heli Hyvättinen [Fri, 5 Aug 2011 20:56:02 +0000 (23:56 +0300)]
Shows the logo image too

12 years agoNow shows a list of game modes
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.

12 years agoNew game dialog stub. with switch
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.

12 years agoAdded stub menu items to QML
Heli Hyvättinen [Sat, 30 Jul 2011 19:51:17 +0000 (22:51 +0300)]
Added stub menu items to QML

They do nothing.